public interface RecordSerializer<T extends IOReadableWritable>
| Modifier and Type | Interface and Description |
|---|---|
static class |
RecordSerializer.SerializationResult |
| Modifier and Type | Method and Description |
|---|---|
RecordSerializer.SerializationResult |
addRecord(T record) |
void |
clear() |
Buffer |
getCurrentBuffer() |
boolean |
hasData() |
RecordSerializer.SerializationResult |
setNextBuffer(Buffer buffer) |
RecordSerializer.SerializationResult addRecord(T record) throws IOException
IOExceptionRecordSerializer.SerializationResult setNextBuffer(Buffer buffer) throws IOException
IOExceptionBuffer getCurrentBuffer()
void clear()
boolean hasData()
Copyright © 2014 The Apache Software Foundation. All rights reserved.