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) booleanIterable<Expression<?>>getName()getType()inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.apple.foundationdb.relational.api.fluentsql.expression.ComparableExpressionTrait
greaterThan, greaterThanOrEquals, greatest, isEqualTo, lessThan, lessThanOrEqual, notEqualsMethods inherited from interface com.apple.foundationdb.relational.api.fluentsql.expression.NumericExpressionTrait
add, div, mod, mul, subMethods 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:
getArgumentsin interfaceFunctionLike<N extends DataType.NumericType>
-
getName
- Specified by:
getNamein interfaceFunctionLike<N extends DataType.NumericType>
-
accept
- Specified by:
acceptin interfaceExpression<N extends DataType.NumericType>
-
getType
- Specified by:
getTypein interfaceComparableExpressionTrait<N extends DataType.NumericType,Expression<N extends DataType.NumericType>> - Specified by:
getTypein interfaceExpression<N extends DataType.NumericType>- Specified by:
getTypein interfaceNumericExpressionTrait<N extends DataType.NumericType>
-
toString
-
equals
-
hashCode
public int hashCode()
-