Uses of Interface
org.hibernate.query.sqm.function.FunctionRenderer
-
Packages that use FunctionRenderer Package Description org.hibernate.dialect.function Contains implementations ofSqmFunctionDescriptor
describing a range of relatively-sophisticated SQL functions available in various dialects.org.hibernate.dialect.function.array org.hibernate.metamodel.mapping.ordering.ast org.hibernate.query.sqm.function An SPI for defining, registering, and rendering functions in HQL.org.hibernate.spatial.dialect.hana org.hibernate.spatial.dialect.oracle -
-
Uses of FunctionRenderer in org.hibernate.dialect.function
Classes in org.hibernate.dialect.function that implement FunctionRenderer Modifier and Type Class Description class
AvgFunction
class
CaseLeastGreatestEmulation
Some databases don't have a function likeleast()
orgreatest()
, and on those platforms we emulate the function usingcase
.class
CastFunction
ANSI SQL-inspiredcast()
function, where the target types are enumerated byCastType
, and portability is achieved by delegating toDialect.castPattern(CastType, CastType)
.class
CastingConcatFunction
class
ChrLiteralEmulation
A chr implementation that translates integer literals to string literals.class
ConcatPipeFunction
A concat function with a pattern for clob arguments.class
CountFunction
class
CurrentFunction
A "function" with no parameters that returns the current date, time, or timestamp.class
DateTruncEmulation
Emulation oftrunc(datetime, temporal_unit)
function that leverages formatting the datetime to string and back to truncate itclass
DB2FormatEmulation
DB2's varchar_format() can't handle quoted literal strings in the format pattern.class
DB2PositionFunction
DB2's position() function always requires a code unit before version 11.class
DB2SubstringFunction
DB2's substring() function requires a code unit and substr() can't optionally take it, so we render substr() by default.class
DerbyLpadEmulation
A derby implementation for lpad.class
DerbyRpadEmulation
A derby implementation for rpad.class
EveryAnyEmulation
Most databases don't have a function likeevery()
orany()
.class
ExtractFunction
ANSI SQL-inspiredextract()
function, where the date/time fields are enumerated byTemporalUnit
, and portability is achieved by delegating toDialect.extractPattern(TemporalUnit)
.class
FormatFunction
A format function with support for composite temporal expressions.class
HypotheticalSetFunction
class
HypotheticalSetWindowEmulation
class
IntegralTimestampaddFunction
Used in place ofTimestampaddFunction
for databases which don't support fractional seconds in thetimestampadd()
function.class
InverseDistributionFunction
class
InverseDistributionWindowEmulation
class
LengthFunction
A length function with separate patterns for string and clob argument.class
ListaggFunction
class
ListaggGroupConcatEmulation
class
ListaggStringAggEmulation
class
MinMaxCaseEveryAnyEmulation
Most databases don't have a function likeevery()
orany()
.class
ModeStatsModeEmulation
class
PostgreSQLMinMaxFunction
PostgreSQL doesn't support min/max for uuid yet, but since that type is comparable we want to support this operation.class
PostgreSQLTruncRoundFunction
PostgreSQL only supports the two-argumenttrunc
andround
functions with the following signatures:trunc(numeric, integer)
round(numeric, integer)
class
QuantifiedLeastGreatestEmulation
class
SqlColumn
class
SqlFunction
A function to pass through a SQL fragment.class
SQLServerEveryAnyEmulation
SQL Server doesn't have a function likeevery()
orany()
.class
SQLServerFormatEmulation
SQL Server behaves strangely when the first argument to format is of the type time, so we cast to datetime.class
StandardSQLFunction
Simplified API allowing users to contributeSqmFunctionDescriptor
s to HQL.class
TimestampaddFunction
Thetimestampadd()
ordateadd()
function has a funny syntax which accepts aTemporalUnit
as the first argument, and the actual set of accepted units varies widely.class
TimestampdiffFunction
Thetimestampdiff()
ordatediff()
function has a funny syntax which accepts aTemporalUnit
as the first argument, and the actual set of accepted units varies widely.class
TransactSQLStrFunction
A special function that renders a T-SQLstr()
function if more than a single argument is given, or otherwise renders acast()
expression just likeCastStrEmulation
.class
TrimFunction
ANSI SQL-standardtrim()
function, which has a funny syntax involving aTrimSpec
, and portability is achieved usingDialect.trimPattern(TrimSpec, boolean)
.protected static class
TruncFunction.TruncRenderingSupport
Constructors in org.hibernate.dialect.function with parameters of type FunctionRenderer Constructor Description FormatSqmFunction(SqmFunctionDescriptor descriptor, FunctionRenderer renderer, List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, ArgumentsValidator argumentsValidator, FunctionReturnTypeResolver returnTypeResolver, boolean supportsPatternLiterals, QueryEngine queryEngine)
-
Uses of FunctionRenderer in org.hibernate.dialect.function.array
Classes in org.hibernate.dialect.function.array that implement FunctionRenderer Modifier and Type Class Description class
AbstractArrayContainsFunction
Encapsulates the validator, return type and argument type resolvers for the array_contains function.class
AbstractArrayFillFunction
Encapsulates the validator, return type and argument type resolvers for the array_contains function.class
AbstractArrayIncludesFunction
Encapsulates the validator, return type and argument type resolvers for the array_includes function.class
AbstractArrayIntersectsFunction
Encapsulates the validator, return type and argument type resolvers for the array_intersects function.class
AbstractArrayPositionFunction
Encapsulates the validator, return type and argument type resolvers for the array_position functions.class
AbstractArrayPositionsFunction
Encapsulates the validator, return type and argument type resolvers for the array_positions functions.class
AbstractArrayRemoveFunction
Encapsulates the validator, return type and argument type resolvers for the array_remove functions.class
AbstractArrayTrimFunction
Encapsulates the validator, return type and argument type resolvers for the array_remove functions.class
ArrayAggFunction
class
ArrayConcatElementFunction
Concatenation function for array and an element.class
ArrayConcatFunction
Concatenation function for arrays.class
ArrayConstructorFunction
class
ArrayContainsOperatorFunction
Special array contains function that also applies a cast to the element argument.class
ArrayContainsUnnestFunction
Implement the array contains function by usingunnest
.class
ArrayGetUnnestFunction
Implement the array get function by usingunnest
.class
ArrayIncludesOperatorFunction
Special array includes implementation that uses the PostgreSQL@>
operator.class
ArrayIncludesUnnestFunction
Implement the array includes function by usingunnest
.class
ArrayIntersectsOperatorFunction
Array intersects function that uses the PostgreSQL&&
operator.class
ArrayIntersectsUnnestFunction
Implement the intersects function by usingunnest
.class
ArrayRemoveIndexUnnestFunction
Implement the array remove index function by usingunnest
.class
ArrayReplaceUnnestFunction
Implement the array replace function by usingunnest
.class
ArraySetUnnestFunction
Implement the array set function by usingunnest
.class
ArraySliceUnnestFunction
Implement the array slice function by usingunnest
.class
ArrayToStringFunction
class
CockroachArrayFillFunction
Implement the array fill function by usinggenerate_series
.class
H2ArrayContainsFunction
H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.class
H2ArrayFillFunction
Implement the array fill function by usingsystem_range
.class
H2ArrayIncludesFunction
H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.class
H2ArrayIntersectsFunction
H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.class
H2ArrayPositionFunction
H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.class
H2ArrayPositionsFunction
H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.class
H2ArrayRemoveFunction
H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.class
H2ArrayRemoveIndexFunction
H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.class
H2ArrayReplaceFunction
H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.class
H2ArraySetFunction
H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.class
H2ArrayToStringFunction
H2 requires a very special emulation, becauseunnest
is pretty much useless, due to https://github.com/h2database/h2database/issues/1815.class
HSQLArrayConstructorFunction
class
HSQLArrayFillFunction
Implement the array fill function by usingsequence_array
.class
HSQLArrayPositionFunction
HSQLDB has a special syntax.class
HSQLArrayPositionsFunction
HSQLDB has a special syntax.class
HSQLArrayRemoveFunction
HSQLDB array_remove function.class
HSQLArraySetFunction
HSQLDB array_set function.class
HSQLArrayToStringFunction
HSQLDB has a special syntax.class
OracleArrayAggEmulation
class
OracleArrayConcatElementFunction
Oracle concatenation function for array and an element.class
OracleArrayConcatFunction
Oracle concatenation function for arrays.class
OracleArrayConstructorFunction
class
OracleArrayContainsFunction
class
OracleArrayFillFunction
Oracle array_fill function.class
OracleArrayGetFunction
Oracle array_get function.class
OracleArrayIncludesFunction
class
OracleArrayIntersectsFunction
class
OracleArrayLengthFunction
class
OracleArrayPositionFunction
class
OracleArrayPositionsFunction
class
OracleArrayRemoveFunction
Oracle array_remove function.class
OracleArrayRemoveIndexFunction
Oracle array_remove_index function.class
OracleArrayReplaceFunction
Oracle array_replace function.class
OracleArraySetFunction
Oracle array_set function.class
OracleArraySliceFunction
Oracle array_slice function.class
OracleArrayToStringFunction
Oracle array_to_string function.class
OracleArrayTrimFunction
Oracle array_trim function.class
PostgreSQLArrayConcatElementFunction
PostgreSQL variant of the function to properly returnnull
when the array argument is null.class
PostgreSQLArrayConcatFunction
PostgreSQL variant of the function to properly returnnull
when one of the arguments is null.class
PostgreSQLArrayConstructorFunction
Special array constructor function that also applies a cast to the array literal, based on the inferred result type.class
PostgreSQLArrayFillFunction
Custom casting for the array fill function.class
PostgreSQLArrayPositionFunction
PostgreSQL variant of the function.class
PostgreSQLArrayPositionsFunction
PostgreSQL variant of the function.class
PostgreSQLArrayTrimEmulation
PostgreSQL array_trim emulation, since the function was only introduced in version 14. -
Uses of FunctionRenderer in org.hibernate.metamodel.mapping.ordering.ast
Classes in org.hibernate.metamodel.mapping.ordering.ast that implement FunctionRenderer Modifier and Type Class Description class
FunctionExpression
Represents a function used in an order-by fragment -
Uses of FunctionRenderer in org.hibernate.query.sqm.function
Classes in org.hibernate.query.sqm.function that implement FunctionRenderer Modifier and Type Class Description class
AbstractSqmSelfRenderingFunctionDescriptor
class
NamedSqmFunctionDescriptor
Provides a standard implementation that supports the majority of the HQL functions that are translated to SQL.class
PatternBasedSqmFunctionDescriptor
Support for HQL functions that have different representations in different SQL dialects, where the difference can be handled via a pattern template.Methods in org.hibernate.query.sqm.function that return FunctionRenderer Modifier and Type Method Description protected FunctionRenderer
SelfRenderingFunctionSqlAstExpression. getFunctionRenderer()
FunctionRenderer
SelfRenderingSqmFunction. getFunctionRenderer()
-
Uses of FunctionRenderer in org.hibernate.spatial.dialect.hana
Classes in org.hibernate.spatial.dialect.hana that implement FunctionRenderer Modifier and Type Class Description class
HANASpatialAggregate
class
HANASpatialFunction
-
Uses of FunctionRenderer in org.hibernate.spatial.dialect.oracle
Classes in org.hibernate.spatial.dialect.oracle that implement FunctionRenderer Modifier and Type Class Description class
OracleSpatialFunction
class
OracleSpatialSQLMMFunction
class
SDOGetGeometryType
class
SDOMethodDescriptor
class
SDORelateFunction
class
STRelateFunction
-