publicfinalclass AggregationResultBatchextendsGeneratedMessageV3implementsAggregationResultBatchOrBuilder
A batch of aggregation results produced by an aggregation query.
Protobuf type google.datastore.v1.AggregationResultBatch
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
AGGREGATION_RESULTS_FIELD_NUMBER
publicstaticfinalintAGGREGATION_RESULTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MORE_RESULTS_FIELD_NUMBER
publicstaticfinalintMORE_RESULTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
READ_TIME_FIELD_NUMBER
publicstaticfinalintREAD_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticAggregationResultBatchgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticAggregationResultBatch.BuildernewBuilder()
newBuilder(AggregationResultBatch prototype)
publicstaticAggregationResultBatch.BuildernewBuilder(AggregationResultBatchprototype)
publicstaticAggregationResultBatchparseDelimitedFrom(InputStreaminput)
publicstaticAggregationResultBatchparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticAggregationResultBatchparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticAggregationResultBatchparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticAggregationResultBatchparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticAggregationResultBatchparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticAggregationResultBatchparseFrom(CodedInputStreaminput)
publicstaticAggregationResultBatchparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticAggregationResultBatchparseFrom(InputStreaminput)
publicstaticAggregationResultBatchparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticAggregationResultBatchparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticAggregationResultBatchparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<AggregationResultBatch>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAggregationResults(int index)
publicAggregationResultgetAggregationResults(intindex)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
| Parameter |
| Name |
Description |
index |
int
|
getAggregationResultsCount()
publicintgetAggregationResultsCount()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
| Returns |
| Type |
Description |
int |
getAggregationResultsList()
publicList<AggregationResult>getAggregationResultsList()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
getAggregationResultsOrBuilder(int index)
publicAggregationResultOrBuildergetAggregationResultsOrBuilder(intindex)
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
| Parameter |
| Name |
Description |
index |
int
|
getAggregationResultsOrBuilderList()
publicList<?extendsAggregationResultOrBuilder>getAggregationResultsOrBuilderList()
The aggregation results for this batch.
repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
| Returns |
| Type |
Description |
List<? extends com.google.datastore.v1.AggregationResultOrBuilder> |
getDefaultInstanceForType()
publicAggregationResultBatchgetDefaultInstanceForType()
getMoreResults()
publicQueryResultBatch.MoreResultsTypegetMoreResults()
The state of the query after the current batch.
Only COUNT(*) aggregations are supported in the initial launch. Therefore,
expected result type is limited to NO_MORE_RESULTS.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2;
getMoreResultsValue()
publicintgetMoreResultsValue()
The state of the query after the current batch.
Only COUNT(*) aggregations are supported in the initial launch. Therefore,
expected result type is limited to NO_MORE_RESULTS.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for moreResults.
|
getParserForType()
publicParser<AggregationResultBatch>getParserForType()
Overrides
getReadTime()
publicTimestampgetReadTime()
Read timestamp this batch was returned from.
In a single transaction, subsequent query result batches for the same query
can have a greater timestamp. Each batch's read timestamp
is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;
| Returns |
| Type |
Description |
Timestamp |
The readTime.
|
getReadTimeOrBuilder()
publicTimestampOrBuildergetReadTimeOrBuilder()
Read timestamp this batch was returned from.
In a single transaction, subsequent query result batches for the same query
can have a greater timestamp. Each batch's read timestamp
is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasReadTime()
publicbooleanhasReadTime()
Read timestamp this batch was returned from.
In a single transaction, subsequent query result batches for the same query
can have a greater timestamp. Each batch's read timestamp
is valid for all preceding batches.
.google.protobuf.Timestamp read_time = 3;
| Returns |
| Type |
Description |
boolean |
Whether the readTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicAggregationResultBatch.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedAggregationResultBatch.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicAggregationResultBatch.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides