public abstract class IndexImplBase extends Object implements Index
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList |
_columns
The columns making up the index.
|
protected String |
_name
The name of the index.
|
| Constructor and Description |
|---|
IndexImplBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(IndexColumn column)
Adds a column that makes up this index.
|
IndexColumn |
getColumn(int idx)
Returns the indicated column making up this index.
|
int |
getColumnCount()
Returns the number of columns that make up this index.
|
IndexColumn[] |
getColumns()
Returns the columns that make up this index.
|
String |
getName()
Returns the name of the index.
|
boolean |
hasColumn(Column column)
Determines whether this index includes the given column.
|
boolean |
hasColumn(String columnName,
boolean caseSensitive)
Determines whether this index includes the indicated column.
|
void |
removeColumn(IndexColumn column)
Removes the given index column from this index.
|
void |
removeColumn(int idx)
Removes the column at the specified position in this index.
|
void |
setName(String name)
Sets the name of the index.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalsIgnoreCase, getClone, isUnique, toVerboseStringprotected String _name
protected ArrayList _columns
public String getName()
public void setName(String name)
public int getColumnCount()
getColumnCount in interface Indexpublic IndexColumn getColumn(int idx)
public IndexColumn[] getColumns()
getColumns in interface Indexpublic boolean hasColumn(Column column)
public boolean hasColumn(String columnName, boolean caseSensitive)
public void addColumn(IndexColumn column)
public void removeColumn(IndexColumn column)
removeColumn in interface Indexcolumn - The column to removepublic void removeColumn(int idx)
removeColumn in interface Indexidx - The position of the index column to removeCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.