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.IllegalArgumentException
public java.lang.String getName()
IndexInfo
public boolean isUnique()
IndexInfo
public boolean isClustered()
IndexInfo
isClustered
in interface IndexInfo
public java.lang.String[] getPropertyNames()
IndexInfo
getPropertyNames
in interface IndexInfo
public Direction[] getPropertyDirections()
IndexInfo
IndexInfo.getPropertyNames()
. The array is a copy, and so it may be safely
modified.getPropertyDirections
in interface IndexInfo
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.