Class BooleanLiteral
java.lang.Object
com.apple.foundationdb.relational.api.fluentsql.expression.BooleanLiteral
- All Implemented Interfaces:
BooleanExpressionTrait
,ComparableExpressionTrait<DataType.BooleanType,
,Expression<DataType.BooleanType>> Expression<DataType.BooleanType>
,Literal<Boolean,
,DataType.BooleanType> ScalarExpression<DataType.BooleanType>
@Immutable
@API(EXPERIMENTAL)
public final class BooleanLiteral
extends Object
implements Literal<Boolean,DataType.BooleanType>, BooleanExpressionTrait
This represents a boolean literal.
-
Method Summary
Modifier and TypeMethodDescription<R,
C> R accept
(FluentVisitor<R, C> visitor, C context) boolean
static BooleanLiteral
getType()
getValue()
int
hashCode()
static BooleanLiteral
toString()
static BooleanLiteral
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.BooleanExpressionTrait
and, nested, not, or
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
-
Method Details
-
accept
- Specified by:
accept
in interfaceExpression<DataType.BooleanType>
-
getValue
- Specified by:
getValue
in interfaceLiteral<Boolean,
DataType.BooleanType>
-
trueLiteral
-
falseLiteral
-
nullLiteral
-
getType
- Specified by:
getType
in interfaceComparableExpressionTrait<DataType.BooleanType,
Expression<DataType.BooleanType>> - Specified by:
getType
in interfaceExpression<DataType.BooleanType>
-
toString
-
equals
-
hashCode
public int hashCode()
-