@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregationFunction extends Object implements Serializable, Cloneable, StructuredPojo
An aggregation function aggregates values from a dimension or measure.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
| Constructor and Description |
|---|
AggregationFunction() |
| Modifier and Type | Method and Description |
|---|---|
AggregationFunction |
clone() |
boolean |
equals(Object obj) |
AttributeAggregationFunction |
getAttributeAggregationFunction()
Aggregation for attributes.
|
String |
getCategoricalAggregationFunction()
Aggregation for categorical values.
|
String |
getDateAggregationFunction()
Aggregation for date values.
|
NumericalAggregationFunction |
getNumericalAggregationFunction()
Aggregation for numerical values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttributeAggregationFunction(AttributeAggregationFunction attributeAggregationFunction)
Aggregation for attributes.
|
void |
setCategoricalAggregationFunction(String categoricalAggregationFunction)
Aggregation for categorical values.
|
void |
setDateAggregationFunction(String dateAggregationFunction)
Aggregation for date values.
|
void |
setNumericalAggregationFunction(NumericalAggregationFunction numericalAggregationFunction)
Aggregation for numerical values.
|
String |
toString()
Returns a string representation of this object.
|
AggregationFunction |
withAttributeAggregationFunction(AttributeAggregationFunction attributeAggregationFunction)
Aggregation for attributes.
|
AggregationFunction |
withCategoricalAggregationFunction(CategoricalAggregationFunction categoricalAggregationFunction)
Aggregation for categorical values.
|
AggregationFunction |
withCategoricalAggregationFunction(String categoricalAggregationFunction)
Aggregation for categorical values.
|
AggregationFunction |
withDateAggregationFunction(DateAggregationFunction dateAggregationFunction)
Aggregation for date values.
|
AggregationFunction |
withDateAggregationFunction(String dateAggregationFunction)
Aggregation for date values.
|
AggregationFunction |
withNumericalAggregationFunction(NumericalAggregationFunction numericalAggregationFunction)
Aggregation for numerical values.
|
public void setNumericalAggregationFunction(NumericalAggregationFunction numericalAggregationFunction)
Aggregation for numerical values.
numericalAggregationFunction - Aggregation for numerical values.public NumericalAggregationFunction getNumericalAggregationFunction()
Aggregation for numerical values.
public AggregationFunction withNumericalAggregationFunction(NumericalAggregationFunction numericalAggregationFunction)
Aggregation for numerical values.
numericalAggregationFunction - Aggregation for numerical values.public void setCategoricalAggregationFunction(String categoricalAggregationFunction)
Aggregation for categorical values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
categoricalAggregationFunction - Aggregation for categorical values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
CategoricalAggregationFunctionpublic String getCategoricalAggregationFunction()
Aggregation for categorical values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
CategoricalAggregationFunctionpublic AggregationFunction withCategoricalAggregationFunction(String categoricalAggregationFunction)
Aggregation for categorical values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
categoricalAggregationFunction - Aggregation for categorical values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
CategoricalAggregationFunctionpublic AggregationFunction withCategoricalAggregationFunction(CategoricalAggregationFunction categoricalAggregationFunction)
Aggregation for categorical values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
categoricalAggregationFunction - Aggregation for categorical values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
CategoricalAggregationFunctionpublic void setDateAggregationFunction(String dateAggregationFunction)
Aggregation for date values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
dateAggregationFunction - Aggregation for date values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
DateAggregationFunctionpublic String getDateAggregationFunction()
Aggregation for date values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
DateAggregationFunctionpublic AggregationFunction withDateAggregationFunction(String dateAggregationFunction)
Aggregation for date values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
dateAggregationFunction - Aggregation for date values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
DateAggregationFunctionpublic AggregationFunction withDateAggregationFunction(DateAggregationFunction dateAggregationFunction)
Aggregation for date values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
dateAggregationFunction - Aggregation for date values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
DateAggregationFunctionpublic void setAttributeAggregationFunction(AttributeAggregationFunction attributeAggregationFunction)
Aggregation for attributes.
attributeAggregationFunction - Aggregation for attributes.public AttributeAggregationFunction getAttributeAggregationFunction()
Aggregation for attributes.
public AggregationFunction withAttributeAggregationFunction(AttributeAggregationFunction attributeAggregationFunction)
Aggregation for attributes.
attributeAggregationFunction - Aggregation for attributes.public String toString()
toString in class ObjectObject.toString()public AggregationFunction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.