Package com.google.datastore.v1
Interface RunAggregationQueryRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RunAggregationQueryRequest
,RunAggregationQueryRequest.Builder
public interface RunAggregationQueryRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe query to run.The query to run.The ID of the database against which to make the request.com.google.protobuf.ByteString
The ID of the database against which to make the request.The GQL query to run.The GQL query to run.getMode()
Optional.int
Optional.Entities are partitioned into subsets, identified by a partition ID.Entities are partitioned into subsets, identified by a partition ID.Required.com.google.protobuf.ByteString
Required.The options for this query.The options for this query.boolean
The query to run.boolean
The GQL query to run.boolean
Entities are partitioned into subsets, identified by a partition ID.boolean
The options for this query.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProjectId
String getProjectId()Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for projectId.
-
getDatabaseId
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:
- The databaseId.
-
getDatabaseIdBytes
com.google.protobuf.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:
- The bytes for databaseId.
-
hasPartitionId
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:
- Whether the partitionId field is set.
-
getPartitionId
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:
- The partitionId.
-
getPartitionIdOrBuilder
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;
-
hasReadOptions
boolean hasReadOptions()The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
- Returns:
- Whether the readOptions field is set.
-
getReadOptions
ReadOptions getReadOptions()The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
- Returns:
- The readOptions.
-
getReadOptionsOrBuilder
ReadOptionsOrBuilder getReadOptionsOrBuilder()The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
-
hasAggregationQuery
boolean hasAggregationQuery()The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
- Returns:
- Whether the aggregationQuery field is set.
-
getAggregationQuery
AggregationQuery getAggregationQuery()The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
- Returns:
- The aggregationQuery.
-
getAggregationQueryOrBuilder
AggregationQueryOrBuilder getAggregationQueryOrBuilder()The query to run.
.google.datastore.v1.AggregationQuery aggregation_query = 3;
-
hasGqlQuery
boolean hasGqlQuery()The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
- Returns:
- Whether the gqlQuery field is set.
-
getGqlQuery
GqlQuery getGqlQuery()The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
- Returns:
- The gqlQuery.
-
getGqlQueryOrBuilder
GqlQueryOrBuilder getGqlQueryOrBuilder()The GQL query to run. This query must be an aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
-
getModeValue
int getModeValue()Optional. The mode in which the query request is processed. This field is optional, and when not provided, it defaults to `NORMAL` mode where no additional statistics will be returned with the query results.
.google.datastore.v1.QueryMode mode = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The enum numeric value on the wire for mode.
-
getMode
QueryMode getMode()Optional. The mode in which the query request is processed. This field is optional, and when not provided, it defaults to `NORMAL` mode where no additional statistics will be returned with the query results.
.google.datastore.v1.QueryMode mode = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The mode.
-
getQueryTypeCase
RunAggregationQueryRequest.QueryTypeCase getQueryTypeCase()
-