Class GaussDBTruncFunction
java.lang.Object
org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
org.hibernate.dialect.function.TruncFunction
org.hibernate.community.dialect.function.GaussDBTruncFunction
- All Implemented Interfaces:
org.hibernate.query.sqm.function.SqmFunctionDescriptor
public class GaussDBTruncFunction
extends org.hibernate.dialect.function.TruncFunction
Custom
TruncFunction for GaussDB which uses the dialect-specific function for numeric truncation-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.dialect.function.TruncFunction
org.hibernate.dialect.function.TruncFunction.DatetimeTrunc, org.hibernate.dialect.function.TruncFunction.TruncArgumentsValidator, org.hibernate.dialect.function.TruncFunction.TruncRenderingSupport -
Field Summary
Fields inherited from class org.hibernate.dialect.function.TruncFunction
datetimeRenderingSupport, numericRenderingSupport -
Constructor Summary
ConstructorsConstructorDescriptionGaussDBTruncFunction(boolean supportsTwoArguments, org.hibernate.type.spi.TypeConfiguration typeConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> org.hibernate.query.sqm.function.SelfRenderingSqmFunction<T> generateSqmFunctionExpression(List<? extends org.hibernate.query.sqm.tree.SqmTypedNode<?>> arguments, org.hibernate.metamodel.model.domain.ReturnableType<T> impliedResultType, org.hibernate.query.spi.QueryEngine queryEngine) Methods inherited from class org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
generateAggregateSqmExpression, generateOrderedSetAggregateSqmExpression, generateSqmAggregateFunctionExpression, generateSqmExpression, generateSqmOrderedSetAggregateFunctionExpression, generateSqmWindowFunctionExpression, generateWindowSqmExpression, getArgumentListSignature, getArgumentsValidator, getArgumentTypeResolver, getName, getReturnSignature, getReturnTypeResolver, getSignatureMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.sqm.function.SqmFunctionDescriptor
alwaysIncludesParentheses, generateSqmExpression, generateSqmExpression, getFunctionKind, isPredicate
-
Constructor Details
-
GaussDBTruncFunction
public GaussDBTruncFunction(boolean supportsTwoArguments, org.hibernate.type.spi.TypeConfiguration typeConfiguration)
-
-
Method Details
-
generateSqmFunctionExpression
protected <T> org.hibernate.query.sqm.function.SelfRenderingSqmFunction<T> generateSqmFunctionExpression(List<? extends org.hibernate.query.sqm.tree.SqmTypedNode<?>> arguments, org.hibernate.metamodel.model.domain.ReturnableType<T> impliedResultType, org.hibernate.query.spi.QueryEngine queryEngine) - Overrides:
generateSqmFunctionExpressionin classorg.hibernate.dialect.function.TruncFunction
-