Class LiteralAsParameter<T>
- java.lang.Object
-
- org.hibernate.sql.ast.tree.expression.LiteralAsParameter<T>
-
- All Implemented Interfaces:
SqlSelectionProducer
,Expression
,SelfRenderingExpression
,SqlAstNode
public class LiteralAsParameter<T> extends Object implements SelfRenderingExpression
A wrapper for a literal to render as parameter through a cast function.- See Also:
AbstractSqlAstTranslator
-
-
Constructor Summary
Constructors Constructor Description LiteralAsParameter(Literal literal, String parameterMarker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JdbcMappingContainer
getExpressionType()
The type for this expressionLiteral
getLiteral()
void
renderToSql(SqlAppender sqlAppender, SqlAstTranslator<?> walker, SessionFactoryImplementor sessionFactory)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Methods inherited from interface org.hibernate.sql.ast.tree.expression.SelfRenderingExpression
accept
-
-
-
-
Method Detail
-
renderToSql
public void renderToSql(SqlAppender sqlAppender, SqlAstTranslator<?> walker, SessionFactoryImplementor sessionFactory)
- Specified by:
renderToSql
in interfaceSelfRenderingExpression
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-
getLiteral
public Literal getLiteral()
-
-