public interface DictWriter extends ArrayWriter
ColumnWriter.type() returns ARRAY and ArrayWriter.entryType() returns TUPLE.
To know whether it is a Dict logically, one may use schema().isDict().DictEntryWriter,
ObjectDictWriter,
DictVector| Modifier and Type | Method and Description |
|---|---|
ValueType |
keyType()
Returns scalar type of the key field.
|
ScalarWriter |
keyWriter()
Returns the writer associated with key field.
|
ObjectType |
valueType()
Returns object type of the value field.
|
ObjectWriter |
valueWriter()
Returns the writer associated with value field.
|
array, dict, entry, entryType, save, scalar, setNull, size, tuple, variantcopy, isProjected, nullable, schema, setNull, setObject, typeValueType keyType()
ObjectType valueType()
ScalarWriter keyWriter()
ObjectWriter valueWriter()
Copyright © 2021 The Apache Software Foundation. All rights reserved.