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, getGrainPart
equals, getCelestaDoc, getName, getQuotedName, getQuotedNameIfNeeded, hashCode, limitName, limitName, setCelestaDoc
public Index(BasicTable t, String name, String[] columns) throws ParseException
ParseException
public BasicTable getTable()
public Map<String,Column<?>> getColumns()
getColumns
in interface HasColumns
public void delete() throws ParseException
ParseException
- when trying to change the system grainpublic int getColumnIndex(String name)
HasColumns
getColumnIndex
in interface HasColumns
name
- column name.Copyright © 2023 CURS. All rights reserved.