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

public abstract Class AbstractArrayFillFunction

extends AbstractSqmSelfRenderingFunctionDescriptor
Class Inheritance
Known Direct Subclasses
org.hibernate.dialect.function.array.CockroachArrayFillFunction, org.hibernate.dialect.function.array.H2ArrayFillFunction, org.hibernate.dialect.function.array.HSQLArrayFillFunction, org.hibernate.dialect.function.array.OracleArrayFillFunction, org.hibernate.dialect.function.array.PostgreSQLArrayFillFunction
Imports
org.hibernate.metamodel.mapping.MappingModelExpressible, org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor, org.hibernate.query.sqm.produce.function.ArgumentTypesValidator, .FunctionArgumentTypeResolver, .FunctionParameterType, org.hibernate.query.sqm.sql.SqmToSqlAstConverter, org.hibernate.query.sqm.tree.expression.SqmFunction, org.hibernate.type.BasicPluralType

Deprecated

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

Encapsulates the validator, return type and argument type resolvers for the array_contains function. Subclasses only have to implement the rendering.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor:
generateSqmAggregateFunctionExpressiongenerateSqmFunctionExpressiongenerateSqmOrderedSetAggregateFunctionExpressiongenerateSqmWindowFunctionExpressiongetFunctionKindrender

Constructor Detail

AbstractArrayFillFunctionback to summary
public AbstractArrayFillFunction(boolean list)

Method Detail

getArgumentListSignatureback to summary
public String getArgumentListSignature()

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

Annotations
@Override
org.hibernate.dialect.function.array back to summary

private Class AbstractArrayFillFunction.ArrayFillArgumentsValidator

extends Object
implements FunctionArgumentTypeResolver
Class Inheritance
  • java.lang.Object
  • org.hibernate.dialect.function.array.AbstractArrayFillFunction.ArrayFillArgumentsValidator
All Implemented Interfaces
org.hibernate.query.sqm.produce.function.FunctionArgumentTypeResolver

Field Summary

Modifier and TypeField and Description
public static final FunctionArgumentTypeResolver

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public MappingModelExpressible<?>
resolveFunctionArgumentType(SqmFunction<?> function, int argumentIndex, SqmToSqlAstConverter converter)

Implements org.hibernate.query.sqm.produce.function.FunctionArgumentTypeResolver.resolveFunctionArgumentType.

Resolve the argument type for a function given its context-implied return type.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final FunctionArgumentTypeResolver INSTANCE

Constructor Detail

ArrayFillArgumentsValidatorback to summary
private ArrayFillArgumentsValidator()

Method Detail

resolveFunctionArgumentTypeback to summary
public MappingModelExpressible<?> resolveFunctionArgumentType(SqmFunction<?> function, int argumentIndex, SqmToSqlAstConverter converter)

Implements org.hibernate.query.sqm.produce.function.FunctionArgumentTypeResolver.resolveFunctionArgumentType.

Doc from org.hibernate.query.sqm.produce.function.FunctionArgumentTypeResolver.resolveFunctionArgumentType.

Resolve the argument type for a function given its context-implied return type.

The context-implied type is the type implied by where the function occurs in the query. E.g., for an equality predicate (`something = some_function`) the implied type would be defined by the type of `something`.

Returns:MappingModelExpressible<?>

The resolved type.

Annotations
@Override