Class BinaryLiteral
- java.lang.Object
-
- org.datanucleus.store.rdbms.sql.expression.SQLExpression
-
- org.datanucleus.store.rdbms.sql.expression.BinaryExpression
-
- org.datanucleus.store.rdbms.sql.expression.BinaryLiteral
-
public class BinaryLiteral extends BinaryExpression
Representation of a Binary literal.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
SQLExpression.ColumnExpressionList
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Byte[]
value
-
Fields inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
lowestOperator, mapping, parameterName, st, stmt, subExprs, table
-
-
Constructor Summary
Constructors Constructor Description BinaryLiteral(SQLStatement stmt, JavaTypeMapping mapping, java.lang.Object value, java.lang.String parameterName)
Creates a binary (byte[]) literal.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValue()
protected void
setStatement()
-
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.BinaryExpression
eq, gt, gteq, in, lt, lteq, noteq
-
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
add, and, bitAnd, bitOr, cast, com, distinct, div, encloseInParentheses, eor, ge, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, invoke, ior, is, isParameter, le, mod, mul, ne, neg, not, setJavaTypeMapping, sub, toSQLText, unDistinct
-
-
-
-
Constructor Detail
-
BinaryLiteral
public BinaryLiteral(SQLStatement stmt, JavaTypeMapping mapping, java.lang.Object value, java.lang.String parameterName)
Creates a binary (byte[]) literal.- Parameters:
stmt
- the SQL statementmapping
- the mappingvalue
- the valueparameterName
- Name of the parameter that this represents (as JDBC "?")
-
-