fetchOptions, txn, query, result, apiConfig);
}
private void addMissingIndexData(
DatastoreV3Pb.Query queryProto, DatastoreNeedIndexException e) {
IndexComponentsOnlyQuery indexQuery = new IndexComponentsOnlyQuery(queryProto);
CompositeIndexManager mgr = new CompositeIndexManager();
OnestoreEntity.Index index = mgr.compositeIndexForQuery(indexQuery);
if (index != null) {
String xml = mgr.generateXmlForIndex(index, IndexSource.manual);
e.setMissingIndexDefinitionXml(xml);