Class IntermediateSegmentRecordReader
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.readers.IntermediateSegmentRecordReader
-
- All Implemented Interfaces:
Closeable,Serializable,AutoCloseable,RecordReader
public class IntermediateSegmentRecordReader extends Object implements RecordReader
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntermediateSegmentRecordReader(IntermediateSegment intermediateSegment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()IntermediateSegmentgetIntermediateSegment()booleanhasNext()voidinit(File dataFile, Set<String> fieldsToRead, RecordReaderConfig recordReaderConfig)GenericRownext()GenericRownext(GenericRow reuse)voidrewind()
-
-
-
Constructor Detail
-
IntermediateSegmentRecordReader
public IntermediateSegmentRecordReader(IntermediateSegment intermediateSegment)
-
-
Method Detail
-
init
public void init(File dataFile, Set<String> fieldsToRead, @Nullable RecordReaderConfig recordReaderConfig) throws IOException
- Specified by:
initin interfaceRecordReader- Throws:
IOException
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceRecordReader
-
next
public GenericRow next() throws IOException
- Specified by:
nextin interfaceRecordReader- Throws:
IOException
-
next
public GenericRow next(GenericRow reuse) throws IOException
- Specified by:
nextin interfaceRecordReader- Throws:
IOException
-
rewind
public void rewind() throws IOException- Specified by:
rewindin interfaceRecordReader- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getIntermediateSegment
public IntermediateSegment getIntermediateSegment()
-
-