Class ComparableFunction<P extends DataType,T extends Expression<P>>
java.lang.Object
com.apple.foundationdb.relational.api.fluentsql.expression.ComparableFunction<P,T>
- Type Parameters:
P
- The data type of the comparable expression.T
- The type of argument expression(s).
- All Implemented Interfaces:
ComparableExpressionTrait<P,
,T> Expression<P>
,FunctionLike<P>
,ScalarExpression<P>
@Immutable
@API(EXPERIMENTAL)
public class ComparableFunction<P extends DataType,T extends Expression<P>>
extends Object
implements ComparableExpressionTrait<P,T>, FunctionLike<P>
Represents a comparable function.
-
Constructor Summary
ConstructorsConstructorDescriptionComparableFunction
(P type, Operation operator, com.google.common.collect.ImmutableList<ComparableExpressionTrait<P, T>> args) -
Method Summary
Modifier and TypeMethodDescription<R,
C> R accept
(FluentVisitor<R, C> visitor, C context) boolean
Iterable<Expression<?>>
getName()
getType()
int
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.apple.foundationdb.relational.api.fluentsql.expression.ComparableExpressionTrait
greaterThan, greaterThanOrEquals, greatest, isEqualTo, lessThan, lessThanOrEqual, notEquals
Methods inherited from interface com.apple.foundationdb.relational.api.fluentsql.expression.ScalarExpression
isNotNull, isNull
-
Constructor Details
-
ComparableFunction
public ComparableFunction(@Nonnull P type, @Nonnull Operation operator, @Nonnull com.google.common.collect.ImmutableList<ComparableExpressionTrait<P, T>> args)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceExpression<P extends DataType>
-
getType
- Specified by:
getType
in interfaceComparableExpressionTrait<P extends DataType,
T extends Expression<P>> - Specified by:
getType
in interfaceExpression<P extends DataType>
-
getArguments
- Specified by:
getArguments
in interfaceFunctionLike<P extends DataType>
-
getName
- Specified by:
getName
in interfaceFunctionLike<P extends DataType>
-
toString
-
equals
-
hashCode
public int hashCode()
-