public abstract class AbstractMapColumnMetadata extends AbstractColumnMetadata
ColumnMetadata.StructureType| Modifier and Type | Field and Description |
|---|---|
protected TupleMetadata |
parentTuple |
protected TupleSchema |
schema |
mode, name, precision, scale, typeBLANK_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_SUFFIXDRILL_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, variantSchemabooleanProperty, booleanProperty, hashCode, hasProperties, intProperty, intProperty, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitcloneEmpty, copybooleanProperty, booleanProperty, hasProperties, intProperty, intProperty, pluginPrefix, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setPropertyprotected 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 ColumnMetadatabind in class AbstractColumnMetadatapublic ColumnMetadata.StructureType structureType()
public TupleMetadata tupleSchema()
ColumnMetadatatupleSchema in interface ColumnMetadatatupleSchema in class AbstractColumnMetadatapublic int expectedWidth()
ColumnMetadataexpectedWidth in interface ColumnMetadataexpectedWidth in class AbstractColumnMetadatapublic TupleMetadata parentTuple()
public MaterializedField schema()
public MaterializedField emptySchema()
public String typeString()
ColumnMetadatatypeString in interface ColumnMetadatatypeString in class AbstractColumnMetadataprotected abstract String internalTypeString()
protected void appendContents(StringBuilder buf)
appendContents in class AbstractColumnMetadatapublic boolean isEquivalent(ColumnMetadata o)
ColumnMetadataisEquivalent in interface ColumnMetadataisEquivalent in class AbstractColumnMetadataCopyright © 2021 The Apache Software Foundation. All rights reserved.