public class SerializablePairLongStringBufferStore extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SerializablePairLongStringBufferStore.TransferredBuffer
contains serialized data that is compressed and delta-encoded (Long)
It's ready to be transferred to a
WritableByteChannel |
| Constructor and Description |
|---|
SerializablePairLongStringBufferStore(SerializedStorage<SerializablePairLongString> serializedStorage) |
| Modifier and Type | Method and Description |
|---|---|
SerializablePairLongStringColumnHeader |
createColumnHeader() |
IOIterator<SerializablePairLongString> |
iterator() |
void |
store(SerializablePairLongString pairLongString) |
SerializablePairLongStringBufferStore.TransferredBuffer |
transferToRowWriter(ByteBufferProvider byteBufferProvider,
SegmentWriteOutMedium segmentWriteOutMedium)
each call transfers the temporary buffer into an encoded, block-compessed buffer of the segment.
|
public SerializablePairLongStringBufferStore(SerializedStorage<SerializablePairLongString> serializedStorage)
public void store(@Nullable SerializablePairLongString pairLongString) throws IOException
IOExceptionpublic SerializablePairLongStringBufferStore.TransferredBuffer transferToRowWriter(ByteBufferProvider byteBufferProvider, SegmentWriteOutMedium segmentWriteOutMedium) throws IOException
WritableByteChannelbyteBufferProvider - - provides a ByteBuffer used for block compressed encodingsegmentWriteOutMedium - - used to create temporary storageIOException@Nonnull public SerializablePairLongStringColumnHeader createColumnHeader()
public IOIterator<SerializablePairLongString> iterator() throws IOException
IOExceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.