public class ColumnMetadata extends Object
Modifier and Type | Method and Description |
---|---|
IndexMetadata |
getIndex(String name)
Returns metadata on a index on this column.
|
List<IndexMetadata> |
getIndexes()
Returns a list containing all the indexes on this column.
|
String |
getName()
Returns the name of the column.
|
TableMetadata |
getTable()
Returns the metadata of the table this column is part of.
|
DataType |
getType()
Returns the type of the column.
|
boolean |
isStatic()
Whether this column is a static column.
|
String |
toString() |
public String getName()
public TableMetadata getTable()
TableMetadata
for the table this column is part of.public DataType getType()
public boolean isStatic()
public IndexMetadata getIndex(String name)
name
- the name of the index to retrieve (name
will be
interpreted as a case-insensitive identifier unless enclosed in double-quotes,
see Metadata.quote(java.lang.String)
).name
index if it exists, or
null
otherwise.public List<IndexMetadata> getIndexes()
Copyright © 2012–2015. All rights reserved.