Package org.apache.calcite.linq4j.function
Contains definitions of functions and predicates.
-
Interface Summary Interface Description BigDecimalFunction1<T0> Function that takes one parameter and returns aBigDecimalvalue.DoubleFunction1<T0> Function that takes one parameter and returns a nativedoublevalue.EqualityComparer<T> Compares values for equality.FloatFunction1<T0> Function that takes one parameter and returns a nativefloatvalue.Function<R> Base interface for all functions.Function0<R> Function with no parameters.Function1<T0,R> Function with one parameter.Function2<T0,T1,R> Function with two parameters.IntegerFunction1<T0> Function that takes one parameter and returns a nativeintvalue.LongFunction1<T0> Function that takes one parameter and returns a nativelongvalue.NullableBigDecimalFunction1<T0> Function that takes one parameter and returns aBigDecimalvalue that may be null.NullableDoubleFunction1<T0> Function that takes one parameter and returns aDoublevalue that may be null.NullableFloatFunction1<T0> Function that takes one parameter and returns aFloatvalue that may be null.NullableIntegerFunction1<T0> Function that takes one parameter and returns anIntegervalue that may be null.NullableLongFunction1<T0> Function that takes one parameter and returns aLongvalue that may be null.Predicate1<T0> Function with one parameter returning a nativebooleanvalue.Predicate2<T0,T1> Function with two parameters returning a nativebooleanvalue. -
Class Summary Class Description Functions Utilities relating to functions.Functions.ArrayEqualityComparer Array equality comparer.Functions.GeneratingList<E> List that generates each element using a function.Functions.IdentityEqualityComparer Identity equality comparer.Functions.Ignore<R,T0,T1> Ignore.Functions.NullsFirstComparator Nulls first comparator.Functions.NullsFirstReverseComparator Nulls first reverse comparator.Functions.NullsLastComparator Nulls last comparator.Functions.NullsLastReverseComparator Nulls last reverse comparator.Functions.SelectorEqualityComparer<T,T2> Selector equality comparer. -
Annotation Types Summary Annotation Type Description Deterministic Specifies that function is deterministic (i.e.Experimental Annotation that indicates that a class, interface, field or method is experimental, not part of the public API, and subject to change or removal.NonDeterministic Specifies that function is NOT deterministic (i.e.Parameter Annotation that supplies metadata about a function parameter.SemiStrict Annotation applied to a user-defined function that indicates that the function always returns null if one or more of its arguments are null but also may return null at other times.Strict Annotation applied to a user-defined function that indicates that the function returns null if and only if one or more of its arguments are null.