Package com.stardog.stark.io
Class LineBatch
- java.lang.Object
-
- com.stardog.stark.io.LineBatch
-
public class LineBatch extends java.lang.Object
Batch of consecutive lines read from a stream. Each batch contains the line number from the stream where the batch starts.
-
-
Constructor Summary
Constructors Constructor Description LineBatch(java.util.List<java.lang.String> theLines, long theLineNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLineNumber()
Line number for the fist line in the batch.java.util.List<java.lang.String>
getLines()
The list of lines.
-
-
-
Field Detail
-
EMPTY
public static LineBatch EMPTY
An empty batch with no lines and -1 line number.
-
-