Top Description Constructors Methods
org.hibernate.dialect.function

public Class DB2PositionFunction

extends AbstractSqmSelfRenderingFunctionDescriptor
Class Inheritance
Imports
java.util.List, org.hibernate.query.ReturnableType, org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor, org.hibernate.query.sqm.produce.function.ArgumentTypesValidator, .StandardArgumentsValidators, .StandardFunctionArgumentTypeResolvers, .StandardFunctionReturnTypeResolvers, org.hibernate.sql.ast.SqlAstTranslator, org.hibernate.sql.ast.spi.SqlAppender, org.hibernate.sql.ast.tree.SqlAstNode, org.hibernate.type.StandardBasicTypes, org.hibernate.type.spi.TypeConfiguration

Deprecated

as a consequence of AbstractSqmSelfRenderingFunctionDescriptor being deprecated. See corresponding docs for further information.

DB2's position() function always requires a code unit before version 11.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getSignature(String
the function name
name
)

Overrides org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor.getSignature.

Overrides default org.hibernate.query.sqm.function.SqmFunctionDescriptor.getSignature.

Used only for pretty-printing the function signature in the log.
public void
Inherited from org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor:
generateSqmAggregateFunctionExpressiongenerateSqmFunctionExpressiongenerateSqmOrderedSetAggregateFunctionExpressiongenerateSqmWindowFunctionExpressiongetFunctionKind

Constructor Detail

DB2PositionFunctionback to summary
public DB2PositionFunction(TypeConfiguration typeConfiguration)

Method Detail

getSignatureback to summary
public String getSignature(String name)

Overrides org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor.getSignature.

Overrides default org.hibernate.query.sqm.function.SqmFunctionDescriptor.getSignature.

Doc from org.hibernate.query.sqm.function.SqmFunctionDescriptor.getSignature.

Used only for pretty-printing the function signature in the log.

Parameters
name:String

the function name

Returns:String

the signature of the function

Annotations
@Override
renderback to summary
public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> arguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)

Overrides org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor.render.

Implements org.hibernate.query.sqm.function.FunctionRenderer.render.

Annotations
@Override