public class DBExpressionIndex extends DBIndex
DBIndex.DBIndexType| Constructor and Description |
|---|
DBExpressionIndex(String name,
boolean unique,
DBExpr... columnExpressions)
Constructs a DBExpresionIndex
|
DBExpressionIndex(String name,
DBIndex.DBIndexType type,
DBExpr... columnExpressions)
Constructs a DBExpresionIndex
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(DBColumn col)
Checks if this index contains the column col
|
int |
getColumnPos(DBColumn col)
Gets the position of a specified DBColumn object.
|
DBDatabase |
getDatabase()
Returns the database object to which this object belongs to.
|
DBExpr[] |
getExpressions()
Returns the columnExpressions belonging to this index.
|
compareColumns, getColumn, getColumnCount, getColumns, getFullName, getName, getTable, getTypecheckParamNullpublic DBExpressionIndex(String name, DBIndex.DBIndexType type, DBExpr... columnExpressions)
name - the index nametype - the index typecolumnExpressions - an array of one or more column expressions of the indexpublic final DBDatabase getDatabase()
DBObjectgetDatabase in class DBIndexpublic DBExpr[] getExpressions()
getExpressions in class DBIndexpublic boolean contains(DBColumn col)
public int getColumnPos(DBColumn col)
getColumnPos in class DBIndexcol - the columnCopyright © 2008–2023 Apache Software Foundation. All rights reserved.