Top Description Constructors Methods
org.hibernate.dialect.function.array

public Class PostgreSQLArrayTrimEmulation

extends AbstractArrayTrimFunction
Class Inheritance
Imports
java.util.List, org.hibernate.metamodel.model.domain.DomainType, org.hibernate.query.ReturnableType, org.hibernate.sql.ast.SqlAstTranslator, org.hibernate.sql.ast.spi.SqlAppender, org.hibernate.sql.ast.tree.SqlAstNode, org.hibernate.type.BasicPluralType, .BasicType

Deprecated

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

PostgreSQL array_trim emulation, since the function was only introduced in version 14.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static boolean
needsArrayCasting(BasicType<?> elementType)

public void

Constructor Detail

PostgreSQLArrayTrimEmulationback to summary
public PostgreSQLArrayTrimEmulation()

Method Detail

needsArrayCastingback to summary
private static boolean needsArrayCasting(BasicType<?> elementType)
renderback to summary
public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)

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

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

Annotations
@Override