public final class CompositeIndexUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
generateXmlForIndex(Index index,
com.google.appengine.api.datastore.CompositeIndexManager.IndexSource source)
Generate an xml representation of the provided
Index. |
public static java.lang.String generateXmlForIndex(Index index, com.google.appengine.api.datastore.CompositeIndexManager.IndexSource source)
Index.
<datastore-indexes autoGenerate="true">
<datastore-index kind="a" ancestor="false">
<property name="yam" direction="asc"/>
<property name="not yam" direction="desc"/>
</datastore-index>
</datastore-indexes>
index - The index for which we want an xml representation.source - The source of the provided index.