Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

Index (Google App Engine API for Java)

Stay organized with collections Save and categorize content based on your preferences.
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 Datastore Index definition.
    See Also:
    Serialized Form
    • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object