public final class AggregateOverMembersClause extends AggregateOverClause
AggregateOverClause
that specifies a list of dimension members as the OVER
clause for an AggregationFunctionExpression
.Constructor and Description |
---|
AggregateOverMembersClause(MdmPrimaryDimension dim, java.util.List<java.lang.String> members)
Creates an
AggregateOverMembersClause that specifies members of a dimension as the OVER clause for an AggregationFunctionExpression . |
AggregateOverMembersClause(MdmPrimaryDimension dim, java.lang.String[] members)
Creates an
AggregateOverMembersClause that specifies members of a dimension as the OVER clause for an AggregationFunctionExpression . |
Modifier and Type | Method and Description |
---|---|
MdmPrimaryDimension |
getDimension()
Gets the
MdmPrimaryDimension that contains the members to use in the aggregation. |
java.lang.String |
getDimensionID()
Gets the ID of the
MdmPrimaryDimension that contains the members to use in the aggregation. |
java.lang.String[] |
getMembers()
Gets the dimension members to use in the aggregation.
|
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)
Calls the
visitAggregateOverMembersClause method of the SyntaxObjectVisitor and passes that method this AggregateOverMembersClause and an Object . |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax
public AggregateOverMembersClause(MdmPrimaryDimension dim, java.lang.String[] members)
AggregateOverMembersClause
that specifies members of a dimension as the OVER
clause for an AggregationFunctionExpression
.dim
- An MdmPrimaryDimension
.members
- An array of String
objects that specify members of the dimension.public AggregateOverMembersClause(MdmPrimaryDimension dim, java.util.List<java.lang.String> members)
AggregateOverMembersClause
that specifies members of a dimension as the OVER
clause for an AggregationFunctionExpression
.dim
- An MdmPrimaryDimension
.members
- A List
of String
objects that specify members of the dimension.public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitAggregateOverMembersClause
method of the SyntaxObjectVisitor
and passes that method this AggregateOverMembersClause
and an Object
.visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.Object
returned by the visitAggregateOverMembersClause
method.public MdmPrimaryDimension getDimension()
MdmPrimaryDimension
that contains the members to use in the aggregation.MdmPrimaryDimension
that is associated with this AggregateOverMembersClause
.public java.lang.String getDimensionID()
MdmPrimaryDimension
that contains the members to use in the aggregation.String
that contains the ID of the dimension associated with this AggregateOverMembersClause
.public java.lang.String[] getMembers()
String
objects that contain the dimension members to use in the aggregation.