|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazon.carbonado.spi.IndexInfoImpl
public class IndexInfoImpl
Basic implementation of an IndexInfo.
| Constructor Summary | |
|---|---|
IndexInfoImpl(String name,
boolean unique,
boolean clustered,
String[] propertyNames,
Direction[] propertyDirections)
|
|
| Method Summary | |
|---|---|
String |
getName()
Returns the name of this index, or null if not applicable. |
Direction[] |
getPropertyDirections()
Returns the directions of all the properties in this index. |
String[] |
getPropertyNames()
Returns the properties in this index. |
boolean |
isClustered()
Returns true if index is clustered, which means it defines the physical ordering of storables. |
boolean |
isUnique()
Returns true if index entries are unique. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IndexInfoImpl(String name,
boolean unique,
boolean clustered,
String[] propertyNames,
Direction[] propertyDirections)
name - optional name for indexunique - true if index requires unique valuespropertyNames - required list of property names, must have at least
one namepropertyDirections - optional property directions, may be null or
same length as property names array
IllegalArgumentException| Method Detail |
|---|
public String getName()
IndexInfo
getName in interface IndexInfopublic boolean isUnique()
IndexInfo
isUnique in interface IndexInfopublic boolean isClustered()
IndexInfo
isClustered in interface IndexInfopublic String[] getPropertyNames()
IndexInfo
getPropertyNames in interface IndexInfopublic Direction[] getPropertyDirections()
IndexInfoIndexInfo.getPropertyNames(). The array is a copy, and so it may be safely
modified.
getPropertyDirections in interface IndexInfopublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||