public class IndexColumn extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
_name
The name of the column.
|
protected String |
_size
The size of the column in the index.
|
| Constructor and Description |
|---|
IndexColumn()
Creates a new index column object.
|
IndexColumn(Column column)
Creates a new index column object.
|
IndexColumn(String columnName)
Creates a new index column object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
equalsIgnoreCase(IndexColumn other)
Compares this index column to the given one while ignoring the case of identifiers.
|
Column |
getColumn()
Returns the indexed column.
|
String |
getName()
Returns the name of the column.
|
int |
getOrdinalPosition()
Returns the position within the owning index.
|
String |
getSize()
Returns the size of the column in the index.
|
int |
hashCode() |
void |
setColumn(Column column)
Sets the indexed column.
|
void |
setName(String name)
Sets the name of the column.
|
void |
setOrdinalPosition(int position)
Sets the position within the owning index.
|
void |
setSize(String size)
Sets the size of the column in the index.
|
String |
toString() |
protected String _name
protected String _size
public IndexColumn()
public IndexColumn(Column column)
column - The indexed columnpublic IndexColumn(String columnName)
columnName - The name of the corresponding table columnpublic int getOrdinalPosition()
public void setOrdinalPosition(int position)
position - The positionpublic String getName()
public void setName(String name)
name - The namepublic Column getColumn()
public void setColumn(Column column)
column - The columnpublic String getSize()
public void setSize(String size)
size - The sizepublic boolean equalsIgnoreCase(IndexColumn other)
other - The other index columntrue if this index column is equal (ignoring case) to the given oneCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.