public class DictColumnMetadata extends AbstractMapColumnMetadata
ColumnMetadata.StructureType
parentTuple, schema
mode, name, precision, scale, type
BLANK_AS_NULL, BLANK_AS_PROP, BLANK_AS_ZERO, DEFAULT_ARRAY_SIZE, DEFAULT_VALUE_PROP, EXCLUDE_FROM_WILDCARD, EXPECTED_CARDINALITY_PROP, EXPECTED_WIDTH_PROP, FORMAT_PROP, IMPLICIT_COL_TYPE, IMPLICIT_FILENAME, IMPLICIT_FILEPATH, IMPLICIT_FQN, IMPLICIT_PARTITION_PREFIX, IMPLICIT_SUFFIX
DRILL_PROP_PREFIX
Constructor and Description |
---|
DictColumnMetadata(DictColumnMetadata from) |
DictColumnMetadata(MaterializedField schema)
Build a new dict column from the field provided
|
DictColumnMetadata(String name,
TypeProtos.DataMode mode) |
Modifier and Type | Method and Description |
---|---|
ColumnMetadata |
cloneEmpty()
Create an empty version of this column.
|
ColumnMetadata |
copy() |
protected String |
internalTypeString()
Returns specific type string representation of the type that extends this class.
|
boolean |
isDict() |
ColumnMetadata |
keyColumnMetadata() |
ColumnMetadata.StructureType |
structureType() |
ColumnMetadata |
valueColumnMetadata() |
appendContents, bind, emptySchema, expectedWidth, isEquivalent, parentTuple, schema, tupleSchema, typeString
childSchema, columnString, createColumnMetadata, dateTimeFormatter, decodeDefaultValue, defaultValue, dimensions, equals, equalsWithProperties, equalsWithProperties, escapeSpecialSymbols, expectedElementCount, format, isArray, isDynamic, isMap, isMultiList, isNullable, isVariableWidth, isVariant, majorType, mode, name, precision, properties, scale, setDefaultValue, setExpectedElementCount, setExpectedWidth, setFormat, toString, type, valueFromString, valueToString, variantSchema
booleanProperty, booleanProperty, hashCode, hasProperties, intProperty, intProperty, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setProperty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
booleanProperty, booleanProperty, hasProperties, intProperty, intProperty, pluginPrefix, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setProperty
public DictColumnMetadata(MaterializedField schema)
schema
- materialized field description of the mappublic DictColumnMetadata(String name, TypeProtos.DataMode mode)
public DictColumnMetadata(DictColumnMetadata from)
public ColumnMetadata keyColumnMetadata()
public ColumnMetadata valueColumnMetadata()
public ColumnMetadata copy()
public ColumnMetadata cloneEmpty()
ColumnMetadata
public boolean isDict()
isDict
in interface ColumnMetadata
isDict
in class AbstractColumnMetadata
protected String internalTypeString()
AbstractMapColumnMetadata
internalTypeString
in class AbstractMapColumnMetadata
public ColumnMetadata.StructureType structureType()
structureType
in interface ColumnMetadata
structureType
in class AbstractMapColumnMetadata
Copyright © 1970 The Apache Software Foundation. All rights reserved.