Class SpannerFormatFunction
java.lang.Object
org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
org.hibernate.dialect.function.FormatFunction
org.hibernate.dialect.function.SpannerFormatFunction
- All Implemented Interfaces:
FunctionRenderer, SqmFunctionDescriptor
The format function for Spanner.
It uses FORMAT_DATE for temporal type date and FORMAT_TIMESTAMP for temporal type time and timestamp.
-
Nested Class Summary
Nested classes/interfaces inherited from class FormatFunction
FormatFunction.FormatSqmFunction<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Methods inherited from class FormatFunction
generateSqmFunctionExpression, getArgumentListSignatureMethods inherited from class AbstractSqmFunctionDescriptor
generateAggregateSqmExpression, generateOrderedSetAggregateSqmExpression, generateSqmAggregateFunctionExpression, generateSqmExpression, generateSqmOrderedSetAggregateFunctionExpression, generateSqmWindowFunctionExpression, generateWindowSqmExpression, getArgumentsValidator, getArgumentTypeResolver, getName, getReturnSignature, getReturnTypeResolver, getSignatureMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FunctionRenderer
render, render, render, renderMethods inherited from interface SqmFunctionDescriptor
alwaysIncludesParentheses, generateSqmExpression, generateSqmExpression, getFunctionKind, isPredicate
-
Constructor Details
-
SpannerFormatFunction
-
-
Method Details
-
render
public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) - Specified by:
renderin interfaceFunctionRenderer- Overrides:
renderin classFormatFunction
-