Interface RunAggregationQueryRequestOrBuilder (2.19.0)

public interface RunAggregationQueryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAggregationQuery()

public abstract AggregationQuery getAggregationQuery()

The query to run.

.google.datastore.v1.AggregationQuery aggregation_query = 3;

Returns
TypeDescription
AggregationQuery

The aggregationQuery.

getAggregationQueryOrBuilder()

public abstract AggregationQueryOrBuilder getAggregationQueryOrBuilder()

The query to run.

.google.datastore.v1.AggregationQuery aggregation_query = 3;

Returns
TypeDescription
AggregationQueryOrBuilder

getDatabaseId()

public abstract String getDatabaseId()

The ID of the database against which to make the request.

'(default)' is not allowed; please use empty string '' to refer the default database.

string database_id = 9;

Returns
TypeDescription
String

The databaseId.

getDatabaseIdBytes()

public abstract ByteString getDatabaseIdBytes()

The ID of the database against which to make the request.

'(default)' is not allowed; please use empty string '' to refer the default database.

string database_id = 9;

Returns
TypeDescription
ByteString

The bytes for databaseId.

getExplainOptions()

public abstract ExplainOptions getExplainOptions()

Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.

.google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ExplainOptions

The explainOptions.

getExplainOptionsOrBuilder()

public abstract ExplainOptionsOrBuilder getExplainOptionsOrBuilder()

Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.

.google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ExplainOptionsOrBuilder

getGqlQuery()

public abstract GqlQuery getGqlQuery()

The GQL query to run. This query must be an aggregation query.

.google.datastore.v1.GqlQuery gql_query = 7;

Returns
TypeDescription
GqlQuery

The gqlQuery.

getGqlQueryOrBuilder()

public abstract GqlQueryOrBuilder getGqlQueryOrBuilder()

The GQL query to run. This query must be an aggregation query.

.google.datastore.v1.GqlQuery gql_query = 7;

Returns
TypeDescription
GqlQueryOrBuilder

getPartitionId()

public abstract PartitionId getPartitionId()

Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.

.google.datastore.v1.PartitionId partition_id = 2;

Returns
TypeDescription
PartitionId

The partitionId.

getPartitionIdOrBuilder()

public abstract PartitionIdOrBuilder getPartitionIdOrBuilder()

Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.

.google.datastore.v1.PartitionId partition_id = 2;

Returns
TypeDescription
PartitionIdOrBuilder

getProjectId()

public abstract String getProjectId()

Required. The ID of the project against which to make the request.

string project_id = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Required. The ID of the project against which to make the request.

string project_id = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for projectId.

getQueryTypeCase()

public abstract RunAggregationQueryRequest.QueryTypeCase getQueryTypeCase()
Returns
TypeDescription
RunAggregationQueryRequest.QueryTypeCase

getReadOptions()

public abstract ReadOptions getReadOptions()

The options for this query.

.google.datastore.v1.ReadOptions read_options = 1;

Returns
TypeDescription
ReadOptions

The readOptions.

getReadOptionsOrBuilder()

public abstract ReadOptionsOrBuilder getReadOptionsOrBuilder()

The options for this query.

.google.datastore.v1.ReadOptions read_options = 1;

Returns
TypeDescription
ReadOptionsOrBuilder

hasAggregationQuery()

public abstract boolean hasAggregationQuery()

The query to run.

.google.datastore.v1.AggregationQuery aggregation_query = 3;

Returns
TypeDescription
boolean

Whether the aggregationQuery field is set.

hasExplainOptions()

public abstract boolean hasExplainOptions()

Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.

.google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the explainOptions field is set.

hasGqlQuery()

public abstract boolean hasGqlQuery()

The GQL query to run. This query must be an aggregation query.

.google.datastore.v1.GqlQuery gql_query = 7;

Returns
TypeDescription
boolean

Whether the gqlQuery field is set.

hasPartitionId()

public abstract boolean hasPartitionId()

Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.

.google.datastore.v1.PartitionId partition_id = 2;

Returns
TypeDescription
boolean

Whether the partitionId field is set.

hasReadOptions()

public abstract boolean hasReadOptions()

The options for this query.

.google.datastore.v1.ReadOptions read_options = 1;

Returns
TypeDescription
boolean

Whether the readOptions field is set.