Class HANAUnnestFunction
java.lang.Object
org.hibernate.query.sqm.function.AbstractSqmSetReturningFunctionDescriptor
org.hibernate.query.sqm.function.AbstractSqmSelfRenderingSetReturningFunctionDescriptor
org.hibernate.dialect.function.array.UnnestFunction
org.hibernate.dialect.function.array.HANAUnnestFunction
- All Implemented Interfaces:
SetReturningFunctionRenderer, SqmSetReturningFunctionDescriptor
HANA unnest function.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> SelfRenderingSqmSetReturningFunction<T> generateSqmSetReturningFunctionExpression(List<? extends SqmTypedNode<?>> arguments, QueryEngine queryEngine) Return an SQM node or subtree representing an invocation of this function with the given arguments.protected StringgetDdlType(SqlTypedMapping sqlTypedMapping, int containerSqlTypeCode, SqlAstTranslator<?> translator) protected voidrenderJsonTable(SqlAppender sqlAppender, Expression array, BasicPluralType<?, ?> pluralType, SqlTypedMapping sqlTypedMapping, SetReturningFunctionType tupleType, String tableIdentifierVariable, SqlAstTranslator<?> walker) protected voidrenderXmlTable(SqlAppender sqlAppender, Expression array, BasicPluralType<?, ?> pluralType, SqlTypedMapping sqlTypedMapping, SetReturningFunctionType tupleType, String tableIdentifierVariable, SqlAstTranslator<?> walker) Methods inherited from class UnnestFunction
render, renderJsonTableColumns, renderUnnest, renderXmlTableColumnsMethods inherited from class AbstractSqmSetReturningFunctionDescriptor
generateSqmExpression, getArgumentListSignature, getArgumentsValidator, getArgumentTypeResolver, getName, getSetReturningTypeResolver, getSignatureMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SetReturningFunctionRenderer
rendersIdentifierVariable
-
Constructor Details
-
HANAUnnestFunction
public HANAUnnestFunction()
-
-
Method Details
-
generateSqmSetReturningFunctionExpression
protected <T> SelfRenderingSqmSetReturningFunction<T> generateSqmSetReturningFunctionExpression(List<? extends SqmTypedNode<?>> arguments, QueryEngine queryEngine) Description copied from class:AbstractSqmSetReturningFunctionDescriptorReturn an SQM node or subtree representing an invocation of this function with the given arguments. This method may be overridden in the case of function descriptors that wish to customize creation of the node.- Overrides:
generateSqmSetReturningFunctionExpressionin classAbstractSqmSelfRenderingSetReturningFunctionDescriptor- Parameters:
arguments- the arguments of the function invocation
-
renderXmlTable
@SPI(USE) protected void renderXmlTable(SqlAppender sqlAppender, Expression array, BasicPluralType<?, ?> pluralType, @Nullable SqlTypedMapping sqlTypedMapping, SetReturningFunctionType tupleType, String tableIdentifierVariable, SqlAstTranslator<?> walker) - Overrides:
renderXmlTablein classUnnestFunction
-
getDdlType
@SPI(USE) protected String getDdlType(SqlTypedMapping sqlTypedMapping, int containerSqlTypeCode, SqlAstTranslator<?> translator) - Overrides:
getDdlTypein classUnnestFunction
-
renderJsonTable
@SPI(USE) protected void renderJsonTable(SqlAppender sqlAppender, Expression array, BasicPluralType<?, ?> pluralType, @Nullable SqlTypedMapping sqlTypedMapping, SetReturningFunctionType tupleType, String tableIdentifierVariable, SqlAstTranslator<?> walker) - Overrides:
renderJsonTablein classUnnestFunction
-