Interface AggregateExpression

All Superinterfaces:
Expression, VisitableExpression

public interface AggregateExpression extends Expression
Represents an aggregate expression.
See Also:
  • Method Details

    • getPath

      List<UriResource> getPath()
      Gets the path prefix and the path segment.
      Returns:
      a (potentially empty) list of path segments (and never null)
    • getExpression

      Expression getExpression()
      Gets the common expression to be aggregated.
      Returns:
      an Expression that could be null
    • getStandardMethod

      Gets the standard aggregation method if used.
      Returns:
      a AggregateExpression.StandardMethod or null
      See Also:
    • getCustomMethod

      FullQualifiedName getCustomMethod()
      Gets the name of the custom aggregation method if used.
      Returns:
      a FullQualifiedName or null
      See Also:
    • getAlias

      String getAlias()
      Gets the name of the aggregate if an alias name has been set.
      Returns:
      an identifier String or null
    • getInlineAggregateExpression

      AggregateExpression getInlineAggregateExpression()
      Gets the inline aggregation expression to be applied to the target of the path if used.
      Returns:
      an aggregation expression or null
      See Also:
    • getFrom

      Gets the aggregate expressions for from.
      Returns:
      a (potentially empty) list of aggregate expressions (but never null)
    • getDynamicProperties

      Set<String> getDynamicProperties()
      Gets the dynamic properties for aggregation expression.
      Returns:
      the set of properties
    • addDynamicProperty

      void addDynamicProperty(String name)
      Adds the dynamic property for aggregation expression.
      Parameters:
      name - an identifier