Class LineBatch

java.lang.Object
com.stardog.stark.io.LineBatch

public class LineBatch extends Object
Batch of consecutive lines read from a stream. Each batch contains the line number from the stream where the batch starts.
  • Field Details

    • EMPTY

      public static LineBatch EMPTY
      An empty batch with no lines and -1 line number.
  • Constructor Details

    • LineBatch

      public LineBatch(List<String> theLines, long theLineNumber)
  • Method Details

    • getLines

      public List<String> getLines()
      The list of lines.
    • getLineNumber

      public long getLineNumber()
      Line number for the fist line in the batch.