public final class CompositeIndexUtilsStatic utilities for working with composite indexes.
Static Methods
generateXmlForIndex(OnestoreEntity.Index index, CompositeIndexManager.IndexSource source)
public static String generateXmlForIndex(OnestoreEntity.Index index, CompositeIndexManager.IndexSource source)Generate an xml representation of the provided Index.
| Parameters | |
|---|---|
| Name | Description |
index |
com.google.storage.onestore.v3_bytes.proto2api.OnestoreEntity.IndexThe index for which we want an xml representation. |
source |
CompositeIndexManager.IndexSourceThe source of the provided index. |
| Returns | |
|---|---|
| Type | Description |
String |
The xml representation of the provided index. |