Class SqmExpressionHelper
java.lang.Object
org.hibernate.query.sqm.tree.expression.SqmExpressionHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SqmLiteral<Date>
dateLiteralFrom
(String literalText, SqmCreationState creationState) static SqmPath<?>
findPath
(SqmExpression<?> expression, SqmExpressible<?> nodeType) static SqmExpression<?>
getActualExpression
(SqmExpression<?> expression) static SqmExpression<?>
getOffsetAdjustedExpression
(SqmExpression<?> expression) static SqmLiteral<Integer>
integerLiteral
(int value, QueryEngine queryEngine) static SqmLiteral<Integer>
integerLiteral
(String literalText, SqmCreationState creationState) static SqmLiteral<Integer>
integerLiteral
(String literalText, QueryEngine queryEngine) static boolean
isCompositeTemporal
(SqmExpression<?> expression) static SqmLiteral<Time>
timeLiteralFrom
(String literalText, SqmCreationState creationState) static SqmLiteral<Timestamp>
timestampLiteralFrom
(String literalText, SqmCreationState creationState) static <T> SqmExpressible<T>
toSqmType
(BindableType<T> anticipatedType, SessionFactoryImplementor sessionFactory) static <T> SqmExpressible<T>
toSqmType
(BindableType<T> parameterType, SqmCreationState creationState) static <T> SqmExpressible<T>
toSqmType
(BindableType<T> anticipatedType, NodeBuilder nodeBuilder)
-
Constructor Details
-
SqmExpressionHelper
public SqmExpressionHelper()
-
-
Method Details
-
toSqmType
public static <T> SqmExpressible<T> toSqmType(BindableType<T> parameterType, SqmCreationState creationState) -
toSqmType
public static <T> SqmExpressible<T> toSqmType(BindableType<T> anticipatedType, NodeBuilder nodeBuilder) -
toSqmType
public static <T> SqmExpressible<T> toSqmType(BindableType<T> anticipatedType, SessionFactoryImplementor sessionFactory) -
timestampLiteralFrom
public static SqmLiteral<Timestamp> timestampLiteralFrom(String literalText, SqmCreationState creationState) -
integerLiteral
public static SqmLiteral<Integer> integerLiteral(String literalText, SqmCreationState creationState) -
integerLiteral
-
integerLiteral
-
dateLiteralFrom
-
timeLiteralFrom
-
isCompositeTemporal
-
getActualExpression
-
getOffsetAdjustedExpression
-
findPath
-