Interface RunQueryResponseOrBuilder (2.18.5)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface RunQueryResponseOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getBatch()
publicabstractQueryResultBatchgetBatch()A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
| Returns | |
|---|---|
| Type | Description |
QueryResultBatch |
The batch. |
getBatchOrBuilder()
publicabstractQueryResultBatchOrBuildergetBatchOrBuilder()A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
| Returns | |
|---|---|
| Type | Description |
QueryResultBatchOrBuilder |
|
getQuery()
publicabstractQuerygetQuery() The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.Query query = 2;
| Returns | |
|---|---|
| Type | Description |
Query |
The query. |
getQueryOrBuilder()
publicabstractQueryOrBuildergetQueryOrBuilder() The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.Query query = 2;
| Returns | |
|---|---|
| Type | Description |
QueryOrBuilder |
|
getTransaction()
publicabstractByteStringgetTransaction()The identifier of the transaction that was started as part of this RunQuery request.
Set only when ReadOptions.new_transaction was set in RunQueryRequest.read_options.
bytes transaction = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The transaction. |
hasBatch()
publicabstractbooleanhasBatch()A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the batch field is set. |
hasQuery()
publicabstractbooleanhasQuery() The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.Query query = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the query field is set. |