@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregationConstraint extends Object implements Serializable, Cloneable, StructuredPojo
Constraint on query output removing output rows that do not meet a minimum number of distinct values of a specified column.
| Constructor and Description |
|---|
AggregationConstraint() |
| Modifier and Type | Method and Description |
|---|---|
AggregationConstraint |
clone() |
boolean |
equals(Object obj) |
String |
getColumnName()
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.
|
Integer |
getMinimum()
The minimum number of distinct values that an output row must be an aggregation of.
|
String |
getType()
The type of aggregation the constraint allows.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setColumnName(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.
|
void |
setMinimum(Integer minimum)
The minimum number of distinct values that an output row must be an aggregation of.
|
void |
setType(String type)
The type of aggregation the constraint allows.
|
String |
toString()
Returns a string representation of this object.
|
AggregationConstraint |
withColumnName(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.
|
AggregationConstraint |
withMinimum(Integer minimum)
The minimum number of distinct values that an output row must be an aggregation of.
|
AggregationConstraint |
withType(AggregationType type)
The type of aggregation the constraint allows.
|
AggregationConstraint |
withType(String type)
The type of aggregation the constraint allows.
|
public void setColumnName(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.
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 String getColumnName()
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 AggregationConstraint withColumnName(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.
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 void setMinimum(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.
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 Integer getMinimum()
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 AggregationConstraint withMinimum(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.
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 void setType(String type)
The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.
type - The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.AggregationTypepublic String getType()
The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.
AggregationTypepublic AggregationConstraint withType(String type)
The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.
type - The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.AggregationTypepublic AggregationConstraint withType(AggregationType type)
The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.
type - The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.AggregationTypepublic String toString()
toString in class ObjectObject.toString()public AggregationConstraint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.