public class ColumnMetaData extends MetaData<ColumnMetaData>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ColumnMetaData(String name,
ValueType type)
Construct given a name and type.
|
Modifier and Type | Method and Description |
---|---|
List<ColumnMetaData> |
getChildren()
Return this column's children or null.
|
String |
getName()
Return this column's name.
|
int |
getNumber()
Return this column's number in a file.
|
ColumnMetaData |
getParent()
Return this column's parent or null.
|
ValueType |
getType()
Return this column's type.
|
boolean |
hasIndexValues()
Get whether this column has an index of blocks by value.
|
ColumnMetaData |
hasIndexValues(boolean values)
Set whether this column has an index of blocks by value.
|
boolean |
isArray()
Return true if this column is an array.
|
ColumnMetaData |
isArray(boolean isArray)
Set whether this column is an array.
|
ColumnMetaData |
setParent(ColumnMetaData parent)
Set this column's parent.
|
getBoolean, getChecksum, getCodec, getLong, getString, isReserved, set, set, set, setChecksum, setCodec, toString
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public String getName()
public ValueType getType()
public ColumnMetaData getParent()
public List<ColumnMetaData> getChildren()
public boolean isArray()
public int getNumber()
public ColumnMetaData hasIndexValues(boolean values)
public ColumnMetaData setParent(ColumnMetaData parent)
public ColumnMetaData isArray(boolean isArray)
public boolean hasIndexValues()
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.