Uses of Class
com.randomnoun.common.jexl.eval.EvalContext
Packages that use EvalContext
Package
Description
-
Uses of EvalContext in com.randomnoun.common.jexl.eval
Methods in com.randomnoun.common.jexl.eval with parameters of type EvalContextModifier and TypeMethodDescriptionEvalFunction.evaluate
(String functionName, EvalContext context, List<Object> arguments) This is the main entry point for classes that implement this interface.Evaluator.visit
(AdditiveExpression n, EvalContext context) Evaluate a AdditiveExpression node.Evaluator.visit
(ArgumentList n, EvalContext context) Evaluate a ArgumentList node.Evaluator.visit
(Arguments n, EvalContext context) Evaluates an Arguments nodeEvaluator.visit
(BooleanLiteral n, EvalContext context) Evaluate a BooleanLiteral node.Evaluator.visit
(ConditionalAndExpression n, EvalContext context) Evaluate a ConditionalAndExpression node.Evaluator.visit
(EqualityExpression n, EvalContext context) Evaluate a EqualityExpression node.Evaluator.visit
(Expression n, EvalContext context) Evaluate an Expression node.Evaluator.visit
(FunctionCall n, EvalContext context) Evaluate a FunctionCall node.Evaluator.visit
(Literal n, EvalContext context) Evaluate a Literal node.Evaluator.visit
(MultiplicativeExpression n, EvalContext context) Evaluate a MultiplicativeExpression node.Evaluator.visit
(Name n, EvalContext context) Evaluate a Name node.Evaluator.visit
(NodeToken n, EvalContext context) This is never executed (we do not evaluate tokens)Evaluator.visit
(NullLiteral n, EvalContext context) Evaluate a NullLiteral node.Evaluator.visit
(PrimaryExpression n, EvalContext context) Evaluate a PrimaryExpression node.Evaluator.visit
(RelationalExpression n, EvalContext context) Evaluate a RelationalExpression node.Evaluator.visit
(TopLevelExpression n, EvalContext context) Evaluate a TopLevelExpression node.Evaluator.visit
(UnaryExpression n, EvalContext context) Evaluate a UnaryExpression node. -
Uses of EvalContext in com.randomnoun.common.jexl.eval.function
Methods in com.randomnoun.common.jexl.eval.function with parameters of type EvalContextModifier and TypeMethodDescriptionEndsWithFunction.evaluate
(String functionName, EvalContext context, List<Object> arguments) Implements the function as per the class description.LikeFunction.evaluate
(String functionName, EvalContext context, List<Object> arguments) Implements the function as per the class description.StartsWithFunction.evaluate
(String functionName, EvalContext context, List<Object> arguments) Implements the function as per the class description. -
Uses of EvalContext in com.randomnoun.common.jexl.sql
Methods in com.randomnoun.common.jexl.sql with parameters of type EvalContextModifier and TypeMethodDescriptionstatic SqlText
SqlGenerator.comparisonOpToSql
(String sqlOp, EvalContext evalContext, Object lhs, Object rhs) Generates code for comparisons of MoneyValue and Date types.static String
SqlGenerator.escapeLikeLiteral
(EvalContext evalContext, String string) Escape the text used in a LIKE function, so that % and _ characters have no special meaning.static String
SqlGenerator.escapeStringLiteral
(EvalContext evalContext, String string) Escape a string literal.static String
SqlGenerator.getDatabaseType
(EvalContext evalContext) Return the database type from this contextSqlFunction.toSql
(String functionName, EvalContext evalContext, List<Object> arguments) All SQL functions must implement this method.static SqlText
SqlGenerator.toSql
(EvalContext evalContext, Object obj) Convert an evaluated node object into it's SQL representation.SqlGenerator.visit
(AdditiveExpression n, EvalContext context) Generate the SQL for a AdditiveExpression node.SqlGenerator.visit
(ArgumentList n, EvalContext context) Generate the SQL for a ArgumentList node.SqlGenerator.visit
(Arguments n, EvalContext context) Generate the SQL for an Arguments nodeSqlGenerator.visit
(BooleanLiteral n, EvalContext context) Generate the SQL for a BooleanLiteral node.SqlGenerator.visit
(ConditionalAndExpression n, EvalContext context) Generate the SQL for a ConditionalAndExpression node.SqlGenerator.visit
(EqualityExpression n, EvalContext context) Generate the SQL for a EqualityExpression node.SqlGenerator.visit
(Expression n, EvalContext context) Generate the SQL for an Expression node.SqlGenerator.visit
(FunctionCall n, EvalContext context) Generate the SQL for a FunctionCall node.SqlGenerator.visit
(Literal n, EvalContext context) Generate the SQL for a Literal node.SqlGenerator.visit
(MultiplicativeExpression n, EvalContext context) Generate the SQL for a MultiplicativeExpression node.SqlGenerator.visit
(Name n, EvalContext context) Generate the SQL for a Name node.SqlGenerator.visit
(NodeToken n, EvalContext context) This is never executed (we do not evaluate tokens)SqlGenerator.visit
(NullLiteral n, EvalContext context) Generate the SQL for a NullLiteral node.SqlGenerator.visit
(PrimaryExpression n, EvalContext context) Generate the SQL for a PrimaryExpression node.SqlGenerator.visit
(RelationalExpression n, EvalContext context) Generate the SQL for a RelationalExpression node.SqlGenerator.visit
(TopLevelExpression n, EvalContext context) Convert a TopLevelExpression node to it's SQL representation.SqlGenerator.visit
(UnaryExpression n, EvalContext context) Generate the SQL for a UnaryExpression node. -
Uses of EvalContext in com.randomnoun.common.jexl.sql.function
Methods in com.randomnoun.common.jexl.sql.function with parameters of type EvalContextModifier and TypeMethodDescriptionEndsWithFunction.toSql
(String functionName, EvalContext evalContext, List<Object> arguments) LikeFunction.toSql
(String functionName, EvalContext evalContext, List<Object> arguments) StartsWithFunction.toSql
(String functionName, EvalContext evalContext, List<Object> arguments)