Interface RecordWiseFileCompactor.Reader<T>
-
- Type Parameters:
T
- Thy type of the records that is read.
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DecoderBasedReader
,InputFormatBasedReader
- Enclosing class:
- RecordWiseFileCompactor<IN>
public static interface RecordWiseFileCompactor.Reader<T> extends AutoCloseable
The reader that reads record from the compacting files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RecordWiseFileCompactor.Reader.Factory<T>
Factory forRecordWiseFileCompactor.Reader
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
read()
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
read
T read() throws IOException
- Returns:
- The next record, or null if no more available.
- Throws:
IOException
-
-