public interface RecordDeserializer<T extends org.apache.flink.core.io.IOReadableWritable>
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
RecordDeserializer.DeserializationResult
Status of the deserialization result.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
RecordDeserializer.DeserializationResult |
getNextRecord(T target) |
org.apache.flink.util.CloseableIterator<Buffer> |
getUnconsumedBuffer()
Gets the unconsumed buffer which needs to be persisted in unaligned checkpoint scenario.
|
void |
setNextBuffer(Buffer buffer) |
RecordDeserializer.DeserializationResult getNextRecord(T target) throws IOException
IOExceptionvoid setNextBuffer(Buffer buffer) throws IOException
IOExceptionvoid clear()
org.apache.flink.util.CloseableIterator<Buffer> getUnconsumedBuffer() throws IOException
Note that the unconsumed buffer might be null if the whole buffer was already consumed before and there are no partial length or data remained in the end of buffer.
IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.