T - The type of the record to be deserialized.public class AdaptiveSpanningRecordDeserializer<T extends IOReadableWritable> extends Object implements RecordDeserializer<T>
RecordDeserializer.DeserializationResult| Constructor and Description |
|---|
AdaptiveSpanningRecordDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
RecordDeserializer.DeserializationResult |
getNextRecord(T target) |
boolean |
hasUnfinishedData() |
void |
setNextMemorySegment(MemorySegment segment,
int numBytes) |
public void setNextMemorySegment(MemorySegment segment, int numBytes) throws IOException
setNextMemorySegment in interface RecordDeserializer<T extends IOReadableWritable>IOExceptionpublic RecordDeserializer.DeserializationResult getNextRecord(T target) throws IOException
getNextRecord in interface RecordDeserializer<T extends IOReadableWritable>IOExceptionpublic void clear()
clear in interface RecordDeserializer<T extends IOReadableWritable>public boolean hasUnfinishedData()
hasUnfinishedData in interface RecordDeserializer<T extends IOReadableWritable>Copyright © 2015 The Apache Software Foundation. All rights reserved.