public class MapColumnMetadata 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 |
---|
MapColumnMetadata(MapColumnMetadata from) |
MapColumnMetadata(MaterializedField schema)
Build a new map column from the field provided
|
MapColumnMetadata(String name,
TypeProtos.DataMode mode,
TupleSchema tupleSchema) |
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 |
isMap() |
appendContents, bind, emptySchema, expectedWidth, isEquivalent, parentTuple, schema, structureType, tupleSchema, typeString
childSchema, columnString, createColumnMetadata, dateTimeFormatter, decodeDefaultValue, defaultValue, dimensions, equals, equalsWithProperties, equalsWithProperties, escapeSpecialSymbols, expectedElementCount, format, isArray, isDict, isDynamic, 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 MapColumnMetadata(MaterializedField schema)
schema
- materialized field description of the mappublic MapColumnMetadata(MapColumnMetadata from)
public MapColumnMetadata(String name, TypeProtos.DataMode mode, TupleSchema tupleSchema)
public ColumnMetadata copy()
public ColumnMetadata cloneEmpty()
ColumnMetadata
public boolean isMap()
isMap
in interface ColumnMetadata
isMap
in class AbstractColumnMetadata
protected String internalTypeString()
AbstractMapColumnMetadata
internalTypeString
in class AbstractMapColumnMetadata
Copyright © 1970 The Apache Software Foundation. All rights reserved.