Class DictColumnMetadata
java.lang.Object
org.apache.drill.exec.record.metadata.AbstractPropertied
org.apache.drill.exec.record.metadata.AbstractColumnMetadata
org.apache.drill.exec.record.metadata.AbstractMapColumnMetadata
org.apache.drill.exec.record.metadata.DictColumnMetadata
- All Implemented Interfaces:
ColumnMetadata,Propertied
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.record.metadata.ColumnMetadata
ColumnMetadata.StructureType -
Field Summary
Fields inherited from class org.apache.drill.exec.record.metadata.AbstractMapColumnMetadata
parentTuple, schemaFields inherited from class org.apache.drill.exec.record.metadata.AbstractColumnMetadata
mode, name, precision, scale, typeFields inherited from interface org.apache.drill.exec.record.metadata.ColumnMetadata
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_SUFFIXFields inherited from interface org.apache.drill.exec.record.metadata.Propertied
DRILL_PROP_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionDictColumnMetadata(String name, TypeProtos.DataMode mode) DictColumnMetadata(MaterializedField schema) Build a new dict column from the field provided -
Method Summary
Methods inherited from class org.apache.drill.exec.record.metadata.AbstractMapColumnMetadata
appendContents, bind, emptySchema, expectedWidth, isEquivalent, parentTuple, schema, tupleSchema, typeStringMethods inherited from class org.apache.drill.exec.record.metadata.AbstractColumnMetadata
childSchema, columnString, createColumnMetadata, dateTimeFormatter, decodeDefaultValue, defaultValue, dimensions, equals, equalsWithProperties, equalsWithProperties, escapeSpecialSymbols, expectedElementCount, format, isArray, isDynamic, isMap, isMultiList, isNullable, isScalar, isVariableWidth, isVariant, majorType, mode, name, precision, properties, scale, setDefaultValue, setExpectedElementCount, setExpectedWidth, setFormat, toString, type, valueFromString, valueToString, variantSchemaMethods inherited from class org.apache.drill.exec.record.metadata.AbstractPropertied
booleanProperty, booleanProperty, hashCode, hasProperties, intProperty, intProperty, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setPropertyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.drill.exec.record.metadata.Propertied
booleanProperty, booleanProperty, hasProperties, intProperty, intProperty, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setProperty
-
Constructor Details
-
DictColumnMetadata
Build a new dict column from the field provided- Parameters:
schema- materialized field description of the map
-
DictColumnMetadata
-
DictColumnMetadata
-
-
Method Details
-
keyColumnMetadata
-
valueColumnMetadata
-
copy
-
cloneEmpty
Description copied from interface:ColumnMetadataCreate an empty version of this column. If the column is a scalar, produces a simple copy. If a map, produces a clone without child columns.- Returns:
- empty clone of this column
-
isDict
public boolean isDict()- Specified by:
isDictin interfaceColumnMetadata- Overrides:
isDictin classAbstractColumnMetadata
-
internalTypeString
Description copied from class:AbstractMapColumnMetadataReturns specific type string representation of the type that extends this class.- Specified by:
internalTypeStringin classAbstractMapColumnMetadata- Returns:
- type string representation
-
structureType
- Specified by:
structureTypein interfaceColumnMetadata- Overrides:
structureTypein classAbstractMapColumnMetadata
-