@Generated(value="software.amazon.awssdk:codegen") public final class AggregationConstraint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AggregationConstraint.Builder,AggregationConstraint>
Constraint on query output removing output rows that do not meet a minimum number of distinct values of a specified column.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AggregationConstraint.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AggregationConstraint.Builder |
builder() |
String |
columnName()
Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for
it to be in the query output.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
minimum()
The minimum number of distinct values that an output row must be an aggregation of.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AggregationConstraint.Builder> |
serializableBuilderClass() |
AggregationConstraint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AggregationType |
type()
The type of aggregation the constraint allows.
|
String |
typeAsString()
The type of aggregation the constraint allows.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String columnName()
Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for it to be in the query output.
public final Integer minimum()
The minimum number of distinct values that an output row must be an aggregation of. Minimum threshold of distinct values for a specified column that must exist in an output row for it to be in the query output.
public final AggregationType type()
The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.
If the service returns an enum value that is not available in the current SDK version, type will return
AggregationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
AggregationTypepublic final String typeAsString()
The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.
If the service returns an enum value that is not available in the current SDK version, type will return
AggregationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
AggregationTypepublic AggregationConstraint.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AggregationConstraint.Builder,AggregationConstraint>public static AggregationConstraint.Builder builder()
public static Class<? extends AggregationConstraint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.