@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregateOperation extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the set of parameters needed to perform aggregation in the aggregate transform.
Constructor and Description |
---|
AggregateOperation() |
Modifier and Type | Method and Description |
---|---|
AggregateOperation |
clone() |
boolean |
equals(Object obj) |
String |
getAggFunc()
Specifies the aggregation function to apply.
|
List<String> |
getColumn()
Specifies the column on the data set on which the aggregation function will be applied.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggFunc(String aggFunc)
Specifies the aggregation function to apply.
|
void |
setColumn(Collection<String> column)
Specifies the column on the data set on which the aggregation function will be applied.
|
String |
toString()
Returns a string representation of this object.
|
AggregateOperation |
withAggFunc(AggFunction aggFunc)
Specifies the aggregation function to apply.
|
AggregateOperation |
withAggFunc(String aggFunc)
Specifies the aggregation function to apply.
|
AggregateOperation |
withColumn(Collection<String> column)
Specifies the column on the data set on which the aggregation function will be applied.
|
AggregateOperation |
withColumn(String... column)
Specifies the column on the data set on which the aggregation function will be applied.
|
public List<String> getColumn()
Specifies the column on the data set on which the aggregation function will be applied.
public void setColumn(Collection<String> column)
Specifies the column on the data set on which the aggregation function will be applied.
column
- Specifies the column on the data set on which the aggregation function will be applied.public AggregateOperation withColumn(String... column)
Specifies the column on the data set on which the aggregation function will be applied.
NOTE: This method appends the values to the existing list (if any). Use
setColumn(java.util.Collection)
or withColumn(java.util.Collection)
if you want to override the
existing values.
column
- Specifies the column on the data set on which the aggregation function will be applied.public AggregateOperation withColumn(Collection<String> column)
Specifies the column on the data set on which the aggregation function will be applied.
column
- Specifies the column on the data set on which the aggregation function will be applied.public void setAggFunc(String aggFunc)
Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
aggFunc
- Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
AggFunction
public String getAggFunc()
Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
AggFunction
public AggregateOperation withAggFunc(String aggFunc)
Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
aggFunc
- Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
AggFunction
public AggregateOperation withAggFunc(AggFunction aggFunc)
Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
aggFunc
- Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
AggFunction
public String toString()
toString
in class Object
Object.toString()
public AggregateOperation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.