public class IndexColumnMetaData extends Object implements Comparable<IndexColumnMetaData>
| Modifier and Type | Field and Description |
|---|---|
protected String |
columnName |
protected boolean |
descending |
protected IndexMetaData |
indexMetaData |
protected int |
position |
| 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.
|
protected final IndexMetaData indexMetaData
protected String columnName
protected boolean descending
protected int position
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()
Copyright © 2016 Krake Softwaretechnik. All rights reserved.