Package com.blazebit.expression
Blaze-Expression is a toolkit that allows to model expressions with domain models that can be evaluated and serialized.
-
Interface Summary Interface Description ArithmeticExpression The base interface for arithmetic expressions.Expression The base interface for an expression.Expression.ResultVisitor<T> A visitor for an expression that produces a result as part of the visitation.Expression.Visitor A visitor for an expression.ExpressionCompiler A compiler for expression strings based on a domain model.ExpressionCompiler.Context A compiler context that returns the domain type for available root variables.ExpressionInterpreter An interpreter for expressions based on a set of root variable object assignments.ExpressionInterpreter.Context An interpreter context that gives access to root variable domain type mappings, root variable object assignments and configuration properties.ExpressionSerializer<T> A serializer for expressions that serializes to a serialization target.ExpressionSerializer.Context A serialization context that gives access to context parameters.ExpressionServiceFactory A factory for expression related functionality based on a domain model.Predicate The base interface for predicates. -
Class Summary Class Description AbstractExpression A base implementation for expressions.AbstractPredicate A base implementation for predicates.ArithmeticFactor An arithmetic factor capturing the signum of an arithmetic expression.BetweenPredicate The between predicate which is semantically equivalent toleft >= lower AND left <= upper
.ChainingArithmeticExpression An arithmetic expression connecting two arithmetic expression operands with an arithmetic operator.ComparisonPredicate A predicate for doing relational or equality comparisons between arithmetic expressions.CompoundPredicate An conjunction or disjunction of multiple predicates.DocumentationMetadataDefinition A metadata definition for a language element documentation.ExpressionPredicate The predicate wrapper for boolean expressions.Expressions Bootstrap class that is used to obtain a ExpressionServiceFactory.FunctionInvocation A function invocation expression.InPredicate The in predicate which is semantically equivalent toleft = item1 OR ...
IsEmptyPredicate The nullness predicate that checks if the expression evaluates tonull
.IsNullPredicate The nullness predicate that checks if the expression evaluates tonull
.Literal A literal expression.Path A path expression dereferencing entity attributes of an entity type.PathCollectingVisitor A visitor that collects paths.VisitorAdapter An abstract visitor adapter that visits all nodes. -
Enum Summary Enum Description ArithmeticOperatorType The arithmetic operators.ComparisonOperator The comparison operators. -
Exception Summary Exception Description DomainModelException An exception thrown during expression parsing and validation.ExpressionException An exception thrown during expression parsing.SyntaxErrorException An exception thrown during expression parsing and validation.TypeErrorException An exception thrown during expression parsing and validation.