Package org.apache.solr.analytics.function.mapping
Mapping functions to use for analytics expressions.
-
Class Summary Class Description AbsoluteValueFunction An absolute value mapping function.AddFunction An addition mapping function.BottomFunction A bottom mapping function, returning the lowest value found.ComparisonFunction Contains all comparable functions.ComparisonFunction.GTEFunction A comparison function that tests whether the first parameter is greater than or equal to the second parameterComparisonFunction.GTFunction A comparison function that tests whether the first parameter is greater than the second parameterComparisonFunction.LTEFunction A comparison function that tests whether the first parameter is less than or equal to the second parameterComparisonFunction.LTFunction A comparison function that tests whether the first parameter is less than the second parameterConcatFunction A concatenation mapping function, combining the string values of the given parameters.ConcatFunction.SeparatedConcatFunction A concatenation mapping function, combining the string values of the given parameters with a given separating string.DateMathFunction A mapping function that computes date math.DateParseFunction A mapping function that converts long or string representations of dates to actual date objects.DecimalNumericConversionFunction An abstract decimal numeric converting mapping function.DecimalNumericConversionFunction.CeilingFunction A numeric mapping function that returns the ceiling of the input.DecimalNumericConversionFunction.FloorFunction A numeric mapping function that returns the floor of the input.DecimalNumericConversionFunction.RoundFunction A numeric mapping function that returns the rounded input.DivideFunction A division mapping function.EqualFunction An equals mapping function, returning whether two values are equal.ExistsFunction A mapping function to test if a value.FillMissingFunction A mapping function to fill all non-existing values with a given value.FilterFunction A mapping function to filter a Value or ValueStream.IfFunction An if-else mapping function.LambdaFunction Lambda Functions are used to easily create basic mapping functions.LogFunction A logarithm mapping function.LogicFunction Contains all logical mapping functions.LogicFunction.AndFunction A mapping function for the logical operation AND.LogicFunction.OrFunction A mapping function for the logical operation OR.MultFunction An multiplication mapping function.NegateFunction A negation mapping function.PowerFunction A power mapping function.RemoveFunction ReplaceFunction A mapping function to replace anAnalyticsValue
from anAnalyticsValue
or anAnalyticsValueStream
with a differentAnalyticsValue
.StringCastFunction A mapping function that casts any input to aStringValue
orStringValueStream
.SubtractFunction A subtraction mapping function.TopFunction A top mapping function, returning the highest value found.