public class AggregateExpressionImpl extends Object implements AggregateExpression
AggregateExpression.StandardMethod| Constructor and Description |
|---|
AggregateExpressionImpl() |
public List<UriResource> getPath()
AggregateExpressiongetPath in interface AggregateExpressionnull)public AggregateExpressionImpl setPath(UriInfo uriInfo)
public Expression getExpression()
AggregateExpressiongetExpression in interface AggregateExpressionExpression that could be nullpublic AggregateExpressionImpl setExpression(Expression expression)
public AggregateExpression.StandardMethod getStandardMethod()
AggregateExpressiongetStandardMethod in interface AggregateExpressionAggregateExpression.StandardMethod or nullAggregateExpression.getCustomMethod()public AggregateExpressionImpl setStandardMethod(AggregateExpression.StandardMethod standardMethod)
public FullQualifiedName getCustomMethod()
AggregateExpressiongetCustomMethod in interface AggregateExpressionFullQualifiedName or nullAggregateExpression.getStandardMethod()public AggregateExpressionImpl setCustomMethod(FullQualifiedName customMethod)
public AggregateExpression getInlineAggregateExpression()
AggregateExpressiongetInlineAggregateExpression in interface AggregateExpressionnullAggregateExpression.getPath()public AggregateExpressionImpl setInlineAggregateExpression(AggregateExpression aggregateExpression)
public List<AggregateExpression> getFrom()
AggregateExpressionfrom.getFrom in interface AggregateExpressionnull)public AggregateExpressionImpl addFrom(AggregateExpression from)
public String getAlias()
AggregateExpressiongetAlias in interface AggregateExpressionnullpublic AggregateExpressionImpl setAlias(String alias)
public <T> T accept(ExpressionVisitor<T> visitor) throws ExpressionVisitException, ODataApplicationException
VisitableExpressionVisitableExpression.accept(ExpressionVisitor) is called when traversing the expression tree. This method is invoked on
each expression used as node in an expression tree. The implementations should
behave as follows:
ExpressionVisitor instance and provide the stored return objects
to that instance
accept in interface VisitableExpressionvisitor - Visitor object (implementing ExpressionVisitor) whose methods are called during traversing a
expression node of the expression tree.ExpressionVisitException - Exception occurred in the OData library while traversing the treeODataApplicationException - Exception thrown by the application who implemented the visitorCopyright © 2021. All rights reserved.