public abstract class AbstractMapColumnMetadata extends AbstractColumnMetadata
ColumnMetadata.StructureType
Modifier and Type | Field and Description |
---|---|
protected TupleMetadata |
parentTuple |
protected TupleSchema |
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 |
---|
AbstractMapColumnMetadata(AbstractMapColumnMetadata from) |
AbstractMapColumnMetadata(MaterializedField schema)
Build a new map column from the field provided
|
AbstractMapColumnMetadata(String name,
TypeProtos.MinorType type,
TypeProtos.DataMode mode,
TupleSchema schema) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendContents(StringBuilder buf) |
void |
bind(TupleMetadata parentTuple) |
MaterializedField |
emptySchema() |
int |
expectedWidth()
Get the expected width for a column.
|
protected abstract String |
internalTypeString()
Returns specific type string representation of the type that extends this class.
|
boolean |
isEquivalent(ColumnMetadata o)
Report whether one column is equivalent to another.
|
TupleMetadata |
parentTuple() |
MaterializedField |
schema() |
ColumnMetadata.StructureType |
structureType() |
TupleMetadata |
tupleSchema()
Schema for TUPLE columns.
|
String |
typeString()
Converts type metadata into string representation
accepted by the table schema parser.
|
childSchema, columnString, createColumnMetadata, dateTimeFormatter, decodeDefaultValue, defaultValue, dimensions, equals, equalsWithProperties, equalsWithProperties, escapeSpecialSymbols, expectedElementCount, format, isArray, isDict, 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
cloneEmpty, copy
booleanProperty, booleanProperty, hasProperties, intProperty, intProperty, pluginPrefix, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setProperty
protected TupleMetadata parentTuple
protected final TupleSchema schema
public AbstractMapColumnMetadata(MaterializedField schema)
schema
- materialized field description of the mappublic AbstractMapColumnMetadata(AbstractMapColumnMetadata from)
public AbstractMapColumnMetadata(String name, TypeProtos.MinorType type, TypeProtos.DataMode mode, TupleSchema schema)
public void bind(TupleMetadata parentTuple)
bind
in interface ColumnMetadata
bind
in class AbstractColumnMetadata
public ColumnMetadata.StructureType structureType()
public TupleMetadata tupleSchema()
ColumnMetadata
tupleSchema
in interface ColumnMetadata
tupleSchema
in class AbstractColumnMetadata
public int expectedWidth()
ColumnMetadata
expectedWidth
in interface ColumnMetadata
expectedWidth
in class AbstractColumnMetadata
public TupleMetadata parentTuple()
public MaterializedField schema()
public MaterializedField emptySchema()
public String typeString()
ColumnMetadata
typeString
in interface ColumnMetadata
typeString
in class AbstractColumnMetadata
protected abstract String internalTypeString()
protected void appendContents(StringBuilder buf)
appendContents
in class AbstractColumnMetadata
public boolean isEquivalent(ColumnMetadata o)
ColumnMetadata
isEquivalent
in interface ColumnMetadata
isEquivalent
in class AbstractColumnMetadata
Copyright © 1970 The Apache Software Foundation. All rights reserved.