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, get, removeEldestEntry
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode
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-2013 The Apache Software Foundation. All Rights Reserved.