Package com.appiancorp.common.query
Class Aggregation
java.lang.Object
com.appiancorp.common.query.Aggregation
- All Implemented Interfaces:
Projection<AggregationColumn>
,Cloneable
@GwtCompatible
public final class Aggregation
extends Object
implements Projection<AggregationColumn>
Holds the List of AggregationColumns to project by the Query.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Aggregation
(List<AggregationColumn> columns) Copy constructor -
Method Summary
-
Field Details
-
LOCAL_PART
- See Also:
-
QNAME
-
-
Constructor Details
-
Aggregation
Copy constructor- Parameters:
columns
- list ofAggregationColumn
-
-
Method Details
-
getColumns
Description copied from interface:Projection
Returns the list of projected columns- Specified by:
getColumns
in interfaceProjection<AggregationColumn>
- Returns:
- the list of projected columns
-
hashCode
public int hashCode() -
equals
-
toString
-
clone
Description copied from interface:Projection
Returns a newProjection
containing the same data as thisProjection
. This is not a deep clone, it just creates new lists to allow data manipulation.- Specified by:
clone
in interfaceProjection<AggregationColumn>
- Overrides:
clone
in classObject
- Returns:
- new
Projection
containing the same data as thisProjection
copied by value.
-
getGroupByColumns
- Returns:
- the
AggregationColumn
instances that have grouping
-