Package com.tangosol.config.expression
Defines classes and interfaces for representing and evaluating expressions.
- Since:
- 12.1.2
-
Interface Summary Interface Description Expression<T> AExpression
represents a calculation to be evaluated at runtime, during which, one or moreParameter
s may be required.ExpressionParser AnExpressionParser
parses aString
representation of some calculation to produce anExpression
, that of which when evaluated will return an expected type of value.ParameterResolver AParameterResolver
provides a mechanism resolve and lookup namedParameter
s. -
Class Summary Class Description ChainedParameterResolver AChainedParameterResolver
is aParameterResolver
that consults zero or more providedParameterResolver
s in the order in which they were defined or added to resolve aParameter
.LiteralExpression<T> ALiteralExpression
is a literal (aka: constant)Expression
.NullParameterResolver Parameter AParameter
represents an optionally named and optionally explicitly typedExpression
.PropertiesParameterResolver ScopedParameterResolver AScopedParameterResolver
is aParameterResolver
implementation that provides the ability to "scope"Parameter
definitions to either an inner (wrapped) or outerParameterResolver
, such that those being defined in the outerParameterResolver
hide those (of the same name) in the inner (wrapped)ParameterResolver
.SystemEnvironmentParameterResolver ASystemEnvironmentParameterResolver
is aParameterResolver
that is an environment getter for Coherence environment properties implemented usingSystem.getenv(String)
.SystemPropertyParameterResolver ASystemPropertyParameterResolver
is aParameterResolver
that is based on property methods onSystem
.Value AValue
is an immutable object that represents a value whose type is unknown at compile time.ValueMacroExpression AValueMacroExpression
is a string value potentially containing expandable macros.ValueMacroExpression.DefaultDelimiterExpansionProcessor Process macro parameter default delimiter expansion.ValueMacroExpression.MacroExpansionProcessor A Macro Expansion Processor for a macro not containing any registered delimiters.ValueMacroExpression.OffsetLengthSubstringExpansionProcessor Process:offset
and:length
substring expansion.
ValueMacroExpression.SpaceDefaultDelimiterExpansionProcessor ValueMacroExpression.SpaceDefaultDelimiterExpansionProcessor
performs DefaultDelimiter expansion processing and disambiguates: -
for offset and length from space for default delimiter.