Package org.hibernate.dialect.function.array
package org.hibernate.dialect.function.array
-
ClassesClassDescriptionBase descriptor for
array_contains, providing its validation and type resolution while subclasses implement database-specific rendering.Base descriptor forarray_fill, providing validation and type resolution while subclasses implement database-specific rendering.Basic array get function configuration.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.Base descriptor forarray_remove, providing validation and type resolution while subclasses implement database-specific rendering.Encapsulates the validator, return type and argument type resolvers for the array_reverse functions.Encapsulates the validator, return type and argument type resolvers for the array_sort functions.Encapsulates the validator, return type and argument type resolvers for the array_remove functions.AFunctionArgumentTypeResolverthat resolves the array argument type based on the element argument type or the element argument type based on the array argument type.AArgumentsValidatorthat validates the array type is compatible with the element type.AArgumentsValidatorthat validates the array type is compatible with the element type.Subclassable descriptor for concatenating an array and an element.Subclassable descriptor for concatenating arrays.Subclassable descriptor for array constructor expressions.AFunctionArgumentTypeResolverthat resolves the argument types for thearray_containsfunction.AArgumentsValidatorthat validates the arguments for thearray_containsfunction.Special array contains function that also applies a cast to the element argument.Subclassablearray_containsdescriptor implemented usingunnest.Implement the array get function by using[](bracket) syntax.Implement the array get function by usingunnest.AFunctionArgumentTypeResolverthat resolves the argument types for thearray_includesfunction.AArgumentsValidatorthat validates the arguments for thearray_includesfunction.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.Subclassablearray_remove_indexdescriptor implemented usingunnest.Subclassablearray_replacedescriptor implemented usingunnest.Implement the array set function by usingunnest.Implement the array slice function by usingunnest.AArgumentsValidatorthat validates all arguments are of the same array type.AFunctionReturnTypeResolverthat resolves the array type based on an argument.AFunctionReturnTypeResolverthat 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.DB2 unnest function.AFunctionReturnTypeResolverthat resolves the array element type based on an argument.H2 requires a very special emulation, becauseunnestis 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, becauseunnestis pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnestis pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnestis pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnestis pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnestis pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnestis pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnestis pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnestis pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnestis pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnestis pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 requires a very special emulation, becauseunnestis pretty much useless, due to https://github.com/h2database/h2database/issues/1815.H2 unnest function.HANA unnest function.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 sort_array function.HSQLDB has a special syntax.AFunctionReturnTypeResolverthat 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_reverse function.Oracle array_set function.Oracle array_slice function.Oracle array_sort function.Oracle array_to_string function.Oracle array_trim function.Oracle unnest function.PostgreSQL variant of the function to properly returnnullwhen the array argument is null.PostgreSQL variant of the function to properly returnnullwhen 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_reverse emulation for versions before 18.PostgreSQL array_sort emulation for versions before 18.PostgreSQL array_trim emulation, since the function was only introduced in version 14.PostgreSQL unnest function.Uses typed array literals fornullarrays likeARRAY<type>[null], to resolve ambiguity.Spanner PostgreSQL variant of the function to properly returnnullwhen the array argument is null without generating casts which Spanner doesn't support.Emulation of PostgreSQL's array_remove function for Spanner PostgreSQL dialect.Spanner PostgreSQL specific emulation of array_remove_index.Emulation of PostgreSQL's array_replace function for Spanner PostgreSQL dialect.Spanner PostgreSQL emulation for array_trim.SQL Server unnest function.Sybase ASE unnest function.Standard unnest function.