public class Index extends GrainElement implements HasColumns
MAX_IDENTIFIER_LENGTH| Constructor and Description |
|---|
Index(BasicTable t,
String name,
String[] columns) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes the index.
|
int |
getColumnIndex(String name)
Column index in the list of columns.
|
Map<String,Column<?>> |
getColumns()
Returns columns of the index.
|
BasicTable |
getTable()
Returns table of the index.
|
getGrain, getGrainPartequals, getCelestaDoc, getName, getQuotedName, getQuotedNameIfNeeded, hashCode, limitName, limitName, setCelestaDocpublic Index(BasicTable t, String name, String[] columns) throws ParseException
ParseExceptionpublic BasicTable getTable()
public Map<String,Column<?>> getColumns()
getColumns in interface HasColumnspublic void delete()
throws ParseException
ParseException - when trying to change the system grainpublic int getColumnIndex(String name)
HasColumnsgetColumnIndex in interface HasColumnsname - column name.Copyright © 2020 CURS. All rights reserved.