Class NumericLiteral<N extends Number,D extends DataType.NumericType>
java.lang.Object
com.apple.foundationdb.relational.api.fluentsql.expression.NumericLiteral<N,D>
- Type Parameters:
N
- The Java type of the literal.D
- The type of the expression.
- All Implemented Interfaces:
ComparableExpressionTrait<D,
,Expression<D>> Expression<D>
,Literal<N,
,D> NumericExpressionTrait<D>
,ScalarExpression<D>
@Immutable
@API(EXPERIMENTAL)
public class NumericLiteral<N extends Number,D extends DataType.NumericType>
extends Object
implements Literal<N,D>, NumericExpressionTrait<D>
This represents a numeric literal.
-
Constructor Summary
Constructors -
Method Summary
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
-
NumericLiteral
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceExpression<N extends Number>
-
getType
- Specified by:
getType
in interfaceComparableExpressionTrait<N extends Number,
D extends DataType.NumericType> - Specified by:
getType
in interfaceExpression<N extends Number>
- Specified by:
getType
in interfaceNumericExpressionTrait<N extends Number>
-
getValue
-
toString
-
hashCode
public int hashCode() -
equals
-