java.lang.Object
org.litebridgedb.db.spi.expression.LiteralExpression
- All Implemented Interfaces:
SelectExpression
An encapsulated literal value in a query expression.
-
Constructor Summary
ConstructorsConstructorDescriptionLiteralExpression(@Nullable Object value) Constructs a newLiteralExpressionwith the given value. -
Method Summary
-
Constructor Details
-
LiteralExpression
Constructs a newLiteralExpressionwith the given value.- Parameters:
value- the literal value to be represented
-
-
Method Details
-
value
Retrieves the value of this literal expression.- Returns:
- the literal value encapsulated by this expression
-
toSql
Description copied from interface:SelectExpressionCreates a SQL representation of the expression.- Specified by:
toSqlin interfaceSelectExpression- Parameters:
operation- the operation that is being executed- Returns:
- the SQL representation of the expression
-
toBindValueSql
-
equals
-
hashCode
public int hashCode() -
toString
-