public class StringFieldWriter extends Object implements FieldWriter
DimensionSelector and writes to rframe rows.
See StringFieldReader for format details.| Modifier and Type | Field and Description |
|---|---|
static byte |
NOT_NULL_BYTE |
static byte |
NULL_BYTE |
static byte |
ROW_TERMINATOR |
static byte |
VALUE_TERMINATOR |
| Constructor and Description |
|---|
StringFieldWriter(DimensionSelector 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 byte VALUE_TERMINATOR
public static final byte ROW_TERMINATOR
public static final byte NULL_BYTE
public static final byte NOT_NULL_BYTE
public StringFieldWriter(DimensionSelector 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.