Package org.apache.olingo.odata2.api.uri.expression


package org.apache.olingo.odata2.api.uri.expression
Expression Parser

This package contains all classes necessary to decribe an expression tree(e.g. a filter or order by tree)

Trees can be traversed by implementing the ExpressionVisitor interface and calling the accept() method.
Different types of expressions can be found in ExpressionKind .

  • Class
    Description
    Represents a binary expression node in the expression tree returned by the methods

    A binary expression node is inserted in the expression tree for any valid ODATA binary operator in BinaryOperator (e.g.
    Enumerations for supported binary operators of the ODATA expression parser for ODATA version 2.0 (with some restrictions)
    Parent class of all classes used to build the expression tree

    Exception thrown while traversing/visiting a filter expression tree
    Enumeration describing all possible node types inside an expression tree
    Exception thrown while parsing a filter or orderby expression
    Interface ExpressionVisitor is used to traverse a $filter or $orderby expression tree.
    Represents a $filter expression in the expression tree Used to define the root expression node in an $filter expression tree.
    Represents a literal expression node in the expression tree

    Represents a member expression in the expression tree

    Represents a method expression in the expression tree

    Enumerations for all supported methods of the ODATA expression parser for ODATA version 2.0 (with some restrictions).
    Represents a $orderby expression Used to define the root expression node in an $filter expression tree.
    Represents a order expression in the expression tree

    Represents a property expression in the expression tree

    Enumeration describing all possible sort orders used in an $orderby expression
    Represents a unary expression node in the expression tree

    Enumerations for supported unary operators of the OData expression parser for OData version 2.0
    The interface Visitable is part of the visitor pattern used to traverse the expression tree build from a $filter expression string or $orderby expression string.