Package org.hibernate.dialect.function.array
package org.hibernate.dialect.function.array
-
ClassesClassDescriptionEncapsulates the validator, return type and argument type resolvers for the array_contains function.Encapsulates the validator, return type and argument type resolvers for the array_contains function.Encapsulates the validator, return type and argument type resolvers for the array_includes function.Encapsulates the validator, return type and argument type resolvers for the array_intersects function.Encapsulates the validator, return type and argument type resolvers for the array_position functions.Encapsulates the validator, return type and argument type resolvers for the array_positions functions.Encapsulates the validator, return type and argument type resolvers for the array_remove functions.Encapsulates the validator, return type and argument type resolvers for the array_remove functions.A
FunctionArgumentTypeResolver
that resolves the array argument type based on the element argument type or the element argument type based on the array argument type.AArgumentsValidator
that validates the array type is compatible with the element type.AArgumentsValidator
that validates the array type is compatible with the element type.Concatenation function for array and an element.Concatenation function for arrays.AFunctionArgumentTypeResolver
that resolves the argument types for thearray_contains
function.AArgumentsValidator
that validates the arguments for thearray_contains
function.Special array contains function that also applies a cast to the element argument.Implement the array contains function by usingunnest
.Implement the array get function by usingunnest
.AFunctionArgumentTypeResolver
that resolves the argument types for thearray_includes
function.AArgumentsValidator
that validates the arguments for thearray_includes
function.Special array includes implementation that uses the PostgreSQL@>
operator.Implement the array includes function by usingunnest
.Array intersects function that uses the PostgreSQL&&
operator.Implement the intersects function by usingunnest
.Implement the array remove index function by usingunnest
.Implement the array replace function by usingunnest
.Implement the array set function by usingunnest
.Implement the array slice function by usingunnest
.AArgumentsValidator
that validates all arguments are of the same array type.AFunctionReturnTypeResolver
that resolves the array type based on an argument.AFunctionReturnTypeResolver
that resolves an array type based on the arguments, which are supposed to be of the element type.Implement the array fill function by usinggenerate_series
.AFunctionReturnTypeResolver
that resolves the array element type based on an argument.H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.Implement the array fill function by usingsystem_range
.H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.Implement the array fill function by usingsequence_array
.HSQLDB has a special syntax.HSQLDB has a special syntax.HSQLDB array_remove function.HSQLDB array_set function.HSQLDB has a special syntax.AFunctionReturnTypeResolver
that resolves a JSON encoded array type based on the arguments, which are supposed to be of the element type.Oracle concatenation function for array and an element.Oracle concatenation function for arrays.Oracle array_fill function.Oracle array_get function.Oracle array_remove function.Oracle array_remove_index function.Oracle array_replace function.Oracle array_set function.Oracle array_slice function.Oracle array_to_string function.Oracle array_trim function.PostgreSQL variant of the function to properly returnnull
when the array argument is null.PostgreSQL variant of the function to properly returnnull
when one of the arguments is null.Special array constructor function that also applies a cast to the array literal, based on the inferred result type.Custom casting for the array fill function.PostgreSQL variant of the function.PostgreSQL variant of the function.PostgreSQL array_trim emulation, since the function was only introduced in version 14.