public class LongFieldWriter extends Object implements FieldWriter
BaseLongColumnValueSelector and writes individual values into rframe rows.
See LongFieldReader for format details.| Modifier and Type | Field and Description |
|---|---|
static byte |
NOT_NULL_BYTE |
static byte |
NULL_BYTE |
static int |
SIZE |
| Constructor and Description |
|---|
LongFieldWriter(BaseLongColumnValueSelector selector) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases resources held by this writer.
|
long |
writeTo(org.apache.datasketches.memory.WritableMemory memory,
long position,
long maxSize)
Writes the current selection at the given memory position.
|
public static final int SIZE
public static final byte NULL_BYTE
public static final byte NOT_NULL_BYTE
public LongFieldWriter(BaseLongColumnValueSelector selector)
public long writeTo(org.apache.datasketches.memory.WritableMemory memory,
long position,
long maxSize)
FieldWriterwriteTo in interface FieldWritermemory - memory region in little-endian orderposition - position to writemaxSize - maximum number of bytes to writepublic void close()
FieldWriterclose in interface Closeableclose in interface AutoCloseableclose in interface FieldWriterCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.