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, 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 |
|---|
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, variantSchemabooleanProperty, booleanProperty, hashCode, hasProperties, intProperty, intProperty, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitbooleanProperty, booleanProperty, hasProperties, intProperty, intProperty, pluginPrefix, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setPropertypublic 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()
ColumnMetadataisMultiList in interface ColumnMetadataisMultiList in class AbstractColumnMetadatapublic MaterializedField schema()
public MaterializedField emptySchema()
public ColumnMetadata cloneEmpty()
ColumnMetadatapublic ColumnMetadata copy()
public ColumnMetadata childSchema()
ColumnMetadataSorry 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 ColumnMetadatachildSchema in class AbstractColumnMetadatapublic int dimensions()
dimensions in interface ColumnMetadatadimensions in class AbstractColumnMetadatapublic String typeString()
ColumnMetadatatypeString in interface ColumnMetadatatypeString in class AbstractColumnMetadataprotected 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.