Uses of Interface
org.hibernate.query.criteria.JpaFunction
-
Packages that use JpaFunction Package Description org.hibernate.dialect.function Contains implementations ofSqmFunctionDescriptor
describing a range of relatively-sophisticated SQL functions available in various dialects.org.hibernate.query.criteria Support for JPA criteria queries.org.hibernate.query.criteria.spi SPI for extendingHibernateCriteriaBuilder
with additional functionality by registering aService
.org.hibernate.query.sqm.function Package defining support for HQL, including JPQL as a subset of HQL.org.hibernate.query.sqm.tree.expression Nodes representing expressions in the SQM tree. -
-
Uses of JpaFunction in org.hibernate.dialect.function
Classes in org.hibernate.dialect.function that implement JpaFunction Modifier and Type Class Description protected static class
FormatFunction.FormatSqmFunction<T>
protected class
InverseDistributionFunction.SelfRenderingInverseDistributionFunction<T>
-
Uses of JpaFunction in org.hibernate.query.criteria
Methods in org.hibernate.query.criteria that return JpaFunction Modifier and Type Method Description JpaFunction<String>
HibernateCriteriaBuilder. collate(Expression<String> x, String collation)
JpaFunction<Date>
HibernateCriteriaBuilder. currentDate()
JpaFunction<Instant>
HibernateCriteriaBuilder. currentInstant()
JpaFunction<Time>
HibernateCriteriaBuilder. currentTime()
JpaFunction<Timestamp>
HibernateCriteriaBuilder. currentTimestamp()
JpaFunction<Integer>
HibernateCriteriaBuilder. day(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.DAY
of a date, time, or datetime expression.JpaFunction<String>
HibernateCriteriaBuilder. format(Expression<? extends TemporalAccessor> datetime, String pattern)
Format a date, time, or datetime according to a pattern.<T> JpaFunction<T>
HibernateCriteriaBuilder. function(String name, Class<T> type, Expression<?>[] args)
JpaFunction<Integer>
HibernateCriteriaBuilder. hour(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.HOUR
of a date, time, or datetime expression.JpaFunction<String>
HibernateCriteriaBuilder. left(Expression<String> x, int length)
JpaFunction<String>
HibernateCriteriaBuilder. left(Expression<String> x, Expression<Integer> length)
Extract thelength
leftmost characters of a string.JpaFunction<Integer>
HibernateCriteriaBuilder. length(Expression<String> x)
JpaFunction<Integer>
HibernateCriteriaBuilder. locate(Expression<String> x, Expression<String> pattern)
JpaFunction<Integer>
HibernateCriteriaBuilder. locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from)
JpaFunction<Integer>
HibernateCriteriaBuilder. locate(Expression<String> x, String pattern)
JpaFunction<Integer>
HibernateCriteriaBuilder. locate(Expression<String> x, String pattern, int from)
JpaFunction<String>
HibernateCriteriaBuilder. lower(Expression<String> x)
JpaFunction<Integer>
HibernateCriteriaBuilder. minute(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.MINUTE
of a date, time, or datetime expression.JpaFunction<Integer>
HibernateCriteriaBuilder. month(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.MONTH
of a date, time, or datetime expression.JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, Expression<String> replacement, int start)
JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, Expression<String> replacement, int start, int length)
JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, Expression<String> replacement, int start, Expression<Integer> length)
JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start)
JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, int length)
JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, Expression<Integer> length)
Overlay thestring
expression with thereplacement
expression, starting from indexstart
and substituting a number of characters corresponding to the length of thereplacement
expression or thelength
parameter if specified.JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, String replacement, int start)
JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, String replacement, int start, int length)
JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, String replacement, int start, Expression<Integer> length)
JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, String replacement, Expression<Integer> start)
JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, String replacement, Expression<Integer> start, int length)
JpaFunction<String>
HibernateCriteriaBuilder. overlay(Expression<String> string, String replacement, Expression<Integer> start, Expression<Integer> length)
JpaFunction<String>
HibernateCriteriaBuilder. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length)
JpaFunction<String>
HibernateCriteriaBuilder. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, char padChar)
JpaFunction<String>
HibernateCriteriaBuilder. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, Expression<Character> padChar)
JpaFunction<String>
HibernateCriteriaBuilder. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length)
JpaFunction<String>
HibernateCriteriaBuilder. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, char padChar)
JpaFunction<String>
HibernateCriteriaBuilder. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, Expression<Character> padChar)
Pad the specified string expression with whitespace or with thepadChar
character if specified.JpaFunction<String>
HibernateCriteriaBuilder. pad(Expression<String> x, int length)
JpaFunction<String>
HibernateCriteriaBuilder. pad(Expression<String> x, int length, char padChar)
JpaFunction<String>
HibernateCriteriaBuilder. pad(Expression<String> x, int length, Expression<Character> padChar)
JpaFunction<String>
HibernateCriteriaBuilder. pad(Expression<String> x, Expression<Integer> length)
JpaFunction<String>
HibernateCriteriaBuilder. pad(Expression<String> x, Expression<Integer> length, char padChar)
JpaFunction<String>
HibernateCriteriaBuilder. pad(Expression<String> x, Expression<Integer> length, Expression<Character> padChar)
JpaFunction<String>
HibernateCriteriaBuilder. replace(Expression<String> x, Expression<String> pattern, Expression<String> replacement)
Replace all occurrences ofpattern
within the original string withreplacement
.JpaFunction<String>
HibernateCriteriaBuilder. replace(Expression<String> x, Expression<String> pattern, String replacement)
JpaFunction<String>
HibernateCriteriaBuilder. replace(Expression<String> x, String pattern, Expression<String> replacement)
JpaFunction<String>
HibernateCriteriaBuilder. replace(Expression<String> x, String pattern, String replacement)
JpaFunction<String>
HibernateCriteriaBuilder. right(Expression<String> x, int length)
JpaFunction<String>
HibernateCriteriaBuilder. right(Expression<String> x, Expression<Integer> length)
Extract thelength
rightmost characters of a string.JpaFunction<Float>
HibernateCriteriaBuilder. second(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.SECOND
of a date, time, or datetime expression.JpaFunction<String>
HibernateCriteriaBuilder. substring(Expression<String> x, int from)
JpaFunction<String>
HibernateCriteriaBuilder. substring(Expression<String> x, int from, int len)
JpaFunction<String>
HibernateCriteriaBuilder. substring(Expression<String> x, Expression<Integer> from)
JpaFunction<String>
HibernateCriteriaBuilder. substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len)
JpaFunction<String>
HibernateCriteriaBuilder. trim(char t, Expression<String> x)
JpaFunction<String>
HibernateCriteriaBuilder. trim(CriteriaBuilder.Trimspec ts, char t, Expression<String> x)
JpaFunction<String>
HibernateCriteriaBuilder. trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x)
JpaFunction<String>
HibernateCriteriaBuilder. trim(CriteriaBuilder.Trimspec ts, Expression<String> x)
JpaFunction<String>
HibernateCriteriaBuilder. trim(Expression<Character> t, Expression<String> x)
JpaFunction<String>
HibernateCriteriaBuilder. trim(Expression<String> x)
<T extends TemporalAccessor>
JpaFunction<T>HibernateCriteriaBuilder. truncate(Expression<T> datetime, TemporalUnit temporalUnit)
Truncates a date, time or datetime expression to the givenTemporalUnit
.JpaFunction<String>
HibernateCriteriaBuilder. upper(Expression<String> x)
JpaFunction<Integer>
HibernateCriteriaBuilder. year(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.YEAR
of a date, time, or datetime expression. -
Uses of JpaFunction in org.hibernate.query.criteria.spi
Methods in org.hibernate.query.criteria.spi that return JpaFunction Modifier and Type Method Description JpaFunction<String>
HibernateCriteriaBuilderDelegate. collate(Expression<String> x, String collation)
JpaFunction<Date>
HibernateCriteriaBuilderDelegate. currentDate()
JpaFunction<Instant>
HibernateCriteriaBuilderDelegate. currentInstant()
JpaFunction<Time>
HibernateCriteriaBuilderDelegate. currentTime()
JpaFunction<Timestamp>
HibernateCriteriaBuilderDelegate. currentTimestamp()
JpaFunction<Integer>
HibernateCriteriaBuilderDelegate. day(Expression<? extends TemporalAccessor> datetime)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. format(Expression<? extends TemporalAccessor> datetime, String pattern)
<T> JpaFunction<T>
HibernateCriteriaBuilderDelegate. function(String name, Class<T> type, Expression<?>... args)
JpaFunction<Integer>
HibernateCriteriaBuilderDelegate. hour(Expression<? extends TemporalAccessor> datetime)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. left(Expression<String> x, int length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. left(Expression<String> x, Expression<Integer> length)
JpaFunction<Integer>
HibernateCriteriaBuilderDelegate. length(Expression<String> x)
JpaFunction<Integer>
HibernateCriteriaBuilderDelegate. locate(Expression<String> x, Expression<String> pattern)
JpaFunction<Integer>
HibernateCriteriaBuilderDelegate. locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from)
JpaFunction<Integer>
HibernateCriteriaBuilderDelegate. locate(Expression<String> x, String pattern)
JpaFunction<Integer>
HibernateCriteriaBuilderDelegate. locate(Expression<String> x, String pattern, int from)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. lower(Expression<String> x)
JpaFunction<Integer>
HibernateCriteriaBuilderDelegate. minute(Expression<? extends TemporalAccessor> datetime)
JpaFunction<Integer>
HibernateCriteriaBuilderDelegate. month(Expression<? extends TemporalAccessor> datetime)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, Expression<String> replacement, int start)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, Expression<String> replacement, int start, int length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, Expression<String> replacement, int start, Expression<Integer> length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, int length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, Expression<Integer> length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, String replacement, int start)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, String replacement, int start, int length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, String replacement, int start, Expression<Integer> length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, String replacement, Expression<Integer> start)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, String replacement, Expression<Integer> start, int length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. overlay(Expression<String> string, String replacement, Expression<Integer> start, Expression<Integer> length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, char padChar)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, Expression<Character> padChar)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, char padChar)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, Expression<Character> padChar)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(Expression<String> x, int length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(Expression<String> x, int length, char padChar)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(Expression<String> x, int length, Expression<Character> padChar)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(Expression<String> x, Expression<Integer> length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(Expression<String> x, Expression<Integer> length, char padChar)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. pad(Expression<String> x, Expression<Integer> length, Expression<Character> padChar)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. replace(Expression<String> x, Expression<String> pattern, Expression<String> replacement)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. replace(Expression<String> x, Expression<String> pattern, String replacement)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. replace(Expression<String> x, String pattern, Expression<String> replacement)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. replace(Expression<String> x, String pattern, String replacement)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. right(Expression<String> x, int length)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. right(Expression<String> x, Expression<Integer> length)
JpaFunction<Float>
HibernateCriteriaBuilderDelegate. second(Expression<? extends TemporalAccessor> datetime)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. substring(Expression<String> x, int from)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. substring(Expression<String> x, int from, int len)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. substring(Expression<String> x, Expression<Integer> from)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. trim(char t, Expression<String> x)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. trim(CriteriaBuilder.Trimspec ts, char t, Expression<String> x)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. trim(CriteriaBuilder.Trimspec ts, Expression<String> x)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. trim(Expression<Character> t, Expression<String> x)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. trim(Expression<String> x)
<T extends TemporalAccessor>
JpaFunction<T>HibernateCriteriaBuilderDelegate. truncate(Expression<T> datetime, TemporalUnit temporalUnit)
JpaFunction<String>
HibernateCriteriaBuilderDelegate. upper(Expression<String> x)
JpaFunction<Integer>
HibernateCriteriaBuilderDelegate. year(Expression<? extends TemporalAccessor> datetime)
-
Uses of JpaFunction in org.hibernate.query.sqm.function
Classes in org.hibernate.query.sqm.function that implement JpaFunction Modifier and Type Class Description class
SelfRenderingSqmAggregateFunction<T>
class
SelfRenderingSqmFunction<T>
class
SelfRenderingSqmOrderedSetAggregateFunction<T>
class
SelfRenderingSqmWindowFunction<T>
-
Uses of JpaFunction in org.hibernate.query.sqm.tree.expression
Subinterfaces of JpaFunction in org.hibernate.query.sqm.tree.expression Modifier and Type Interface Description interface
SqmAggregateFunction<T>
A SQM aggregate function.interface
SqmOrderedSetAggregateFunction<T>
A SQM ordered set-aggregate function.interface
SqmWindowFunction<T>
A SQM window function.Classes in org.hibernate.query.sqm.tree.expression that implement JpaFunction Modifier and Type Class Description class
SqmFunction<T>
A SQM function
-