Interface QueryStatistics.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QueryStatistics.Builder,,QueryStatistics> SdkBuilder<QueryStatistics.Builder,,QueryStatistics> SdkPojo
- Enclosing class:
QueryStatistics
@Mutable
@NotThreadSafe
public static interface QueryStatistics.Builder
extends SdkPojo, CopyableBuilder<QueryStatistics.Builder,QueryStatistics>
-
Method Summary
Modifier and TypeMethodDescriptionbytesScanned(Double bytesScanned) The number of bytes scanned by the query.default QueryStatistics.BuilderpartialResults(Consumer<PartialResults.Builder> partialResults) Information about whether the query returned partial results.partialResults(PartialResults partialResults) Information about whether the query returned partial results.percentComplete(Integer percentComplete) The percentage of the query that has completed.recordsMatched(Long recordsMatched) The number of records that matched the query criteria.recordsScanned(Long recordsScanned) The total number of records scanned.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
bytesScanned
The number of bytes scanned by the query.
- Parameters:
bytesScanned- The number of bytes scanned by the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentComplete
The percentage of the query that has completed.
- Parameters:
percentComplete- The percentage of the query that has completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordsScanned
The total number of records scanned.
- Parameters:
recordsScanned- The total number of records scanned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordsMatched
The number of records that matched the query criteria.
- Parameters:
recordsMatched- The number of records that matched the query criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partialResults
Information about whether the query returned partial results.
- Parameters:
partialResults- Information about whether the query returned partial results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partialResults
Information about whether the query returned partial results.
This is a convenience method that creates an instance of thePartialResults.Builderavoiding the need to create one manually viaPartialResults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartialResults(PartialResults).- Parameters:
partialResults- a consumer that will call methods onPartialResults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-