@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Aggregate extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a transform that groups rows by chosen fields and computes the aggregated value by specified function.
| Constructor and Description |
|---|
Aggregate() |
| Modifier and Type | Method and Description |
|---|---|
Aggregate |
clone() |
boolean |
equals(Object obj) |
List<AggregateOperation> |
getAggs()
Specifies the aggregate functions to be performed on specified fields.
|
List<List<String>> |
getGroups()
Specifies the fields to group by.
|
List<String> |
getInputs()
Specifies the fields and rows to use as inputs for the aggregate transform.
|
String |
getName()
The name of the transform node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAggs(Collection<AggregateOperation> aggs)
Specifies the aggregate functions to be performed on specified fields.
|
void |
setGroups(Collection<List<String>> groups)
Specifies the fields to group by.
|
void |
setInputs(Collection<String> inputs)
Specifies the fields and rows to use as inputs for the aggregate transform.
|
void |
setName(String name)
The name of the transform node.
|
String |
toString()
Returns a string representation of this object.
|
Aggregate |
withAggs(AggregateOperation... aggs)
Specifies the aggregate functions to be performed on specified fields.
|
Aggregate |
withAggs(Collection<AggregateOperation> aggs)
Specifies the aggregate functions to be performed on specified fields.
|
Aggregate |
withGroups(Collection<List<String>> groups)
Specifies the fields to group by.
|
Aggregate |
withGroups(List<String>... groups)
Specifies the fields to group by.
|
Aggregate |
withInputs(Collection<String> inputs)
Specifies the fields and rows to use as inputs for the aggregate transform.
|
Aggregate |
withInputs(String... inputs)
Specifies the fields and rows to use as inputs for the aggregate transform.
|
Aggregate |
withName(String name)
The name of the transform node.
|
public void setName(String name)
The name of the transform node.
name - The name of the transform node.public String getName()
The name of the transform node.
public Aggregate withName(String name)
The name of the transform node.
name - The name of the transform node.public List<String> getInputs()
Specifies the fields and rows to use as inputs for the aggregate transform.
public void setInputs(Collection<String> inputs)
Specifies the fields and rows to use as inputs for the aggregate transform.
inputs - Specifies the fields and rows to use as inputs for the aggregate transform.public Aggregate withInputs(String... inputs)
Specifies the fields and rows to use as inputs for the aggregate transform.
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection) or withInputs(java.util.Collection) if you want to override the
existing values.
inputs - Specifies the fields and rows to use as inputs for the aggregate transform.public Aggregate withInputs(Collection<String> inputs)
Specifies the fields and rows to use as inputs for the aggregate transform.
inputs - Specifies the fields and rows to use as inputs for the aggregate transform.public List<List<String>> getGroups()
Specifies the fields to group by.
public void setGroups(Collection<List<String>> groups)
Specifies the fields to group by.
groups - Specifies the fields to group by.public Aggregate withGroups(List<String>... groups)
Specifies the fields to group by.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection) or withGroups(java.util.Collection) if you want to override the
existing values.
groups - Specifies the fields to group by.public Aggregate withGroups(Collection<List<String>> groups)
Specifies the fields to group by.
groups - Specifies the fields to group by.public List<AggregateOperation> getAggs()
Specifies the aggregate functions to be performed on specified fields.
public void setAggs(Collection<AggregateOperation> aggs)
Specifies the aggregate functions to be performed on specified fields.
aggs - Specifies the aggregate functions to be performed on specified fields.public Aggregate withAggs(AggregateOperation... aggs)
Specifies the aggregate functions to be performed on specified fields.
NOTE: This method appends the values to the existing list (if any). Use
setAggs(java.util.Collection) or withAggs(java.util.Collection) if you want to override the
existing values.
aggs - Specifies the aggregate functions to be performed on specified fields.public Aggregate withAggs(Collection<AggregateOperation> aggs)
Specifies the aggregate functions to be performed on specified fields.
aggs - Specifies the aggregate functions to be performed on specified fields.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.