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.Serializable
A DatastoreIndex
definition.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
Index.IndexState
Indicates the state of theIndex
.static class
Index.Property
An indexed property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
equals(java.lang.Object obj)
long
getId()
java.lang.String
getKind()
Get the index's kind, or the empty string ("") if it has none.java.util.List<Index.Property>
getProperties()
int
hashCode()
boolean
isAncestor()
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-