Package com.stardog.stark.io

# 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 Summary

  Fields
  Modifier and Type
  Field
  Description
  `static LineBatch`
  `EMPTY`
  An empty batch with no lines and -1 line number.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LineBatch(List<String> theLines, long theLineNumber)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `getLineNumber()`
  Line number for the fist line in the batch.
  `List<String>`
  `getLines()`
  The list of lines.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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.