public interface RecordDeserializer<T extends org.apache.flink.core.io.IOReadableWritable>
| Modifier and Type | Interface and Description |
|---|---|
static class |
RecordDeserializer.DeserializationResult |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Buffer |
getCurrentBuffer() |
RecordDeserializer.DeserializationResult |
getNextRecord(T target) |
boolean |
hasUnfinishedData() |
void |
setNextBuffer(Buffer buffer) |
void |
setNextMemorySegment(org.apache.flink.core.memory.MemorySegment segment,
int numBytes) |
void |
setReporter(AccumulatorRegistry.Reporter reporter)
Setter for the reporter, e.g.
|
RecordDeserializer.DeserializationResult getNextRecord(T target) throws IOException
IOExceptionvoid setNextMemorySegment(org.apache.flink.core.memory.MemorySegment segment,
int numBytes)
throws IOException
IOExceptionvoid setNextBuffer(Buffer buffer) throws IOException
IOExceptionBuffer getCurrentBuffer()
void clear()
boolean hasUnfinishedData()
void setReporter(AccumulatorRegistry.Reporter reporter)
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.