public class ArrowInputSplit extends FileInputSplit<java.lang.Object>
FileInputSplit.InputSplitOpenThread
enumerateNestedFiles, MAX_SPLIT_SIZE_DISCREPANCY, minSplitSize, numSplits, openTimeout, splitLength, splitStart, stream
Constructor and Description |
---|
ArrowInputSplit(int num,
Path file,
long start,
long length,
java.lang.String[] hosts) |
ArrowInputSplit(int num,
Path file,
java.lang.String[] hosts) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
nextRecord(java.lang.Object reuse)
Reads the next record from the input.
|
boolean |
reachedEnd()
Method used to check if the end of the input is reached.
|
close, configure, equals, getLength, getMinSplitSize, getNumSplits, getPath, getStart, hashCode, isEnumerateNestedFiles, open, open, setEnumerateNestedFiles, setMinSplitSize, setNumSplits, toString
getHostnames, getSplitNumber
public ArrowInputSplit(int num, Path file, long start, long length, java.lang.String[] hosts)
public ArrowInputSplit(int num, Path file, java.lang.String[] hosts)
public boolean reachedEnd() throws java.io.IOException
InputSplit
When this method is called, the input format it guaranteed to be opened.
java.io.IOException
- Thrown, if an I/O error occurred.public java.lang.Object nextRecord(java.lang.Object reuse) throws java.io.IOException
InputSplit
When this method is called, the input format it guaranteed to be opened.
reuse
- Object that may be reused.java.io.IOException
- Thrown, if an I/O error occurred.