com.google.appengine.api.datastore
Class Index
- java.lang.Object
-
- com.google.appengine.api.datastore.Index
-
- All Implemented Interfaces:
- java.io.Serializable
public final class Index extends java.lang.Object implements java.io.SerializableA DatastoreIndexdefinition.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classIndex.IndexStateIndicates the state of theIndex.static classIndex.PropertyAn indexed property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)longgetId()java.lang.StringgetKind()Get the index's kind, or the empty string ("") if it has none.java.util.List<Index.Property>getProperties()inthashCode()booleanisAncestor()java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public long getId()
-
getKind
public java.lang.String getKind()
Get the index's kind, or the empty string ("") if it has none.
-
isAncestor
public boolean isAncestor()
-
getProperties
public java.util.List<Index.Property> getProperties()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-