public class StringArrayFieldWriter extends Object implements FieldWriter
StringFieldWriter, but reads arrays from a ColumnValueSelector instead of reading from
a DimensionSelector.
See StringFieldReader for format details.| Constructor and Description |
|---|
StringArrayFieldWriter(ColumnValueSelector<List<String>> 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 StringArrayFieldWriter(ColumnValueSelector<List<String>> 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–2023 The Apache Software Foundation. All rights reserved.