All Classes
-
All Classes Interface Summary Class Summary Exception Summary Annotation Types Summary Class Description Abs Returns absoluteNumericValuefor evaluatedNumericValueparameter.Add ReturnsNumericValuesum for N provided evaluatedNumericValueparameters.And AND ofBooleanValueparamsAndCombiner Combines multipleEvaluatableexpressions with and logicArrayValue Represents an array osValues.BinaryOperator<T extends Value> Abstraction for a core binary operatorBooleanValue Ceil Returns ceilingNumericValuefor evaluatedNumericValueparameter.Combiner Abstraction for expression combiner.ContainsAll Checks if (evaluated) lhs array contains all values from (evaluated) rhs array.ContainsAny Checks if (evaluated) lhs array contains any value from (evaluated) rhs array.Converters DefaultErrorHandlingStrategy DefaultErrorHandlingStrategy.Divide Returns quotientNumericValuefor division of evaluatedNumericValuenumerator by evaluatedNumericValuedenominator.Epoch Returns current UNIX epoch timeNumericValuein milliseconds.Equals Checks equality of paramsErrorHandlingStrategy This class is called in error situations.Evaluatable Abstraction for core expression that can be evaluated as a hope ruleEvaluatableValue<T> An abstraction of a value that can be evaluated fromJsonPathValueor fromFunctionValueEvaluator Evaluates a hope expressionEvaluator.EvaluationContext Evaluator.LogicEvaluator Exists Returns trueBooleanValueif a json node/value exists at provided path.Exists Returns trueBooleanValueif a json node/value exists at provided pointer.Floor Returns floorNumericValuefor evaluatedNumericValueparameter.FunctionEvaluatableValue Abstraction of a value that is generated as eval of aHopeFunctioncall.FunctionHelpers FunctionImplementation Annotation used to markHopeFunctionimplementations.FunctionRegistry A global registry of functions provided by library as well as registered by user.FunctionRegistry.ConstructorMeta FunctionRegistry.FunctionMeta FunctionValue An abstraction for aHopeFunctioncall.Greater Checks if lhsNumericValueis greater than rhsNumericValueGreaterEquals Checks if lhsNumericValueis greater than or equal to rhsNumericValueHashJ ReturnsNumericValuejava Object.hashCode() hash of provided evaluatedStringValueparameter.HashM128 ReturnsNumericValueMurmur3 128 hash of provided evaluatedStringValueparameter.HopeException Base class for all exceptions thrown by hopeHopeExpressionParserError This exception is faced during expression parsing phase.HopeFunction<T extends Value> HopeIllegalEvaluationError This exception is thrown in case of hope lang evaluation bug.HopeMissingValueError This error is thrown when value is missing in provided json for a path present in expression.HopeParameterValidationFailureError This error is thrown when a evaluation of some function parameter does not meet expectations.HopeTypeMismatchError This exception is thrown in case there is an error in type validation in provided json.In Checks if (evaluated) lhs value is present in (evaluated) rhs array.InjectValueErrorHandlingStrategy This implementation ofErrorHandlingStrategythrowsIsEmpty Checks if array is emptyJsonPathValue JsonPointerValue Length Returns length of arrayLength ReturnsNumericValuelength of provided evaluatedStringValueparameter.Lesser Checks if lhsNumericValueis lesser than rhsNumericValueLesserEquals Checks if lhsNumericValueis lesser than or equal to rhsNumericValueLowerCase Returns lower caseStringValueof providedStringValueparameter.Match Matches a string against a regexModulo Returns remainderNumericValuefor division of evaluatedNumericValuenumerator by evaluatedNumericValuedenominator.Multiply ReturnsNumericValueproduct of N provided evaluatedNumericValueparameters.Negate Returns negativeNumericValueof evaluatedNumericValueparameter.Not Unary operator to invert aBooleanValueNotEquals Checks if lhs is not equal to rhsNotIn Checks if (evaluated) lhs value is not present in (evaluated) rhs array.NumericValue ObjectValue Represents an object.Or Does OR of twoBooleanValues.OrCombiner Combines multipleEvaluatableexpressions with and logicRawTypeHandler<T> StringValue SubStr Returns substringStringValueof provided parameterStringValuefromNumericValuestart toNumericValueend (exclusive).Substract ReturnsNumericValueresult after subtracting evaluatedNumericValuerhs from evaluatedNumericValuefrom lhs.TreeNode Node for parse tree.UnaryOperator<T extends Value> Abstraction for an unary operator that can be evaluated as hope langUpperCase Returns upper caseStringValueof providedStringValueparameter.Value Abstraction for a value typeVisitor<T> A visitor to all leafTreeNodetypes so that we don't have to subclass like apes.VisitorAdapter<T> Adapter to reduce redudndant code for visitor implementations