public class IndexColumnMetaData extends Object implements Comparable<IndexColumnMetaData>
| Constructor and Description |
|---|
IndexColumnMetaData(IndexMetaData indexMetaData)
Creates an index column.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IndexColumnMetaData o) |
String |
getColumnName()
Gets the column columnName.
|
IndexMetaData |
getIndexMetaData()
Gets the index.
|
int |
getPosition()
Gets the ordinal position within the index.
|
boolean |
isDescending()
Returns ascending or descending order.
|
void |
setupIndexColumnFromMetaData(ResultSet resultSet)
Sets up the index column from the database meta data result.
|
String |
toString() |
void |
validate()
Validates and postprocesses the index column data.
|
public IndexColumnMetaData(IndexMetaData indexMetaData)
indexMetaData - the index column belongs topublic void setupIndexColumnFromMetaData(ResultSet resultSet) throws SQLException
resultSet - the column result setSQLException - the processing the result set failedpublic IndexMetaData getIndexMetaData()
public boolean isDescending()
public String getColumnName()
public int getPosition()
public int compareTo(IndexColumnMetaData o)
compareTo in interface Comparable<IndexColumnMetaData>public void validate()
Tentackle - a domain driven enterprise framework