public class RepeatedListColumnMetadata extends AbstractColumnMetadata
ColumnMetadata.StructureType
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN_DIMENSIONS
Indicates we don't know the number of dimensions.
|
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 |
---|
RepeatedListColumnMetadata(MaterializedField field) |
RepeatedListColumnMetadata(String name,
ColumnMetadata childSchema) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendContents(StringBuilder buf) |
ColumnMetadata |
childSchema()
Schema of inner dimension for MULTI_ARRAY columns.
|
void |
childSchema(ColumnMetadata childMetadata) |
ColumnMetadata |
cloneEmpty()
Create an empty version of this column.
|
ColumnMetadata |
copy() |
int |
dimensions() |
MaterializedField |
emptySchema() |
boolean |
isEquivalent(ColumnMetadata o)
Report whether one column is equivalent to another.
|
boolean |
isMultiList()
Determine if the schema represents a column with a LIST type with
UNION elements.
|
MaterializedField |
schema() |
ColumnMetadata.StructureType |
structureType() |
String |
typeString()
Converts type metadata into string representation
accepted by the table schema parser.
|
bind, columnString, createColumnMetadata, dateTimeFormatter, decodeDefaultValue, defaultValue, equals, equalsWithProperties, equalsWithProperties, escapeSpecialSymbols, expectedElementCount, expectedWidth, format, isArray, isDict, isDynamic, isMap, isNullable, isVariableWidth, isVariant, majorType, mode, name, precision, properties, scale, setDefaultValue, setExpectedElementCount, setExpectedWidth, setFormat, toString, tupleSchema, 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 static final int UNKNOWN_DIMENSIONS
public RepeatedListColumnMetadata(MaterializedField field)
public RepeatedListColumnMetadata(String name, ColumnMetadata childSchema)
public void childSchema(ColumnMetadata childMetadata)
public ColumnMetadata.StructureType structureType()
public boolean isMultiList()
ColumnMetadata
isMultiList
in interface ColumnMetadata
isMultiList
in class AbstractColumnMetadata
public MaterializedField schema()
public MaterializedField emptySchema()
public ColumnMetadata cloneEmpty()
ColumnMetadata
public ColumnMetadata copy()
public ColumnMetadata childSchema()
ColumnMetadata
Sorry for the mess, but it is how the code works and we are not in a position to revisit data type fundamentals.
childSchema
in interface ColumnMetadata
childSchema
in class AbstractColumnMetadata
public int dimensions()
dimensions
in interface ColumnMetadata
dimensions
in class AbstractColumnMetadata
public String typeString()
ColumnMetadata
typeString
in interface ColumnMetadata
typeString
in class AbstractColumnMetadata
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.