| Constructor and Description |
|---|
IndexInfoImpl(java.lang.String name,
boolean unique,
boolean clustered,
java.lang.String[] propertyNames,
Direction[] propertyDirections) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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.
|
java.lang.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.
|
java.lang.String |
toString() |
public IndexInfoImpl(java.lang.String name,
boolean unique,
boolean clustered,
java.lang.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 arrayjava.lang.IllegalArgumentExceptionpublic java.lang.String getName()
IndexInfopublic boolean isUnique()
IndexInfopublic boolean isClustered()
IndexInfoisClustered in interface IndexInfopublic java.lang.String[] getPropertyNames()
IndexInfogetPropertyNames in interface IndexInfopublic Direction[] getPropertyDirections()
IndexInfoIndexInfo.getPropertyNames(). The array is a copy, and so it may be safely
modified.getPropertyDirections in interface IndexInfopublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.