CompositeIndexUtils (Google App Engine API for Java)

Class CompositeIndexUtils

  • java.lang.Object

  • public final class CompositeIndexUtils
    extends java.lang.Object
    Static utilities for working with composite indexes.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String generateXmlForIndex(Index index, source)
      Generate an xml representation of the provided Index.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • generateXmlForIndex

        public static java.lang.String generateXmlForIndex(Index index,
        Generate an xml representation of the provided Index.
         <datastore-indexes autoGenerate="true">
             <datastore-index kind="a" ancestor="false">
                 <property name="yam" direction="asc"/>
                 <property name="not yam" direction="desc"/>
        index - The index for which we want an xml representation.
        source - The source of the provided index.
        The xml representation of the provided index.