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

public Class ArrayConstructorFunction

extends AbstractSqmSelfRenderingFunctionDescriptor
Class Inheritance
Known Direct Subclasses
org.hibernate.dialect.function.array.PostgreSQLArrayConstructorFunction, org.hibernate.dialect.function.array.HSQLArrayConstructorFunction, org.hibernate.dialect.function.array.OracleArrayConstructorFunction
Imports
java.util.List, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.metamodel.mapping.JdbcMappingContainer, org.hibernate.query.ReturnableType, org.hibernate.query.sqm.SqmExpressible, org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor, org.hibernate.query.sqm.internal.TypecheckUtil, org.hibernate.query.sqm.produce.function.ArgumentsValidator, .FunctionArgumentException, .StandardFunctionArgumentTypeResolvers, org.hibernate.query.sqm.tree.SqmTypedNode, org.hibernate.sql.ast.SqlAstTranslator, org.hibernate.sql.ast.spi.SqlAppender, org.hibernate.sql.ast.tree.SqlAstNode, org.hibernate.sql.ast.tree.expression.Expression, org.hibernate.type.BottomType, org.hibernate.type.spi.TypeConfiguration

Deprecated

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private final boolean

Constructor Summary

AccessConstructor and Description
public
ArrayConstructorFunction(boolean list, boolean withKeyword)

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor:
generateSqmAggregateFunctionExpressiongenerateSqmFunctionExpressiongenerateSqmOrderedSetAggregateFunctionExpressiongenerateSqmWindowFunctionExpressiongetFunctionKind

Field Detail

withKeywordback to summary
private final boolean withKeyword

Constructor Detail

ArrayConstructorFunctionback to summary
public ArrayConstructorFunction(boolean list, boolean withKeyword)

Method Detail

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
org.hibernate.dialect.function.array back to summary

private Class ArrayConstructorFunction.ArrayConstructorArgumentsValidator

extends Object
implements ArgumentsValidator
Class Inheritance
  • java.lang.Object
  • org.hibernate.dialect.function.array.ArrayConstructorFunction.ArrayConstructorArgumentsValidator
All Implemented Interfaces
org.hibernate.query.sqm.produce.function.ArgumentsValidator

Field Summary

Modifier and TypeField and Description
public static final ArgumentsValidator

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)

Overrides default org.hibernate.query.sqm.produce.function.ArgumentsValidator.validate.

Perform validation that may be done using the SqmTypedNode tree and assigned Java types.
public void
validateSqlTypes(List<? extends SqlAstNode> arguments, String functionName)

Overrides default org.hibernate.query.sqm.produce.function.ArgumentsValidator.validateSqlTypes.

Perform validation that requires the SqlAstNode tree and assigned JDBC types.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ArgumentsValidator INSTANCE

Constructor Detail

ArrayConstructorArgumentsValidatorback to summary
private ArrayConstructorArgumentsValidator()

Method Detail

validateback to summary
public void validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)

Overrides default org.hibernate.query.sqm.produce.function.ArgumentsValidator.validate.

Doc from org.hibernate.query.sqm.produce.function.ArgumentsValidator.validate.

Perform validation that may be done using the SqmTypedNode tree and assigned Java types.

Annotations
@Override
validateSqlTypesback to summary
public void validateSqlTypes(List<? extends SqlAstNode> arguments, String functionName)

Overrides default org.hibernate.query.sqm.produce.function.ArgumentsValidator.validateSqlTypes.

Doc from org.hibernate.query.sqm.produce.function.ArgumentsValidator.validateSqlTypes.

Perform validation that requires the SqlAstNode tree and assigned JDBC types.

Annotations
@Override