Class UnparsedNumericLiteral<N extends Number>
java.lang.Object
org.hibernate.sql.ast.tree.expression.UnparsedNumericLiteral<N>
- All Implemented Interfaces:
org.hibernate.query.sqm.sql.internal.DomainResultProducer<N>, SqlSelectionProducer, Expression, Literal, SqlAstNode, JdbcParameterBinder
-
Field Summary
Fields inherited from interface JdbcParameterBinder
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionUnparsedNumericLiteral(String literalValue, NumericTypeCategory typeCategory, JdbcMapping jdbcMapping) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker sqlTreeWalker) voidapplySqlSelections(DomainResultCreationState creationState) voidbindParameterValue(PreparedStatement statement, int startPosition, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext) Bind the appropriate value in the JDBC statementcreateDomainResult(String resultVariable, DomainResultCreationState creationState) The type for this expressionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Constructor Details
-
UnparsedNumericLiteral
public UnparsedNumericLiteral(String literalValue, NumericTypeCategory typeCategory, JdbcMapping jdbcMapping)
-
-
Method Details
-
getLiteralValue
- Specified by:
getLiteralValuein interfaceLiteral
-
bindParameterValue
public void bindParameterValue(PreparedStatement statement, int startPosition, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext) throws SQLException Description copied from interface:JdbcParameterBinderBind the appropriate value in the JDBC statement- Specified by:
bindParameterValuein interfaceJdbcParameterBinder- Throws:
SQLException
-
getUnparsedLiteralValue
-
getJdbcMapping
- Specified by:
getJdbcMappingin interfaceLiteral
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-
createDomainResult
public DomainResult<N> createDomainResult(String resultVariable, DomainResultCreationState creationState) -
applySqlSelections
-
accept
- Specified by:
acceptin interfaceSqlAstNode
-