Class NumericFunction<N extends DataType.NumericType>
java.lang.Object
com.apple.foundationdb.relational.api.fluentsql.expression.NumericFunction<N>
- Type Parameters:
N
- The type of the function.
- All Implemented Interfaces:
ComparableExpressionTrait<N,
,Expression<N>> Expression<N>
,FunctionLike<N>
,NumericExpressionTrait<N>
,ScalarExpression<N>
@Immutable
@API(EXPERIMENTAL)
public class NumericFunction<N extends DataType.NumericType>
extends Object
implements NumericExpressionTrait<N>, FunctionLike<N>
This represents a numeric function. Please note that this does not support any kind of SQL-like implicit casting at
the moment.
-
Constructor Summary
Constructors -
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.NumericExpressionTrait
add, div, mod, mul, sub
Methods inherited from interface com.apple.foundationdb.relational.api.fluentsql.expression.ScalarExpression
isNotNull, isNull
-
Constructor Details
-
NumericFunction
public NumericFunction(@Nonnull N type, @Nonnull Operation operator, @Nonnull List<Expression<?>> args)
-
-
Method Details
-
getArguments
- Specified by:
getArguments
in interfaceFunctionLike<N extends DataType.NumericType>
-
getName
- Specified by:
getName
in interfaceFunctionLike<N extends DataType.NumericType>
-
accept
- Specified by:
accept
in interfaceExpression<N extends DataType.NumericType>
-
getType
- Specified by:
getType
in interfaceComparableExpressionTrait<N extends DataType.NumericType,
Expression<N extends DataType.NumericType>> - Specified by:
getType
in interfaceExpression<N extends DataType.NumericType>
- Specified by:
getType
in interfaceNumericExpressionTrait<N extends DataType.NumericType>
-
toString
-
equals
-
hashCode
public int hashCode()
-