use of com.google.apphosting.datastore.DatastoreV3Pb.CompositeIndices in project appengine-java-standard by GoogleCloudPlatform.
the class LocalDatastoreService method getIndices.
// status
@SuppressWarnings("unused")
public CompositeIndices getIndices(Status status, StringProto req) {
Set<Index> indexSet = LocalCompositeIndexManager.getInstance().getIndexes();
CompositeIndices answer = new CompositeIndices();
for (Index index : indexSet) {
CompositeIndex ci = wrapIndexInCompositeIndex(req.getValue(), index);
answer.addIndex(ci);
}
return answer;
}
Aggregations