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, variant
copy, isProjected, nullable, schema, setNull, setObject, type
ValueType keyType()
ObjectType valueType()
ScalarWriter keyWriter()
ObjectWriter valueWriter()
Copyright © 1970 The Apache Software Foundation. All rights reserved.