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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAggregation(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:ProjectionReturns the list of projected columns- Specified by:
getColumnsin interfaceProjection<AggregationColumn>- Returns:
- the list of projected columns
-
hashCode
public int hashCode() -
equals
-
toString
-
clone
Description copied from interface:ProjectionReturns a newProjectioncontaining the same data as thisProjection. This is not a deep clone, it just creates new lists to allow data manipulation.- Specified by:
clonein interfaceProjection<AggregationColumn>- Overrides:
clonein classObject- Returns:
- new
Projectioncontaining the same data as thisProjectioncopied by value.
-
getGroupByColumns
- Returns:
- the
AggregationColumninstances that have grouping
-