Weitere ähnliche Inhalte
Ähnlich wie #ajn3.lt.marblejenka (20)
Kürzlich hochgeladen (20)
#ajn3.lt.marblejenka
- 14. GetIndices
• composite index
StringProto request = new StringProto();
request.setValue(APPID);
CompositeIndices response
= DatastoreOperations.GET_INDICES.call(request);
----------------------------
state:2
entity_type: "TEST"
ancestor: false
Property {
name: "hoge"
direction: 1
}
Property {
name: "hige"
direction: 1
}
- 15. • production
GetSchemaRequest getSchemaRequest
= new GetSchemaRequest();
getSchemaRequest.setApp(appid);
Schema schema
= DatastoreOperations.GET_SCHEMA.call(getSchemaRequest);
- 16. kind < property <
key < name: "name"
app: "balmysundaycandy" value <
path < stringValue: "none"
Element { >
type: "TEST" multiple: false
} >
> >
> more_results: false
entity_group <
> ※ entity_group more low level
property < get
name: "age"
value <
stringValue: "none"
>
multiple: false
>
- 19. •
• appengine 43
api
• low level api
• api
• datastore
• rollback commit
- 23. Future<QueryResult> future =
DatastoreOperations.RUN_QUERY.
callAsync(query, apiConfig);
long asyncCallEnd = System.currentTimeMillis();
int notDoneCount = 0;
while (!future.isDone()) {
++notDoneCount;
}
long callEnd = System.currentTimeMillis();