publicstaticfinalclass AggregationQuery.Aggregation.CountextendsGeneratedMessageV3implementsAggregationQuery.Aggregation.CountOrBuilder
Count of entities that match the query.
The COUNT(*) aggregation function operates on the entire entity
so it does not require a field reference.
Protobuf type google.datastore.v1.AggregationQuery.Aggregation.Count
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
UP_TO_FIELD_NUMBER
publicstaticfinalintUP_TO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticAggregationQuery.Aggregation.CountgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticAggregationQuery.Aggregation.Count.BuildernewBuilder()
newBuilder(AggregationQuery.Aggregation.Count prototype)
publicstaticAggregationQuery.Aggregation.Count.BuildernewBuilder(AggregationQuery.Aggregation.Countprototype)
publicstaticAggregationQuery.Aggregation.CountparseDelimitedFrom(InputStreaminput)
publicstaticAggregationQuery.Aggregation.CountparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticAggregationQuery.Aggregation.CountparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticAggregationQuery.Aggregation.CountparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticAggregationQuery.Aggregation.CountparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticAggregationQuery.Aggregation.CountparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticAggregationQuery.Aggregation.CountparseFrom(CodedInputStreaminput)
publicstaticAggregationQuery.Aggregation.CountparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticAggregationQuery.Aggregation.CountparseFrom(InputStreaminput)
publicstaticAggregationQuery.Aggregation.CountparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticAggregationQuery.Aggregation.CountparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticAggregationQuery.Aggregation.CountparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<AggregationQuery.Aggregation.Count>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicAggregationQuery.Aggregation.CountgetDefaultInstanceForType()
getParserForType()
publicParser<AggregationQuery.Aggregation.Count>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getUpTo()
publicInt64ValuegetUpTo()
Optional. Optional constraint on the maximum number of entities to
count.
This provides a way to set an upper bound on the number of entities
to scan, limiting latency, and cost.
Unspecified is interpreted as no bound.
If a zero value is provided, a count result of zero should always be
expected.
High-Level Example:
<code><code>
AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
</code></code>
Requires:
- Must be non-negative when present.
.google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL];
getUpToOrBuilder()
publicInt64ValueOrBuildergetUpToOrBuilder()
Optional. Optional constraint on the maximum number of entities to
count.
This provides a way to set an upper bound on the number of entities
to scan, limiting latency, and cost.
Unspecified is interpreted as no bound.
If a zero value is provided, a count result of zero should always be
expected.
High-Level Example:
<code><code>
AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
</code></code>
Requires:
- Must be non-negative when present.
.google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL];
hasUpTo()
Optional. Optional constraint on the maximum number of entities to
count.
This provides a way to set an upper bound on the number of entities
to scan, limiting latency, and cost.
Unspecified is interpreted as no bound.
If a zero value is provided, a count result of zero should always be
expected.
High-Level Example:
<code><code>
AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
</code></code>
Requires:
- Must be non-negative when present.
.google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the upTo field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicAggregationQuery.Aggregation.Count.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedAggregationQuery.Aggregation.Count.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicAggregationQuery.Aggregation.Count.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides