Class GaussDBArrayContainsOperatorFunction
java.lang.Object
org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
org.hibernate.dialect.function.array.AbstractArrayContainsFunction
org.hibernate.dialect.function.array.ArrayContainsUnnestFunction
org.hibernate.community.dialect.function.array.GaussDBArrayContainsOperatorFunction
- All Implemented Interfaces:
org.hibernate.query.sqm.function.FunctionRenderer, org.hibernate.query.sqm.function.SqmFunctionDescriptor
public class GaussDBArrayContainsOperatorFunction
extends org.hibernate.dialect.function.array.ArrayContainsUnnestFunction
Special array contains function that also applies a cast to the element argument. PostgreSQL needs this,
because by default it assumes a
text[], which is not compatible with varchar[].-
Field Summary
Fields inherited from class org.hibernate.dialect.function.array.AbstractArrayContainsFunction
LOG, nullable -
Constructor Summary
ConstructorsConstructorDescriptionGaussDBArrayContainsOperatorFunction(boolean nullable, org.hibernate.type.spi.TypeConfiguration typeConfiguration) -
Method Summary
Methods inherited from class org.hibernate.dialect.function.array.AbstractArrayContainsFunction
getArgumentListSignatureMethods inherited from class org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
filterClauseSupported, generateSqmAggregateFunctionExpression, generateSqmFunctionExpression, generateSqmOrderedSetAggregateFunctionExpression, generateSqmWindowFunctionExpression, getFunctionKindMethods inherited from class org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
generateAggregateSqmExpression, generateOrderedSetAggregateSqmExpression, generateSqmExpression, 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 org.hibernate.query.sqm.function.FunctionRenderer
render, render, render, renderMethods inherited from interface org.hibernate.query.sqm.function.SqmFunctionDescriptor
alwaysIncludesParentheses, generateSqmExpression, generateSqmExpression, isPredicate
-
Constructor Details
-
GaussDBArrayContainsOperatorFunction
public GaussDBArrayContainsOperatorFunction(boolean nullable, org.hibernate.type.spi.TypeConfiguration typeConfiguration)
-
-
Method Details
-
render
public void render(org.hibernate.sql.ast.spi.SqlAppender sqlAppender, List<? extends org.hibernate.sql.ast.tree.SqlAstNode> sqlAstArguments, org.hibernate.metamodel.model.domain.ReturnableType<?> returnType, org.hibernate.sql.ast.SqlAstTranslator<?> walker) - Specified by:
renderin interfaceorg.hibernate.query.sqm.function.FunctionRenderer- Overrides:
renderin classorg.hibernate.dialect.function.array.ArrayContainsUnnestFunction
-