- Type Parameters:
T
- The field type
- All Superinterfaces:
FieldOrConstraint
,FieldOrRow
,FieldOrRowOrSelect
,GroupField
,Named
,OrderField<T>
,QueryPart
,SelectField<T>
,SelectFieldOrAsterisk
,Serializable
,TableElement
,Typed<T>
- All Known Subinterfaces:
AggregateFilterStep<T>
,AggregateFunction<T>
,ArrayAggOrderByStep<T>
,CaseConditionStep<T>
,CaseWhenStep<V,
,T> Condition
,False
,GroupConcatOrderByStep
,GroupConcatSeparatorStep
,JSONArrayAggNullStep<T>
,JSONArrayAggOrderByStep<J>
,JSONArrayAggReturningStep<T>
,JSONArrayNullStep<T>
,JSONArrayReturningStep<T>
,JSONExistsOnStep
,JSONObjectAggNullStep<T>
,JSONObjectAggReturningStep<T>
,JSONObjectNullStep<T>
,JSONObjectReturningStep<T>
,JSONValueOnStep<J>
,JSONValueReturningStep<T>
,LikeEscapeStep
,Null
,Param<T>
,Parameter<T>
,ParamOrVariable<T>
,QOM.Abs<T>
,QOM.Acos
,QOM.Acosh
,QOM.Acoth
,QOM.Add<T>
,QOM.And
,QOM.AnyValue<T>
,QOM.Array<T>
,QOM.ArrayAgg<T>
,QOM.ArrayGet<T>
,QOM.ArrayQuery<T>
,QOM.Ascii
,QOM.Asin
,QOM.Asinh
,QOM.Atan
,QOM.Atan2
,QOM.Atanh
,QOM.Avg
,QOM.BitAnd<T>
,QOM.BitAndAgg<T>
,QOM.BitCount
,QOM.BitLength
,QOM.BitNand<T>
,QOM.BitNandAgg<T>
,QOM.BitNor<T>
,QOM.BitNorAgg<T>
,QOM.BitNot<T>
,QOM.BitOr<T>
,QOM.BitOrAgg<T>
,QOM.BitXNor<T>
,QOM.BitXNorAgg<T>
,QOM.BitXor<T>
,QOM.BitXorAgg<T>
,QOM.BoolAnd
,QOM.BoolOr
,QOM.Cardinality
,QOM.Cast<T>
,QOM.Ceil<T>
,QOM.CharLength
,QOM.Choose<T>
,QOM.Chr
,QOM.Coalesce<T>
,QOM.Coerce<T>
,QOM.Collated
,QOM.Collect<T,
,A> QOM.CombinedCondition
,QOM.CompareCondition<T>
,QOM.Concat
,QOM.ConditionAsField
,QOM.ConnectByIsCycle
,QOM.ConnectByIsLeaf
,QOM.ConnectByRoot<T>
,QOM.Contains<T>
,QOM.ContainsIgnoreCase<T>
,QOM.Convert<T>
,QOM.Corr
,QOM.Cos
,QOM.Cosh
,QOM.Cot
,QOM.Coth
,QOM.Count
,QOM.CountTable
,QOM.CovarPop
,QOM.CovarSamp
,QOM.CumeDist
,QOM.CurrentCatalog
,QOM.CurrentDate<T>
,QOM.CurrentSchema
,QOM.CurrentTime<T>
,QOM.CurrentTimestamp<T>
,QOM.CurrentUser
,QOM.DateAdd<T>
,QOM.Default<T>
,QOM.Degrees
,QOM.Deleting
,QOM.DenseRank
,QOM.Digits
,QOM.Div<T>
,QOM.EndsWith<T>
,QOM.EndsWithIgnoreCase<T>
,QOM.Eq<T>
,QOM.Euler
,QOM.Excluded<T>
,QOM.Exists
,QOM.Exp
,QOM.Extract
,QOM.FieldAlias<T>
,QOM.FieldCondition
,QOM.FieldFunction<T>
,QOM.FirstValue<T>
,QOM.Floor<T>
,QOM.Function<T>
,QOM.Ge<T>
,QOM.Greatest<T>
,QOM.Gt<T>
,QOM.Iif<T>
,QOM.In<T>
,QOM.InList<T>
,QOM.Inserting
,QOM.IsDistinctFrom<T>
,QOM.IsDocument
,QOM.IsJson
,QOM.IsNotDistinctFrom<T>
,QOM.IsNotDocument
,QOM.IsNotJson
,QOM.IsNotNull
,QOM.IsNull
,QOM.JSONArray<T>
,QOM.JSONArrayAgg<J>
,QOM.JSONObject<T>
,QOM.JSONObjectAgg<J>
,QOM.Lag<T>
,QOM.LastValue<T>
,QOM.Le<T>
,QOM.Lead<T>
,QOM.Least<T>
,QOM.Left
,QOM.Level
,QOM.Like
,QOM.LikeIgnoreCase
,QOM.Ln
,QOM.Log
,QOM.Log10
,QOM.Lower
,QOM.Lpad
,QOM.Lt<T>
,QOM.Ltrim
,QOM.Max<T>
,QOM.Md5
,QOM.Median
,QOM.Min<T>
,QOM.Mod<T>
,QOM.Mode<T>
,QOM.Mul<T>
,QOM.Multiset<R>
,QOM.MultisetAgg<R>
,QOM.Ne<T>
,QOM.Neg<T>
,QOM.Not
,QOM.NotField
,QOM.NotIn<T>
,QOM.NotInList<T>
,QOM.NotLike
,QOM.NotLikeIgnoreCase
,QOM.NotSimilarTo
,QOM.NthValue<T>
,QOM.Ntile
,QOM.Nullif<T>
,QOM.Nvl<T>
,QOM.Nvl2<T>
,QOM.OctetLength
,QOM.Or
,QOM.Overlay
,QOM.PercentRank
,QOM.Pi
,QOM.PlusJoin<T>
,QOM.Position
,QOM.Power
,QOM.Prior<T>
,QOM.Product
,QOM.QualifiedRowid
,QOM.Radians
,QOM.Rand
,QOM.Rank
,QOM.RatioToReport
,QOM.RegexpLike
,QOM.RegrAvgX
,QOM.RegrAvgY
,QOM.RegrCount
,QOM.RegrIntercept
,QOM.RegrR2
,QOM.RegrSlope
,QOM.RegrSxx
,QOM.RegrSxy
,QOM.RegrSyy
,QOM.Repeat
,QOM.Replace
,QOM.Reverse
,QOM.Right
,QOM.Round<T>
,QOM.RowAsField<R>
,QOM.RowIsNotNull
,QOM.RowIsNull
,QOM.Rownum
,QOM.RowNumber
,QOM.RowOverlaps
,QOM.Rpad
,QOM.Rtrim
,QOM.ScalarSubquery<T>
,QOM.SelectIsNotNull
,QOM.SelectIsNull
,QOM.Shl<T>
,QOM.Shr<T>
,QOM.Sign
,QOM.SimilarTo
,QOM.Sin
,QOM.Sinh
,QOM.Space
,QOM.SplitPart
,QOM.Sqrt
,QOM.Square<T>
,QOM.StArea
,QOM.StartsWith<T>
,QOM.StartsWithIgnoreCase<T>
,QOM.StAsBinary
,QOM.StAsText
,QOM.StCentroid
,QOM.StContains<T>
,QOM.StCrosses
,QOM.StddevPop
,QOM.StddevSamp
,QOM.StDifference<T>
,QOM.StDisjoint<T>
,QOM.StDistance<T>
,QOM.StEndPoint<T>
,QOM.StEquals<T>
,QOM.StExteriorRing
,QOM.StGeometryN<T>
,QOM.StGeometryType
,QOM.StGeomFromText
,QOM.StGeomFromWKB
,QOM.StInteriorRingN
,QOM.StIntersection<T>
,QOM.StIntersects<T>
,QOM.StIsClosed
,QOM.StIsEmpty
,QOM.StLength
,QOM.StNumGeometries
,QOM.StNumInteriorRings
,QOM.StNumPoints
,QOM.StOverlaps<T>
,QOM.StPointN<T>
,QOM.StSrid
,QOM.StStartPoint<T>
,QOM.StTouches<T>
,QOM.StUnion<T>
,QOM.StWithin<T>
,QOM.StX
,QOM.StY
,QOM.StZ
,QOM.Sub<T>
,QOM.Substring
,QOM.SubstringIndex
,QOM.Sum
,QOM.SysConnectByPath
,QOM.TableAsField<R>
,QOM.TableEq<R>
,QOM.TableNe<R>
,QOM.Tan
,QOM.Tanh
,QOM.Tau
,QOM.TimestampDiff<T>
,QOM.ToChar
,QOM.ToDate
,QOM.ToHex
,QOM.ToTimestamp
,QOM.Translate
,QOM.Trim
,QOM.Trunc<T>
,QOM.Unique
,QOM.Updating
,QOM.Upper
,QOM.Uuid
,QOM.VarPop
,QOM.VarSamp
,QOM.WidthBucket<T>
,QOM.WindowFunction<T>
,QOM.XMLAgg
,QOM.XMLComment
,QOM.XMLConcat
,QOM.XMLDocument
,QOM.XMLElement
,QOM.XMLExists
,QOM.XMLForest
,QOM.XMLParse
,QOM.XMLPi
,QOM.XMLQuery
,QOM.XMLSerialize<T>
,TableField<R,
,T> True
,UDTField<R,
,T> Variable<T>
,WindowBeforeOverStep<T>
,WindowExcludeStep<T>
,WindowFinalStep<T>
,WindowOrderByStep<T>
,WindowPartitionByStep<T>
,WindowRowsStep<T>
,XMLAggOrderByStep<T>
- All Known Implementing Classes:
CustomCondition
,CustomField
Column expressions or fields can be used in a variety of SQL statements and clauses, including (non-exhaustive list):
SELECT
clause, e.g. throughDSL.select(SelectField)
(everyField
is a subtype ofSelectField
)WHERE
clause, e.g. throughSelectWhereStep.where(Field)
(Field<Boolean>
can behave like aCondition
, regardless if your RDBMS supports theBOOLEAN
type)GROUP BY
clause, e.g. throughSelectGroupByStep.groupBy(GroupField...)
(everyField
is a subtype ofGroupField
)HAVING
clause, e.g. throughSelectHavingStep.having(Field)
ORDER BY
clause, e.g. throughSelectOrderByStep.orderBy(OrderField)
(everyField
is a subtype ofOrderField
)- When creating a
Condition
, e.g. througheq(Field)
- As a function argument, e.g. through
DSL.abs(Field)
- Many more...
Example:
// Assuming import static org.jooq.impl.DSL.*;
using(configuration)
.select(ACTOR.LAST_NAME) // Field reference
.from(ACTOR)
.groupBy(ACTOR.LAST_NAME) // Field reference
.orderBy(ACTOR.LAST_NAME) // Field reference
.fetch();
Instances can be created using a variety of ways, including:
DSL.field(String)
and overloads for plain SQL field expression.DSL.field(Name)
and overloads for field identifier references.DSL.field(Condition)
for predicates as fields.DSL.field(Select)
for correlated subqueries.TableField
referenced from generated tablesDSL.val(Object)
and overloads to create bind variables explicitlyDSL.inline(Object)
and overloads to create inline values (constants, literals) explicitly
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionabs()
Deprecated, for removal: This API element is subject to removal in a future version.@NotNull Field<BigDecimal>
acos()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.acos(Field)
instead.An arithmetic expression adding this to value.An arithmetic expression to add value to this.Create an alias for this field.Deprecated, for removal: This API element is subject to removal in a future version.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ.Create an alias for this field based on another field's name.Create an alias for this field.asc()
Create an ascending sort field from this field.ascii()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.ascii(Field)
instead.@NotNull Field<BigDecimal>
asin()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.asin(Field)
instead.@NotNull Field<BigDecimal>
atan()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.atan(Field)
instead.@NotNull Field<BigDecimal>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.atan2(Field, Number)
instead.@NotNull Field<BigDecimal>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.atan2(Field, Field)
instead.@NotNull Field<BigDecimal>
avg()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.avg(Field)
instead.@NotNull WindowPartitionByStep<BigDecimal>
avgOver()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.avg(Field)
instead.@NotNull BetweenAndStep<T>
Create a condition to check this field against some bounds.@NotNull Condition
Create a condition to check this field against some bounds.@NotNull BetweenAndStep<T>
Create a condition to check this field against some bounds.@NotNull Condition
Create a condition to check this field against some bounds.@NotNull BetweenAndStep<T>
betweenSymmetric
(Field<T> minValue) Create a condition to check this field against some bounds.@NotNull Condition
betweenSymmetric
(Field<T> minValue, Field<T> maxValue) Create a condition to check this field against some bounds.@NotNull BetweenAndStep<T>
betweenSymmetric
(T minValue) Create a condition to check this field against some bounds.@NotNull Condition
betweenSymmetric
(T minValue, T maxValue) Create a condition to check this field against some bounds.TheBIT_AND
operator.TheBIT_AND
operator.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.bitLength(Field)
instead.TheBIT_NAND
operator.TheBIT_NAND
operator.TheBIT_NOR
operator.TheBIT_NOR
operator.bitNot()
TheBIT_NOT
operator.TheBIT_OR
operator.TheBIT_OR
operator.TheBIT_XNOR
operator.TheBIT_XNOR
operator.TheBIT_XOR
operator.TheBIT_XOR
operator.<Z> @NotNull Field<Z>
Cast this field to another type.<Z> @NotNull Field<Z>
Cast this field to a dialect-specific data type.<Z> @NotNull Field<Z>
Cast this field to the type of another field.ceil()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.ceil(Field)
instead.boolean
The inverse operation ofRecord.changed(Field)
.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.charLength(Field)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.coalesce(Field, Field...)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.coalesce(Object, Object...)
instead.<Z> @NotNull Field<Z>
Coerce this field to another type.<Z> @NotNull Field<Z>
Coerce this field to a dialect-specific data type.<Z> @NotNull Field<Z>
Coerce this field to the type of another field.Apply a collation operator to this column expression.Apply a collation operator to this column expression.Apply a collation operator to this column expression.@NotNull Condition
compare
(Comparator comparator, Field<T> field) Compare this field with another field using a dynamic comparator.@NotNull Condition
compare
(Comparator comparator, QuantifiedSelect<? extends Record1<T>> query) Compare this field with a quantified subselect using a dynamic comparator.@NotNull Condition
compare
(Comparator comparator, Select<? extends Record1<T>> query) Compare this field with a subselect using a dynamic comparator.@NotNull Condition
compare
(Comparator comparator, T value) Compare this field with a value using a dynamic comparator.concat
(char... values) This method is part of the pre-2.0 API.This method is part of the pre-2.0 API.This method is part of the pre-2.0 API.@NotNull Condition
TheCONTAINS
operator.@NotNull Condition
TheCONTAINS
operator.@NotNull Condition
containsIgnoreCase
(Field<T> content) TheCONTAINS_IGNORE_CASE
operator.@NotNull Condition
containsIgnoreCase
(T content) TheCONTAINS_IGNORE_CASE
operator.<U> @NotNull Field<U>
Apply an ad-hoc data typeConverter
to this field expression.<U> @NotNull Field<U>
Apply an ad-hoc data typeBinding
to this field expression.<U> @NotNull Field<U>
Apply an ad-hoc data typeConverter
to this field expression.<U> @NotNull Field<U>
convertFrom
(Class<U> toType, Function<? super T, ? extends U> from) Apply an ad-hoc read-only data typeConverter
to this field expression.<U> @NotNull Field<U>
convertFrom
(Function<? super T, ? extends U> from) Apply an ad-hoc read-only data typeConverter
to this field expression.<U> @NotNull Field<U>
Apply an ad-hoc write-only data typeConverter
to this field expression.<U> @NotNull Field<U>
Apply an ad-hoc write-only data typeConverter
to this field expression.@NotNull Field<BigDecimal>
cos()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.cos(Field)
instead.@NotNull Field<BigDecimal>
cosh()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.cosh(Field)
instead.@NotNull Field<BigDecimal>
cot()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.cot(Field)
instead.@NotNull Field<BigDecimal>
coth()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.coth(Field)
instead.count()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.count(Field)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.countDistinct(Field)
instead.@NotNull WindowPartitionByStep<Integer>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.count(Field)
instead.<Z> @NotNull Field<Z>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.decode(Field, Field, Field)
instead.<Z> @NotNull Field<Z>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.decode(Field, Field, Field, Field...)
instead.<Z> @NotNull Field<Z>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.decode(Object, Object, Object)
instead.<Z> @NotNull Field<Z>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.decode(Object, Object, Object, Object...)
instead.@NotNull Field<BigDecimal>
deg()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.deg(Field)
instead.desc()
Create a descending sort field from this field.An arithmetic expression dividing this by value.An arithmetic expression dividing this by value.An alias fordiv(Number)
.An alias fordiv(Field)
.@NotNull Condition
TheENDS_WITH
operator.@NotNull Condition
TheENDS_WITH
operator.@NotNull Condition
endsWithIgnoreCase
(Field<T> suffix) TheENDS_WITH_IGNORE_CASE
operator.@NotNull Condition
endsWithIgnoreCase
(T suffix) TheENDS_WITH_IGNORE_CASE
operator.@NotNull Condition
TheEQ
operator.@NotNull Condition
eq
(QuantifiedSelect<? extends Record1<T>> query) this = [quantifier] (Select<?> …)
.@NotNull Condition
TheEQ
operator.@NotNull Condition
TheEQ
operator.@NotNull Condition
TheEQUAL
operator, an alias for theEQ
operator.@NotNull Condition
equal
(QuantifiedSelect<? extends Record1<T>> query) this = [quantifier] (Select<?> …)
.@NotNull Condition
TheEQUAL
operator, an alias for theEQ
operator.@NotNull Condition
TheEQUAL
operator, an alias for theEQ
operator.@NotNull Condition
equalIgnoreCase
(String value) lower(this) = lower(value)
.@NotNull Condition
equalIgnoreCase
(Field<String> value) lower(this) = lower(value)
.boolean
Check whether thisQueryPart
can be considered equal to anotherQueryPart
.@NotNull Field<BigDecimal>
exp()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.exp(Field)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.extract(Field, DatePart)
instead.The inverse operation ofFields.field(Field)
.@NotNull WindowIgnoreNullsStep<T>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.firstValue(Field)
instead.floor()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.floor(Field)
instead.The inverse operation ofRecord.into(Field)
.@NotNull Condition
TheGE
operator.@NotNull Condition
ge
(QuantifiedSelect<? extends Record1<T>> query) this >= [quantifier] (Select<?> …)
.@NotNull Condition
TheGE
operator.@NotNull Condition
TheGE
operator.The inverse operation ofRecord.get(Field)
.@NotNull String
The comment given to the field.@NotNull String
getName()
The name of the field.The inverse operation ofRecord.getValue(Field)
.@NotNull Condition
greaterOrEqual
(Field<T> arg2) TheGREATER_OR_EQUAL
operator, an alias for theGE
operator.@NotNull Condition
greaterOrEqual
(QuantifiedSelect<? extends Record1<T>> query) this >= [quantifier] (Select<?> …)
.@NotNull Condition
greaterOrEqual
(Select<? extends Record1<T>> arg2) TheGREATER_OR_EQUAL
operator, an alias for theGE
operator.@NotNull Condition
greaterOrEqual
(T arg2) TheGREATER_OR_EQUAL
operator, an alias for theGE
operator.@NotNull Condition
greaterThan
(Field<T> arg2) TheGREATER_THAN
operator, an alias for theGT
operator.@NotNull Condition
greaterThan
(QuantifiedSelect<? extends Record1<T>> query) this > [quantifier] (Select<?> …)
.@NotNull Condition
greaterThan
(Select<? extends Record1<T>> arg2) TheGREATER_THAN
operator, an alias for theGT
operator.@NotNull Condition
greaterThan
(T arg2) TheGREATER_THAN
operator, an alias for theGT
operator.Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.greatest(Field, Field...)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.greatest(Field, Field...)
instead.@NotNull Condition
TheGT
operator.@NotNull Condition
gt
(QuantifiedSelect<? extends Record1<T>> query) this > [quantifier] (Select<?> …)
.@NotNull Condition
TheGT
operator.@NotNull Condition
TheGT
operator.@NotNull Condition
in
(Collection<?> values) Create a condition to check this field against several values.@NotNull Condition
Create a condition to check this field against several values.@NotNull Condition
Create a condition to check this field against several values from a previous query.@NotNull Condition
TheIN
operator.@NotNull Condition
Create a condition to check this field against several values.@NotNull Condition
isDistinctFrom
(Field<T> arg2) TheIS_DISTINCT_FROM
operator.@NotNull Condition
isDistinctFrom
(Select<? extends Record1<T>> arg2) TheIS_DISTINCT_FROM
operator.@NotNull Condition
isDistinctFrom
(T arg2) TheIS_DISTINCT_FROM
operator.@NotNull Condition
TheIS_DOCUMENT
operator.@NotNull Condition
isFalse()
Create a condition to check this field against known string literals forfalse
.@NotNull Condition
isJson()
TheIS_JSON
operator.@NotNull Condition
isNotDistinctFrom
(Field<T> arg2) TheIS_NOT_DISTINCT_FROM
operator.@NotNull Condition
isNotDistinctFrom
(Select<? extends Record1<T>> arg2) TheIS_NOT_DISTINCT_FROM
operator.@NotNull Condition
isNotDistinctFrom
(T arg2) TheIS_NOT_DISTINCT_FROM
operator.@NotNull Condition
TheIS_NOT_DOCUMENT
operator.@NotNull Condition
TheIS_NOT_JSON
operator.@NotNull Condition
TheIS_NOT_NULL
operator.@NotNull Condition
isNull()
TheIS_NULL
operator.@NotNull Condition
isTrue()
Create a condition to check this field against known string literals fortrue
.@NotNull WindowIgnoreNullsStep<T>
lag()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lag(Field)
instead.@NotNull WindowIgnoreNullsStep<T>
lag
(int offset) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lag(Field, int)
instead.@NotNull WindowIgnoreNullsStep<T>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lag(Field, int, Field)
instead.@NotNull WindowIgnoreNullsStep<T>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lag(Field, int, Object)
instead.@NotNull WindowIgnoreNullsStep<T>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lastValue(Field)
instead.@NotNull Condition
TheLE
operator.@NotNull Condition
le
(QuantifiedSelect<? extends Record1<T>> query) this <= [quantifier] (Select<?> …)
.@NotNull Condition
TheLE
operator.@NotNull Condition
TheLE
operator.@NotNull WindowIgnoreNullsStep<T>
lead()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lead(Field)
instead.@NotNull WindowIgnoreNullsStep<T>
lead
(int offset) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lead(Field, int)
instead.@NotNull WindowIgnoreNullsStep<T>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lead(Field, int, Field)
instead.@NotNull WindowIgnoreNullsStep<T>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lead(Field, int, Object)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.least(Field, Field...)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.least(Field, Field...)
instead.length()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.length(Field)
instead.@NotNull Condition
lessOrEqual
(Field<T> arg2) TheLESS_OR_EQUAL
operator, an alias for theLE
operator.@NotNull Condition
lessOrEqual
(QuantifiedSelect<? extends Record1<T>> query) this <= [quantifier] (Select<?> …)
.@NotNull Condition
lessOrEqual
(Select<? extends Record1<T>> arg2) TheLESS_OR_EQUAL
operator, an alias for theLE
operator.@NotNull Condition
lessOrEqual
(T arg2) TheLESS_OR_EQUAL
operator, an alias for theLE
operator.@NotNull Condition
TheLESS_THAN
operator, an alias for theLT
operator.@NotNull Condition
lessThan
(QuantifiedSelect<? extends Record1<T>> query) this < [quantifier] (Select<?> …)
.@NotNull Condition
TheLESS_THAN
operator, an alias for theLT
operator.@NotNull Condition
TheLESS_THAN
operator, an alias for theLT
operator.@NotNull LikeEscapeStep
TheLIKE
operator.@NotNull Condition
Create a condition to pattern-check this field against a value.@NotNull LikeEscapeStep
TheLIKE
operator.@NotNull Condition
Create a condition to pattern-check this field against a value.@NotNull LikeEscapeStep
like
(QuantifiedSelect<Record1<String>> query) Create a condition to pattern-check this field against a quantified select.@NotNull LikeEscapeStep
likeIgnoreCase
(String pattern) TheLIKE_IGNORE_CASE
operator.@NotNull Condition
likeIgnoreCase
(String value, char escape) Create a condition to case-insensitively pattern-check this field against a value.@NotNull LikeEscapeStep
likeIgnoreCase
(Field<String> pattern) TheLIKE_IGNORE_CASE
operator.@NotNull Condition
likeIgnoreCase
(Field<String> field, char escape) Create a condition to case-insensitively pattern-check this field against a field.@NotNull Condition
Create a condition to regex-pattern-check this field against a pattern.@NotNull Condition
Create a condition to regex-pattern-check this field against a pattern.@NotNull Field<BigDecimal>
ln()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.ln(Field)
instead.@NotNull Field<BigDecimal>
log
(int base) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.log(Field, int)
instead.lower()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.lower(Field)
instead.lpad
(int length) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.lpad(Field, int)
instead.lpad
(int length, char character) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.lpad(Field, int, char)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.lpad(Field, Field)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.lpad(Field, Field, Field)
instead.@NotNull Condition
TheLT
operator.@NotNull Condition
lt
(QuantifiedSelect<? extends Record1<T>> query) this < [quantifier] (Select<?> …)
.@NotNull Condition
TheLT
operator.@NotNull Condition
TheLT
operator.ltrim()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.ltrim(Field)
instead.max()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.max(Field)
instead.@NotNull WindowPartitionByStep<T>
maxOver()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.max(Field)
instead.@NotNull Field<BigDecimal>
median()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.median(Field)
instead.min()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.min(Field)
instead.@NotNull WindowPartitionByStep<T>
minOver()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.min(Field)
instead.An alias forsub(Number)
.An alias forsub(Field)
.TheMOD
operator.TheMOD
operator.TheMODULO
operator, an alias for theMOD
operator.TheMODULO
operator, an alias for theMOD
operator.An arithmetic expression multiplying this with value.An arithmetic expression multiplying this with value.An alias formul(Number)
.An alias formul(Field)
.@NotNull Condition
TheNE
operator.@NotNull Condition
ne
(QuantifiedSelect<? extends Record1<T>> query) this != [quantifier] (Select<?> …)
.@NotNull Condition
TheNE
operator.@NotNull Condition
TheNE
operator.neg()
Negate this field to get its negative value.@NotNull BetweenAndStep<T>
notBetween
(Field<T> minValue) Create a condition to check this field against some bounds.@NotNull Condition
notBetween
(Field<T> minValue, Field<T> maxValue) Create a condition to check this field against some bounds.@NotNull BetweenAndStep<T>
notBetween
(T minValue) Create a condition to check this field against some bounds.@NotNull Condition
notBetween
(T minValue, T maxValue) Create a condition to check this field against some bounds.@NotNull BetweenAndStep<T>
notBetweenSymmetric
(Field<T> minValue) Create a condition to check this field against some bounds.@NotNull Condition
notBetweenSymmetric
(Field<T> minValue, Field<T> maxValue) Create a condition to check this field against some bounds.@NotNull BetweenAndStep<T>
notBetweenSymmetric
(T minValue) Create a condition to check this field against some bounds.@NotNull Condition
notBetweenSymmetric
(T minValue, T maxValue) Create a condition to check this field against some bounds.@NotNull Condition
notContains
(Field<T> value) Inverse ofcontains(Field)
.@NotNull Condition
notContains
(T value) Inverse ofcontains(Object)
.@NotNull Condition
notContainsIgnoreCase
(Field<T> value) Inverse ofcontainsIgnoreCase(Field)
@NotNull Condition
notContainsIgnoreCase
(T value) Inverse ofcontainsIgnoreCase(Object)
@NotNull Condition
TheNOT_EQUAL
operator, an alias for theNE
operator.@NotNull Condition
notEqual
(QuantifiedSelect<? extends Record1<T>> query) this != [quantifier] (Select<?> …)
.@NotNull Condition
TheNOT_EQUAL
operator, an alias for theNE
operator.@NotNull Condition
TheNOT_EQUAL
operator, an alias for theNE
operator.@NotNull Condition
notEqualIgnoreCase
(String value) lower(this) != lower(value)
.@NotNull Condition
notEqualIgnoreCase
(Field<String> value) lower(this) != lower(value)
.@NotNull Condition
notIn
(Collection<?> values) Create a condition to check this field against several values.@NotNull Condition
Create a condition to check this field against several values.@NotNull Condition
Create a condition to check this field against several values from a previous query.@NotNull Condition
TheNOT_IN
operator.@NotNull Condition
Create a condition to check this field against several values.@NotNull LikeEscapeStep
TheNOT_LIKE
operator.@NotNull Condition
Create a condition to pattern-check this field against a value.@NotNull LikeEscapeStep
TheNOT_LIKE
operator.@NotNull Condition
Create a condition to pattern-check this field against a field.@NotNull LikeEscapeStep
notLike
(QuantifiedSelect<Record1<String>> query) Create a condition to pattern-check this field against a quantified select.@NotNull LikeEscapeStep
notLikeIgnoreCase
(String pattern) TheNOT_LIKE_IGNORE_CASE
operator.@NotNull Condition
notLikeIgnoreCase
(String value, char escape) Create a condition to case-insensitively pattern-check this field against a value.@NotNull LikeEscapeStep
notLikeIgnoreCase
(Field<String> pattern) TheNOT_LIKE_IGNORE_CASE
operator.@NotNull Condition
notLikeIgnoreCase
(Field<String> field, char escape) Create a condition to case-insensitively pattern-check this field against a field.@NotNull Condition
notLikeRegex
(String pattern) Create a condition to regex-pattern-check this field against a pattern.@NotNull Condition
notLikeRegex
(Field<String> pattern) Create a condition to regex-pattern-check this field against a pattern.@NotNull LikeEscapeStep
notSimilarTo
(String pattern) TheNOT_SIMILAR_TO
operator.@NotNull Condition
notSimilarTo
(String value, char escape) Create a condition to pattern-check this field against a value.@NotNull LikeEscapeStep
notSimilarTo
(Field<String> pattern) TheNOT_SIMILAR_TO
operator.@NotNull Condition
notSimilarTo
(Field<String> field, char escape) Create a condition to pattern-check this field against a field.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nullif(Field, Field)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nullif(Field, Object)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nvl(Field, Field)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nvl(Field, Object)
instead.<Z> @NotNull Field<Z>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nvl2(Field, Field, Field)
instead.<Z> @NotNull Field<Z>
nvl2
(Z valueIfNotNull, Z valueIfNull) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nvl2(Field, Object, Object)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.octetLength(Field)
instead.The inverse operation ofRecord.original(Field)
.plus()
ThePLUS
operator.An alias foradd(Number)
.An alias foradd(Field)
.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.position(Field, String)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.position(Field, Field)
instead.@NotNull Field<BigDecimal>
ThePOW
operator, an alias for thePOWER
operator.@NotNull Field<BigDecimal>
ThePOW
operator, an alias for thePOWER
operator.@NotNull Field<BigDecimal>
ThePOWER
operator.@NotNull Field<BigDecimal>
ThePOWER
operator.@NotNull Field<BigDecimal>
rad()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.rad(Field)
instead.TheREM
operator, an alias for theMOD
operator.TheREM
operator, an alias for theMOD
operator.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.repeat(Field, int)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.repeat(Field, Field)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.replace(Field, String)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.replace(Field, String, String)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.replace(Field, Field)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.replace(Field, Field, Field)
instead.void
The inverse operation ofRecord.reset(Field)
.round()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.round(Field)
instead.round
(int decimals) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.round(Field, int)
instead.rpad
(int length) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.rpad(Field, int)
instead.rpad
(int length, char character) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.rpad(Field, int, char)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.rpad(Field, Field)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.rpad(Field, Field, Field)
instead.rtrim()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.rtrim(Field)
instead.TheSHL
operator.TheSHL
operator.TheSHR
operator.TheSHR
operator.sign()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sign(Field)
instead.@NotNull LikeEscapeStep
TheSIMILAR_TO
operator.@NotNull Condition
Create a condition to pattern-check this field against a value.@NotNull LikeEscapeStep
TheSIMILAR_TO
operator.@NotNull Condition
Create a condition to pattern-check this field against a value.@NotNull Field<BigDecimal>
sin()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sin(Field)
instead.@NotNull Field<BigDecimal>
sinh()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sinh(Field)
instead.<Z> @NotNull SortField<Z>
Create an indirected sort field.Create an ascending/descending sort field from this field.sortAsc
(Collection<T> sortList) Create an indirected sort field.Create an indirected sort field.Create a default sorted (implicitASC
) from this field.sortDesc
(Collection<T> sortList) Create an indirected sort field.Create an indirected sort field.@NotNull Field<BigDecimal>
sqrt()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sqrt(Field)
instead.@NotNull Condition
startsWith
(Field<T> prefix) TheSTARTS_WITH
operator.@NotNull Condition
startsWith
(T prefix) TheSTARTS_WITH
operator.@NotNull Condition
startsWithIgnoreCase
(Field<T> prefix) TheSTARTS_WITH_IGNORE_CASE
operator.@NotNull Condition
startsWithIgnoreCase
(T prefix) TheSTARTS_WITH_IGNORE_CASE
operator.@NotNull Field<BigDecimal>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.stddevPop(Field)
instead.@NotNull WindowPartitionByStep<BigDecimal>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.stddevPop(Field)
instead.@NotNull Field<BigDecimal>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.stddevSamp(Field)
instead.@NotNull WindowPartitionByStep<BigDecimal>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.stddevSamp(Field)
instead.An arithmetic expression subtracting value from this.An arithmetic expression subtracting value from this.substring
(int startingPosition) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.substring(Field, int)
instead.substring
(int startingPosition, int length) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.substring(Field, int, int)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.substring(Field, Field)
instead.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.substring(Field, Field, Field)
instead.An alias forsub(Number)
.An alias forsub(Field)
.@NotNull Field<BigDecimal>
sum()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sum(Field)
instead.@NotNull WindowPartitionByStep<BigDecimal>
sumOver()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sum(Field)
instead.@NotNull Field<BigDecimal>
tan()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.tan(Field)
instead.@NotNull Field<BigDecimal>
tanh()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.tanh(Field)
instead.An alias formul(Number)
.An alias formul(Field)
.trim()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.trim(Field)
instead.Negate this field to get its negative value.Get this field as its positive value (no effect on SQL).upper()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.upper(Field)
instead.@NotNull Field<BigDecimal>
varPop()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.varPop(Field)
instead.@NotNull WindowPartitionByStep<BigDecimal>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.varPop(Field)
instead.@NotNull Field<BigDecimal>
varSamp()
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.varSamp(Field)
instead.@NotNull WindowPartitionByStep<BigDecimal>
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.varSamp(Field)
instead.Methods inherited from interface org.jooq.Named
$name, getCommentPart, getQualifiedName, getUnqualifiedName
Methods inherited from interface org.jooq.QueryPart
$replace, $replace, $traverse, $traverse, hashCode, toString
Methods inherited from interface org.jooq.Typed
$dataType, getBinding, getConverter, getDataType, getDataType, getType
-
Method Details
-
getName
The name of the field.The name is any of these:
- The formal name of the field, if it is a physical table/view field
- The alias of an aliased field
- A generated / unspecified value for any other expression
- The name of a parameter if it is a named
Param
-
getComment
The comment given to the field.If this
Field
is a generated field from your database, it may provide its DDL comment through this method. All other column expressions return the empty string""
here, nevernull
.- Specified by:
getComment
in interfaceNamed
-
as
@Deprecated(forRemoval=true, since="3.14") @NotNull @Support @NotNull Field<T> as(Function<? super Field<T>, ? extends String> aliasFunction) Deprecated, for removal: This API element is subject to removal in a future version.- 3.14.0 - [#10156] - These methods will be removed without replacement from a future jOOQ. They offer convenience that is unidiomatic for jOOQ's DSL, without offering functionality that would not be possible otherwise - yet they add complexity in jOOQ's internals.Create an alias for this field.Note that the case-sensitivity of the returned field depends on
Settings.getRenderQuotedNames()
. By default, field aliases are quoted, and thus case-sensitive in many SQL dialects!This works like
as(String)
, except that field aliases are provided by a function. This is useful, for instance, to prefix all columns with a common prefix (onTable.as(String, Function)
):MY_TABLE.as("t1", f -> "prefix_" + f.getName());
And then to use the same function also for individual fields:
MY_TABLE.MY_COLUMN.as(f -> "prefix_" + f.getName());
-
equals
Check whether thisQueryPart
can be considered equal to anotherQueryPart
.In general,
QueryPart
equality is defined in terms ofQueryPart.toString()
equality. In other words, two query parts are considered equal if their rendered SQL (with inlined bind variables) is equal. This means that the two query parts do not necessarily have to be of the same type.Some
QueryPart
implementations may choose to override this behaviour for improved performance, asQueryPart.toString()
is an expensive operation, if called many times.Watch out! This is
Object.equals(Object)
, not a jOOQ DSL feature! -
as
Description copied from interface:SelectField
Create an alias for this field.Note that the case-sensitivity of the returned field depends on
Settings.getRenderQuotedNames()
. By default, field aliases are quoted, and thus case-sensitive in many SQL dialects!- Specified by:
as
in interfaceSelectField<T>
- Parameters:
alias
- The alias name- Returns:
- The field alias
-
as
Description copied from interface:SelectField
Create an alias for this field.Note that the case-sensitivity of the returned field depends on
Settings.getRenderQuotedNames()
and theName
. By default, field aliases are quoted, and thus case-sensitive in many SQL dialects - useDSL.unquotedName(String...)
for case-insensitive aliases.If the argument
Name.getName()
is qualified, then theName.last()
part will be used.- Specified by:
as
in interfaceSelectField<T>
- Parameters:
alias
- The alias name- Returns:
- The field alias
-
as
Description copied from interface:SelectField
Create an alias for this field based on another field's name.- Specified by:
as
in interfaceSelectField<T>
- Parameters:
otherField
- The other field whose name this field is aliased with.- Returns:
- The field alias.
-
convert
Description copied from interface:SelectField
Apply an ad-hoc data typeBinding
to this field expression.Rather than attaching data type bindings at code generation time, or creating cumbersome expressions using
DataType.asConvertedDataType(Binding)
, this method allows for creating a derived field expression with an ad-hoc data type binding for single query usage.- Specified by:
convert
in interfaceSelectField<T>
- Type Parameters:
U
- The user type.- Parameters:
binding
- The binding to be applied on any operations using this field.- Returns:
- A derived field expression using a new binding.
-
convert
Description copied from interface:SelectField
Apply an ad-hoc data typeConverter
to this field expression.Rather than attaching data type converters at code generation time, or creating cumbersome expressions using
DataType.asConvertedDataType(Converter)
, this method allows for creating a derived field expression with an ad-hoc data type converter for single query usage.- Specified by:
convert
in interfaceSelectField<T>
- Type Parameters:
U
- The user type.- Parameters:
converter
- The converter to be applied on any operations using this field.- Returns:
- A derived field expression using a new converter.
-
convert
@NotNull <U> @NotNull Field<U> convert(Class<U> toType, Function<? super T, ? extends U> from, Function<? super U, ? extends T> to) Description copied from interface:SelectField
Apply an ad-hoc data typeConverter
to this field expression.Rather than attaching data type converters at code generation time, or creating cumbersome expressions using
DataType.asConvertedDataType(Class, Function, Function)
, this method allows for creating a derived field expression with an ad-hoc data type converter for single query usage.- Specified by:
convert
in interfaceSelectField<T>
- Type Parameters:
U
- The user type.- Returns:
- A derived field expression using a new converter.
-
convertFrom
Description copied from interface:SelectField
Apply an ad-hoc read-only data typeConverter
to this field expression.Rather than attaching data type converters at code generation time, or creating cumbersome expressions using
DataType.asConvertedDataTypeFrom(Class, Function)
, this method allows for creating a derived field expression with an ad-hoc data type converter for single query usage.- Specified by:
convertFrom
in interfaceSelectField<T>
- Type Parameters:
U
- The user type.- Returns:
- A derived field expression using a new converter.
-
convertFrom
Description copied from interface:SelectField
Apply an ad-hoc read-only data typeConverter
to this field expression.Rather than attaching data type converters at code generation time, or creating cumbersome expressions using
DataType.asConvertedDataTypeFrom(Class, Function)
, this method allows for creating a derived field expression with an ad-hoc data type converter for single query usage.Unlike
SelectField.convertFrom(Class, Function)
, this method attempts to work without an explicitClass
reference for the underlyingConverter.toType()
. There may be some edge cases where this doesn't work, e.g. when nesting rows in arrays, the class literal is required for reflective array creation.- Specified by:
convertFrom
in interfaceSelectField<T>
- Type Parameters:
U
- The user type.- Returns:
- A derived field expression using a new converter.
-
convertTo
Description copied from interface:SelectField
Apply an ad-hoc write-only data typeConverter
to this field expression.Rather than attaching data type converters at code generation time, or creating cumbersome expressions using
DataType.asConvertedDataTypeTo(Class, Function)
, this method allows for creating a derived field expression with an ad-hoc data type converter for single query usage.- Specified by:
convertTo
in interfaceSelectField<T>
- Type Parameters:
U
- The user type.- Returns:
- A derived field expression using a new converter.
-
convertTo
Description copied from interface:SelectField
Apply an ad-hoc write-only data typeConverter
to this field expression.Rather than attaching data type converters at code generation time, or creating cumbersome expressions using
DataType.asConvertedDataTypeTo(Class, Function)
, this method allows for creating a derived field expression with an ad-hoc data type converter for single query usage.Unlike
SelectField.convertTo(Class, Function)
, this method attempts to work without an explicitClass
reference for the underlyingConverter.toType()
. There may be some edge cases where this doesn't work, e.g. when nesting rows in arrays, the class literal is required for reflective array creation.- Specified by:
convertTo
in interfaceSelectField<T>
- Type Parameters:
U
- The user type.- Returns:
- A derived field expression using a new converter.
-
cast
Cast this field to the type of another field.This results in the same as casting this field to
DataType.getCastTypeName()
- Type Parameters:
Z
- The generic type of the cast field- Parameters:
field
- The field whose type is used for the cast- Returns:
- The cast field
- See Also:
-
cast
Cast this field to a dialect-specific data type.- Type Parameters:
Z
- The generic type of the cast field- Parameters:
type
- The data type that is used for the cast- Returns:
- The cast field
-
cast
Cast this field to another type.The actual cast may not be accurate as the
DataType
has to be "guessed" from the jOOQ-configured data types. Usecast(DataType)
for more accurate casts.NOTE [#15286]: It is strongly recommended to pass only
Class
references of types supported by jOOQ internally, i.e. types fromSQLDataType
. If you're using any custom data types by means of aConverter
orBinding
, it's better to pass that convertedDataType
reference explicitly tocast(DataType)
.- Type Parameters:
Z
- The generic type of the cast field- Parameters:
type
- The type that is used for the cast- Returns:
- The cast field
- See Also:
-
coerce
Coerce this field to the type of another field.Unlike with casting, coercing doesn't affect the way the database sees a
Field
's type. This is how coercing affects your SQL:Bind values
// This binds an int value to a JDBC PreparedStatement DSL.val(1).coerce(String.class); // This binds an int value to a JDBC PreparedStatement // and casts it to VARCHAR in SQL DSL.val(1).cast(String.class);
Other Field types
// This fetches a String value for the BOOK.ID field from JDBC BOOK.ID.coerce(String.class); // This fetches a String value for the BOOK.ID field from JDBC // after casting it to VARCHAR in the database BOOK.ID.cast(String.class);
- Type Parameters:
Z
- The generic type of the coerced field- Parameters:
field
- The field whose type is used for the coercion- Returns:
- The coerced field
- See Also:
-
coerce
Coerce this field to a dialect-specific data type.Unlike with casting, coercing doesn't affect the way the database sees a
Field
's type. This is how coercing affects your SQL:Bind values
// This binds an int value to a JDBC PreparedStatement DSL.val(1).coerce(String.class); // This binds an int value to a JDBC PreparedStatement // and casts it to VARCHAR in SQL DSL.val(1).cast(String.class);
Other Field types
// This fetches a String value for the BOOK.ID field from JDBC BOOK.ID.coerce(String.class); // This fetches a String value for the BOOK.ID field from JDBC // after casting it to VARCHAR in the database BOOK.ID.cast(String.class);
- Type Parameters:
Z
- The generic type of the coerced field- Parameters:
type
- The data type that is used for the coercion- Returns:
- The coerced field
- See Also:
-
coerce
Coerce this field to another type.Unlike with casting, coercing doesn't affect the way the database sees a
Field
's type. This is how coercing affects your SQL:Bind values
// This binds an int value to a JDBC PreparedStatement DSL.val(1).coerce(String.class); // This binds an int value to a JDBC PreparedStatement // and casts it to VARCHAR in SQL DSL.val(1).cast(String.class);
Other Field types
// This fetches a String value for the BOOK.ID field from JDBC BOOK.ID.coerce(String.class); // This fetches a String value for the BOOK.ID field from JDBC // after casting it to VARCHAR in the database BOOK.ID.cast(String.class);
NOTE [#15286]: It is strongly recommended to pass only
Class
references of types supported by jOOQ internally, i.e. types fromSQLDataType
. If you're using any custom data types by means of aConverter
orBinding
, it's better to pass that convertedDataType
reference explicitly tocoerce(DataType)
.- Type Parameters:
Z
- The generic type of the coerced field- Parameters:
type
- The type that is used for the coercion- Returns:
- The coerced field
- See Also:
-
asc
Create an ascending sort field from this field.This is the same as calling
sort(SortOrder)
withSortOrder.ASC
- Returns:
- This field as an ascending sort field
-
desc
Create a descending sort field from this field.This is the same as calling
sort(SortOrder)
withSortOrder.DESC
- Returns:
- This field as a descending sort field
-
sortDefault
Create a default sorted (implicitASC
) from this field.This is the same as calling
sort(SortOrder)
withSortOrder.DEFAULT
- Returns:
- This field as a default sorted sort field
-
sort
Create an ascending/descending sort field from this field.- Parameters:
order
- The sort order- Returns:
- This field as an ascending/descending sort field.
-
sortAsc
Create an indirected sort field.Create a sort field of the form
CASE [this] WHEN [sortList.get(0)] THEN 0 WHEN [sortList.get(1)] THEN 1 ... WHEN [sortList.get(n)] THEN n ELSE null END ASC
Note: You can use this in combination with
SortField.nullsFirst()
orSortField.nullsLast()
to specify whether the default should have highest or lowest priority.- Parameters:
sortList
- The list containing sort value preferences- Returns:
- The sort field
-
sortAsc
Create an indirected sort field.Create a sort field of the form
CASE [this] WHEN [sortList[0]] THEN 0 WHEN [sortList[1]] THEN 1 ... WHEN [sortList[n]] THEN n ELSE null END ASC
Note: You can use this in combination with
SortField.nullsFirst()
orSortField.nullsLast()
to specify whether the default should have highest or lowest priority.- Parameters:
sortList
- The list containing sort value preferences- Returns:
- The sort field
-
sortDesc
Create an indirected sort field.Create a sort field of the form
CASE [this] WHEN [sortList.get(0)] THEN 0 WHEN [sortList.get(1)] THEN 1 ... WHEN [sortList.get(n)] THEN n ELSE null END DESC
Note: You can use this in combination with
SortField.nullsFirst()
orSortField.nullsLast()
to specify whether the default should have highest or lowest priority.- Parameters:
sortList
- The list containing sort value preferences- Returns:
- The sort field
-
sortDesc
Create an indirected sort field.Create a sort field of the form
CASE [this] WHEN [sortList[0]] THEN 0 WHEN [sortList[1]] THEN 1 ... WHEN [sortList[n]] THEN n ELSE null END DESC
Note: You can use this in combination with
SortField.nullsFirst()
orSortField.nullsLast()
to specify whether the default should have highest or lowest priority.- Parameters:
sortList
- The list containing sort value preferences- Returns:
- The sort field
-
sort
Create an indirected sort field.Create a sort field of the form (in pseudo code)
CASE [this] WHEN [sortMap.key(0)] THEN sortMap.value(0) WHEN [sortMap.key(1)] THEN sortMap.value(1) ... WHEN [sortMap.key(n)] THEN sortMap.value(n) ELSE null END DESC
Note: You can use this in combination with
SortField.nullsFirst()
orSortField.nullsLast()
to specify whether the default should have highest or lowest priority.- Parameters:
sortMap
- The list containing sort value preferences- Returns:
- The sort field
-
eq
TheEQ
operator. -
eq
TheEQ
operator. -
eq
TheEQ
operator. -
equal
TheEQUAL
operator, an alias for theEQ
operator. -
equal
TheEQUAL
operator, an alias for theEQ
operator. -
equal
TheEQUAL
operator, an alias for theEQ
operator. -
ge
TheGE
operator. -
ge
TheGE
operator. -
ge
TheGE
operator. -
greaterOrEqual
TheGREATER_OR_EQUAL
operator, an alias for theGE
operator. -
greaterOrEqual
TheGREATER_OR_EQUAL
operator, an alias for theGE
operator. -
greaterOrEqual
TheGREATER_OR_EQUAL
operator, an alias for theGE
operator. -
greaterThan
TheGREATER_THAN
operator, an alias for theGT
operator. -
greaterThan
TheGREATER_THAN
operator, an alias for theGT
operator. -
greaterThan
TheGREATER_THAN
operator, an alias for theGT
operator. -
gt
TheGT
operator. -
gt
TheGT
operator. -
gt
TheGT
operator. -
in
TheIN
operator.The subquery must return exactly one field. This is not checked by jOOQ and will result in syntax errors in the database, if not used correctly.
-
isDistinctFrom
TheIS_DISTINCT_FROM
operator.The DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for non-equality
-
isDistinctFrom
TheIS_DISTINCT_FROM
operator.The DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for non-equality
-
isDistinctFrom
TheIS_DISTINCT_FROM
operator.The DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for non-equality
-
isNull
TheIS_NULL
operator. -
isNotDistinctFrom
TheIS_NOT_DISTINCT_FROM
operator.The NOT DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for equality
-
isNotDistinctFrom
TheIS_NOT_DISTINCT_FROM
operator.The NOT DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for equality
-
isNotDistinctFrom
TheIS_NOT_DISTINCT_FROM
operator.The NOT DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for equality
-
isNotNull
TheIS_NOT_NULL
operator. -
le
TheLE
operator. -
le
TheLE
operator. -
le
TheLE
operator. -
lessOrEqual
TheLESS_OR_EQUAL
operator, an alias for theLE
operator. -
lessOrEqual
TheLESS_OR_EQUAL
operator, an alias for theLE
operator. -
lessOrEqual
TheLESS_OR_EQUAL
operator, an alias for theLE
operator. -
lessThan
TheLESS_THAN
operator, an alias for theLT
operator. -
lessThan
TheLESS_THAN
operator, an alias for theLT
operator. -
lessThan
TheLESS_THAN
operator, an alias for theLT
operator. -
like
TheLIKE
operator.- Parameters:
pattern
- is wrapped as#val(Object)
.
-
like
TheLIKE
operator. -
likeIgnoreCase
TheLIKE_IGNORE_CASE
operator.Create a condition to case-insensitively pattern-check this field against a value.
This translates to
this ilike value
inSQLDialect.POSTGRES
, or tolower(this) like lower(value)
in all other dialects.- Parameters:
pattern
- is wrapped as#val(Object)
.
-
likeIgnoreCase
TheLIKE_IGNORE_CASE
operator.Create a condition to case-insensitively pattern-check this field against a value.
This translates to
this ilike value
inSQLDialect.POSTGRES
, or tolower(this) like lower(value)
in all other dialects. -
lt
TheLT
operator. -
lt
TheLT
operator. -
lt
TheLT
operator. -
ne
TheNE
operator. -
ne
TheNE
operator. -
ne
TheNE
operator. -
notEqual
TheNOT_EQUAL
operator, an alias for theNE
operator. -
notEqual
TheNOT_EQUAL
operator, an alias for theNE
operator. -
notEqual
TheNOT_EQUAL
operator, an alias for theNE
operator. -
notIn
TheNOT_IN
operator.The subquery must return exactly one field. This is not checked by jOOQ and will result in syntax errors in the database, if not used correctly.
If any of the passed values is
NULL
, then the condition will beNULL
(orfalse
, depending on the dialect) as well. This is standard SQL behaviour. -
notLike
TheNOT_LIKE
operator.- Parameters:
pattern
- is wrapped as#val(Object)
.
-
notLike
TheNOT_LIKE
operator. -
notLikeIgnoreCase
TheNOT_LIKE_IGNORE_CASE
operator.Create a condition to case-insensitively pattern-check this field against a value.
This translates to
this not ilike value
inSQLDialect.POSTGRES
, or tolower(this) not like lower(value)
in all other dialects.- Parameters:
pattern
- is wrapped as#val(Object)
.
-
notLikeIgnoreCase
TheNOT_LIKE_IGNORE_CASE
operator.Create a condition to case-insensitively pattern-check this field against a value.
This translates to
this not ilike value
inSQLDialect.POSTGRES
, or tolower(this) not like lower(value)
in all other dialects. -
notSimilarTo
@NotNull @Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,FIREBIRD,IGNITE,POSTGRES,SNOWFLAKE,YUGABYTEDB}) @NotNull LikeEscapeStep notSimilarTo(@Param String pattern) TheNOT_SIMILAR_TO
operator.- Parameters:
pattern
- is wrapped as#val(Object)
.
-
notSimilarTo
@NotNull @Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,FIREBIRD,IGNITE,POSTGRES,SNOWFLAKE,YUGABYTEDB}) @NotNull LikeEscapeStep notSimilarTo(Field<String> pattern) TheNOT_SIMILAR_TO
operator. -
similarTo
@NotNull @Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,FIREBIRD,IGNITE,POSTGRES,SNOWFLAKE,YUGABYTEDB}) @NotNull LikeEscapeStep similarTo(@Param String pattern) TheSIMILAR_TO
operator.- Parameters:
pattern
- is wrapped as#val(Object)
.
-
similarTo
@NotNull @Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,FIREBIRD,IGNITE,POSTGRES,SNOWFLAKE,YUGABYTEDB}) @NotNull LikeEscapeStep similarTo(Field<String> pattern) TheSIMILAR_TO
operator. -
isDocument
TheIS_DOCUMENT
operator.Create a condition to check if this field contains XML data.
-
isNotDocument
TheIS_NOT_DOCUMENT
operator.Create a condition to check if this field does not contain XML data.
-
isJson
TheIS_JSON
operator.Create a condition to check if this field contains JSON data.
-
isNotJson
TheIS_NOT_JSON
operator.Create a condition to check if this field does not contain JSON data.
-
bitAnd
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitAnd(T arg2) TheBIT_AND
operator.- Parameters:
arg2
- is wrapped as#val(Object)
.
-
bitAnd
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitAnd(Field<T> arg2) TheBIT_AND
operator. -
bitNand
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitNand(T arg2) TheBIT_NAND
operator.- Parameters:
arg2
- is wrapped as#val(Object)
.
-
bitNand
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitNand(Field<T> arg2) TheBIT_NAND
operator. -
bitNor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitNor(T arg2) TheBIT_NOR
operator.- Parameters:
arg2
- is wrapped as#val(Object)
.
-
bitNor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitNor(Field<T> arg2) TheBIT_NOR
operator. -
bitNot
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitNot()TheBIT_NOT
operator. -
bitOr
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitOr(T arg2) TheBIT_OR
operator.- Parameters:
arg2
- is wrapped as#val(Object)
.
-
bitOr
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitOr(Field<T> arg2) TheBIT_OR
operator. -
bitXNor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitXNor(T arg2) TheBIT_XNOR
operator.- Parameters:
arg2
- is wrapped as#val(Object)
.
-
bitXNor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitXNor(Field<T> arg2) TheBIT_XNOR
operator. -
bitXor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitXor(T arg2) TheBIT_XOR
operator.- Parameters:
arg2
- is wrapped as#val(Object)
.
-
bitXor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitXor(Field<T> arg2) TheBIT_XOR
operator. -
mod
TheMOD
operator.- Parameters:
divisor
- is wrapped as#val(Object)
.
-
mod
TheMOD
operator. -
modulo
TheMODULO
operator, an alias for theMOD
operator.- Parameters:
divisor
- is wrapped as#val(Object)
.
-
modulo
TheMODULO
operator, an alias for theMOD
operator. -
rem
TheREM
operator, an alias for theMOD
operator.- Parameters:
divisor
- is wrapped as#val(Object)
.
-
rem
TheREM
operator, an alias for theMOD
operator. -
power
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE_3_38,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> power(Number exponent) ThePOWER
operator.- Parameters:
exponent
- is wrapped as#val(Object)
.
-
power
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE_3_38,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> power(Field<? extends Number> exponent) ThePOWER
operator. -
pow
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE_3_38,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> pow(Number exponent) ThePOW
operator, an alias for thePOWER
operator.- Parameters:
exponent
- is wrapped as#val(Object)
.
-
pow
@NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,DERBY,EXASOL,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE_3_38,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> pow(Field<? extends Number> exponent) ThePOW
operator, an alias for thePOWER
operator. -
shl
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> shl(Number count) TheSHL
operator.Left shift all bits in a number
- Parameters:
value
- The number whose bits to shift left.count
- The number of bits to shift.
-
shl
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> shl(Field<? extends Number> count) TheSHL
operator.Left shift all bits in a number
- Parameters:
value
- The number whose bits to shift left.count
- The number of bits to shift.
-
shr
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> shr(Number count) TheSHR
operator.Right shift all bits in a number
- Parameters:
value
- The number whose bits to shift rightcount
- The number of bits to shift.
-
shr
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> shr(Field<? extends Number> count) TheSHR
operator.Right shift all bits in a number
- Parameters:
value
- The number whose bits to shift rightcount
- The number of bits to shift.
-
contains
TheCONTAINS
operator.Convenience method for
like(String, char)
including proper adding of wildcards and escaping.SQL:
this like ('%' || escape(value, '\') || '%') escape '\'
Note: This also works with numbers, for instance
val(1133).contains(13)
If you're using
SQLDialect.POSTGRES
, then you can use this method also to express the "ARRAY contains" operator. For example:// Use this expression val(new Integer[] { 1, 2, 3 }).contains(new Integer[] { 1, 2 }) // ... to render this SQL ARRAY[1, 2, 3] @> ARRAY[1, 2]
Note, this does not correspond to the Oracle Text
CONTAINS()
function. Refer toOracleDSL.contains(Field, String)
instead.- Parameters:
content
- is wrapped as#val(Object)
.
-
contains
TheCONTAINS
operator.Convenience method for
like(String, char)
including proper adding of wildcards and escaping.SQL:
this like ('%' || escape(value, '\') || '%') escape '\'
Note: This also works with numbers, for instance
val(1133).contains(13)
If you're using
SQLDialect.POSTGRES
, then you can use this method also to express the "ARRAY contains" operator. For example:// Use this expression val(new Integer[] { 1, 2, 3 }).contains(new Integer[] { 1, 2 }) // ... to render this SQL ARRAY[1, 2, 3] @> ARRAY[1, 2]
Note, this does not correspond to the Oracle Text
CONTAINS()
function. Refer toOracleDSL.contains(Field, String)
instead. -
containsIgnoreCase
TheCONTAINS_IGNORE_CASE
operator.Convenience method for
likeIgnoreCase(String, char)
including proper adding of wildcards and escaping.This translates to
this ilike ('%' || escape(value, '\') || '%') escape '\'
inSQLDialect.POSTGRES
, or tolower(this) like lower(('%' || escape(value, '\') || '%') escape '\')
in all other dialects.- Parameters:
content
- is wrapped as#val(Object)
.
-
containsIgnoreCase
TheCONTAINS_IGNORE_CASE
operator.Convenience method for
likeIgnoreCase(String, char)
including proper adding of wildcards and escaping.This translates to
this ilike ('%' || escape(value, '\') || '%') escape '\'
inSQLDialect.POSTGRES
, or tolower(this) like lower(('%' || escape(value, '\') || '%') escape '\')
in all other dialects. -
endsWith
TheENDS_WITH
operator.Convenience method for
like(String, char)
including proper adding of wildcards and escaping.SQL:
this like ('%' || escape(value, '\')) escape '\'
Note: This also works with numbers, for instance
val(1133).endsWith(33)
- Parameters:
suffix
- is wrapped as#val(Object)
.
-
endsWith
TheENDS_WITH
operator.Convenience method for
like(String, char)
including proper adding of wildcards and escaping.SQL:
this like ('%' || escape(value, '\')) escape '\'
Note: This also works with numbers, for instance
val(1133).endsWith(33)
-
endsWithIgnoreCase
TheENDS_WITH_IGNORE_CASE
operator.Convenience method for
like(String, char)
including proper adding of wildcards and escaping.SQL:
lower(this) like ('%' || lower(escape(value, '\'))) escape '\'
Note: This also works with numbers, for instance
val(1133).endsWithIgnoreCase(33)
- Parameters:
suffix
- is wrapped as#val(Object)
.
-
endsWithIgnoreCase
TheENDS_WITH_IGNORE_CASE
operator.Convenience method for
like(String, char)
including proper adding of wildcards and escaping.SQL:
lower(this) like ('%' || lower(escape(value, '\'))) escape '\'
Note: This also works with numbers, for instance
val(1133).endsWithIgnoreCase(33)
-
startsWith
TheSTARTS_WITH
operator.Convenience method for
like(String, char)
including proper adding of wildcards and escaping.SQL:
this like (escape(value, '\') || '%') escape '\'
Note: This also works with numbers, for instance
val(1133).startsWith(11)
- Parameters:
prefix
- is wrapped as#val(Object)
.
-
startsWith
TheSTARTS_WITH
operator.Convenience method for
like(String, char)
including proper adding of wildcards and escaping.SQL:
this like (escape(value, '\') || '%') escape '\'
Note: This also works with numbers, for instance
val(1133).startsWith(11)
-
startsWithIgnoreCase
TheSTARTS_WITH_IGNORE_CASE
operator.Convenience method for
like(String, char)
including proper adding of wildcards and escaping.SQL:
lower(this) like (lower(escape(value, '\')) || '%') escape '\'
Note: This also works with numbers, for instance
val(1133).startsWithIgnoreCase(11)
- Parameters:
prefix
- is wrapped as#val(Object)
.
-
startsWithIgnoreCase
TheSTARTS_WITH_IGNORE_CASE
operator.Convenience method for
like(String, char)
including proper adding of wildcards and escaping.SQL:
lower(this) like (lower(escape(value, '\')) || '%') escape '\'
Note: This also works with numbers, for instance
val(1133).startsWithIgnoreCase(11)
-
plus
ThePLUS
operator.Turn this field into an Oracle-specific field for use in outer-join predicates. It can be emulated using
Settings.isTransformTableListsToAnsiJoin()
.Example:
TABLE1.COL.plus().eq(TABLE2.COL); TABLE1.COL.eq(TABLE2.COL.plus());
The above will generate
TABLE1.COL(+) = TABLE2.COL TABLE1.COL = TABLE2.COL(+)
-
neg
Negate this field to get its negative value.This renders the same on all dialects:
-[this]
-
unaryMinus
Negate this field to get its negative value.This is an alias for
neg()
, which can be recognised by the Kotlin language for operator overloading. -
unaryPlus
Get this field as its positive value (no effect on SQL).This can be recognised by the Kotlin language for operator overloading.
-
add
An arithmetic expression adding this to value.- See Also:
-
add
An arithmetic expression to add value to this.The behaviour of this operation is as follows:
Operand 1 Operand 2 Result Type Numeric Numeric Numeric Date / Time Numeric Date / Time Date / Time Interval Date / Time Interval Interval Interval -
plus
An alias foradd(Number)
.- See Also:
-
plus
An alias foradd(Field)
.- See Also:
-
sub
An arithmetic expression subtracting value from this.- See Also:
-
sub
An arithmetic expression subtracting value from this.Operand 1 Operand 2 Result Type Numeric Numeric Numeric Date / Time Numeric Date / Time Date / Time Interval Date / Time Interval Interval Interval In order to subtract one date time field from another, use any of these methods:
-
subtract
An alias forsub(Number)
.- See Also:
-
subtract
An alias forsub(Field)
.- See Also:
-
minus
An alias forsub(Number)
.- See Also:
-
minus
An alias forsub(Field)
.- See Also:
-
mul
An arithmetic expression multiplying this with value.- If this is a numeric field, then the result is a number of the same type as this field.
- If this is an
INTERVAL
field, then the result is also anINTERVAL
field (seeInterval
)
-
mul
An arithmetic expression multiplying this with value.- If this is a numeric field, then the result is a number of the same type as this field.
- If this is an
INTERVAL
field, then the result is also anINTERVAL
field (seeInterval
)
-
multiply
An alias formul(Number)
.- See Also:
-
multiply
An alias formul(Field)
.- See Also:
-
times
An alias formul(Number)
.- See Also:
-
times
An alias formul(Field)
.- See Also:
-
div
An arithmetic expression dividing this by value.- If this is a numeric field, then the result is a number of the same type as this field.
- If this is an
INTERVAL
field, then the result is also anINTERVAL
field (seeInterval
)
-
div
An arithmetic expression dividing this by value.- If this is a numeric field, then the result is a number of the same type as this field.
- If this is an
INTERVAL
field, then the result is also anINTERVAL
field (seeInterval
)
-
divide
An alias fordiv(Number)
.- See Also:
-
divide
An alias fordiv(Field)
.- See Also:
-
likeRegex
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition likeRegex(String pattern) Create a condition to regex-pattern-check this field against a pattern.The SQL:2008 standard specifies a
<regex like predicate>
of the following form:<regex like predicate> ::= <row value predicand> <regex like predicate part 2> <regex like predicate part 2> ::= [ NOT ] LIKE_REGEX <XQuery pattern> [ FLAG <XQuery option flag> ]
This particular
LIKE_REGEX
operator comes in several flavours for various databases. jOOQ supports regular expressions as follows:- See Also:
-
likeRegex
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition likeRegex(Field<String> pattern) Create a condition to regex-pattern-check this field against a pattern.See
likeRegex(String)
for more details- See Also:
-
notLikeRegex
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition notLikeRegex(String pattern) Create a condition to regex-pattern-check this field against a pattern.See
likeRegex(String)
for more details- See Also:
-
notLikeRegex
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition notLikeRegex(Field<String> pattern) Create a condition to regex-pattern-check this field against a pattern.See
likeRegex(String)
for more details- See Also:
-
similarTo
@NotNull @Support({COCKROACHDB,FIREBIRD,POSTGRES,YUGABYTEDB}) @NotNull Condition similarTo(Field<String> value, char escape) Create a condition to pattern-check this field against a value.SQL:
this similar to value escape 'e'
- See Also:
-
similarTo
@NotNull @Support({COCKROACHDB,FIREBIRD,POSTGRES,YUGABYTEDB}) @NotNull Condition similarTo(String value, char escape) Create a condition to pattern-check this field against a value.SQL:
this similar to value escape 'e'
- See Also:
-
notSimilarTo
@NotNull @Support({COCKROACHDB,FIREBIRD,POSTGRES,YUGABYTEDB}) @NotNull Condition notSimilarTo(Field<String> field, char escape) Create a condition to pattern-check this field against a field.SQL:
this not similar to field escape 'e'
- See Also:
-
notSimilarTo
@NotNull @Support({COCKROACHDB,FIREBIRD,POSTGRES,YUGABYTEDB}) @NotNull Condition notSimilarTo(String value, char escape) Create a condition to pattern-check this field against a value.SQL:
this not similar to value escape 'e'
- See Also:
-
like
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition like(Field<String> value, char escape) Create a condition to pattern-check this field against a value.SQL:
this like value escape 'e'
- See Also:
-
like
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition like(String value, char escape) Create a condition to pattern-check this field against a value.SQL:
this like value escape 'e'
- See Also:
-
like
Create a condition to pattern-check this field against a quantified select.For example a query like
field.like(any("a%", "b%"))
translates into the SQL(field like 'a%' or field like 'b%')
. -
likeIgnoreCase
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition likeIgnoreCase(Field<String> field, char escape) Create a condition to case-insensitively pattern-check this field against a field.This translates to
this ilike field
inSQLDialect.POSTGRES
, or tolower(this) like lower(field)
in all other dialects.- See Also:
-
likeIgnoreCase
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition likeIgnoreCase(String value, char escape) Create a condition to case-insensitively pattern-check this field against a value.This translates to
this ilike value
inSQLDialect.POSTGRES
, or tolower(this) like lower(value)
in all other dialects.- See Also:
-
notLike
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition notLike(Field<String> field, char escape) Create a condition to pattern-check this field against a field.SQL:
this not like field escape 'e'
- See Also:
-
notLike
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition notLike(String value, char escape) Create a condition to pattern-check this field against a value.SQL:
this not like value escape 'e'
- See Also:
-
notLike
Create a condition to pattern-check this field against a quantified select.For example a query like
field.notLike(any("a%", "b%"))
translates into the SQL(field not like 'a%' or field not like 'b%')
. -
notLikeIgnoreCase
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition notLikeIgnoreCase(Field<String> field, char escape) Create a condition to case-insensitively pattern-check this field against a field.This translates to
this not ilike field
inSQLDialect.POSTGRES
, or tolower(this) not like lower(field)
in all other dialects.- See Also:
-
notLikeIgnoreCase
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition notLikeIgnoreCase(String value, char escape) Create a condition to case-insensitively pattern-check this field against a value.This translates to
this not ilike value
inSQLDialect.POSTGRES
, or tolower(this) not like lower(value)
in all other dialects.- See Also:
-
notContains
Inverse ofcontains(Object)
. -
notContains
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition notContains(Field<T> value) Inverse ofcontains(Field)
. -
notContainsIgnoreCase
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition notContainsIgnoreCase(T value) Inverse ofcontainsIgnoreCase(Object)
-
notContainsIgnoreCase
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA,YUGABYTEDB}) @NotNull Condition notContainsIgnoreCase(Field<T> value) Inverse ofcontainsIgnoreCase(Field)
-
in
Create a condition to check this field against several values.SQL:
this in (values…)
Note that generating dynamic SQL with arbitrary-length
IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:IN
predicates on temporary tablesIN
predicates on unnested array bind variables
-
in
Create a condition to check this field against several values from a previous query.SQL:
this in (values…)
Note that generating dynamic SQL with arbitrary-length
IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:IN
predicates on temporary tablesIN
predicates on unnested array bind variables
-
in
Create a condition to check this field against several values.SQL:
this in (values…)
Note that generating dynamic SQL with arbitrary-length
IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:IN
predicates on temporary tablesIN
predicates on unnested array bind variables
-
in
Create a condition to check this field against several values.SQL:
this in (values…)
-
notIn
Create a condition to check this field against several values.Note that if any of the passed values is
NULL
, then the condition will beNULL
(orfalse
, depending on the dialect) as well. This is standard SQL behaviour.SQL:
this not in (values…)
Note that generating dynamic SQL with arbitrary-length
NOT IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:NOT IN
predicates on temporary tablesNOT IN
predicates on unnested array bind variables
-
notIn
Create a condition to check this field against several values from a previous query.Note that if any of the passed values is
NULL
, then the condition will beNULL
(orfalse
, depending on the dialect) as well. This is standard SQL behaviour.SQL:
this in (values…)
Note that generating dynamic SQL with arbitrary-length
NOT IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:NOT IN
predicates on temporary tablesNOT IN
predicates on unnested array bind variables
-
notIn
Create a condition to check this field against several values.Note that if any of the passed values is
NULL
, then the condition will beNULL
(orfalse
, depending on the dialect) as well. This is standard SQL behaviour.SQL:
this not in (values…)
Note that generating dynamic SQL with arbitrary-length
NOT IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:NOT IN
predicates on temporary tablesNOT IN
predicates on unnested array bind variables
-
notIn
Create a condition to check this field against several values.Note that if any of the passed values is
NULL
, then the condition will beNULL
(orfalse
, depending on the dialect) as well. This is standard SQL behaviour.SQL:
this not in (values…)
-
between
Create a condition to check this field against some bounds.This is the same as calling
between(minValue).and(maxValue)
SQL:
this between minValue and maxValue
-
between
Create a condition to check this field against some bounds.This is the same as calling
between(minValue).and(maxValue)
SQL:
this between minValue and maxValue
-
betweenSymmetric
Create a condition to check this field against some bounds.This is the same as calling
betweenSymmetric(minValue).and(maxValue)
SQL:
this between symmetric minValue and maxValue
-
betweenSymmetric
Create a condition to check this field against some bounds.This is the same as calling
betweenSymmetric(minValue).and(maxValue)
SQL:
this between symmetric minValue and maxValue
-
notBetween
Create a condition to check this field against some bounds.This is the same as calling
notBetween(minValue).and(maxValue)
SQL:
this not between minValue and maxValue
-
notBetween
Create a condition to check this field against some bounds.This is the same as calling
notBetween(minValue).and(maxValue)
SQL:
this not between minValue and maxValue
-
notBetweenSymmetric
Create a condition to check this field against some bounds.This is the same as calling
notBetweenSymmetric(minValue).and(maxValue)
SQL:
this not between symmetric minValue and maxValue
-
notBetweenSymmetric
Create a condition to check this field against some bounds.This is the same as calling
notBetweenSymmetric(minValue).and(maxValue)
SQL:
this not between symmetric minValue and maxValue
-
between
Create a condition to check this field against some bounds.SQL:
this between minValue and maxValue
-
between
Create a condition to check this field against some bounds.SQL:
this between minValue and maxValue
-
betweenSymmetric
Create a condition to check this field against some bounds.SQL:
this between symmetric minValue and maxValue
-
betweenSymmetric
Create a condition to check this field against some bounds.SQL:
this between symmetric minValue and maxValue
-
notBetween
Create a condition to check this field against some bounds.SQL:
this not between minValue and maxValue
-
notBetween
Create a condition to check this field against some bounds.SQL:
this not between minValue and maxValue
-
notBetweenSymmetric
Create a condition to check this field against some bounds.SQL:
this not between symmetric minValue and maxValue
-
notBetweenSymmetric
Create a condition to check this field against some bounds.SQL:
this not between symmetric minValue and maxValue
-
compare
Compare this field with a value using a dynamic comparator.- Parameters:
comparator
- The comparator to use for comparing this field with a valuevalue
- The value to compare this field with- Returns:
- A comparison predicate
-
compare
Compare this field with another field using a dynamic comparator.- Parameters:
comparator
- The comparator to use for comparing this field with another fieldfield
- The field to compare this field with- Returns:
- A comparison predicate
-
compare
@NotNull @Support @NotNull Condition compare(Comparator comparator, Select<? extends Record1<T>> query) Compare this field with a subselect using a dynamic comparator.Consider
Comparator.supportsSubselect()
to assess whether a comparator can be used with this method.- Parameters:
comparator
- The comparator to use for comparing this field with a subselectquery
- The subselect to compare this field with- Returns:
- A comparison predicate
-
compare
@NotNull @Support @NotNull Condition compare(Comparator comparator, QuantifiedSelect<? extends Record1<T>> query) Compare this field with a quantified subselect using a dynamic comparator.Consider
Comparator.supportsQuantifier()
to assess whether a comparator can be used with this method.- Parameters:
comparator
- The comparator to use for comparing this field with a quantified subselectquery
- The quantified subselect to compare this field with- Returns:
- A comparison predicate
-
equal
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition equal(QuantifiedSelect<? extends Record1<T>> query) this = [quantifier] (Select<?> …)
. -
eq
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,IGNITE,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition eq(QuantifiedSelect<? extends Record1<T>> query) this = [quantifier] (Select<?> …)
. -
notEqual
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition notEqual(QuantifiedSelect<? extends Record1<T>> query) this != [quantifier] (Select<?> …)
. -
ne
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition ne(QuantifiedSelect<? extends Record1<T>> query) this != [quantifier] (Select<?> …)
. -
lessThan
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition lessThan(QuantifiedSelect<? extends Record1<T>> query) this < [quantifier] (Select<?> …)
. -
lt
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition lt(QuantifiedSelect<? extends Record1<T>> query) this < [quantifier] (Select<?> …)
. -
lessOrEqual
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition lessOrEqual(QuantifiedSelect<? extends Record1<T>> query) this <= [quantifier] (Select<?> …)
. -
le
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition le(QuantifiedSelect<? extends Record1<T>> query) this <= [quantifier] (Select<?> …)
. -
greaterThan
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition greaterThan(QuantifiedSelect<? extends Record1<T>> query) this > [quantifier] (Select<?> …)
. -
gt
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition gt(QuantifiedSelect<? extends Record1<T>> query) this > [quantifier] (Select<?> …)
. -
greaterOrEqual
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition greaterOrEqual(QuantifiedSelect<? extends Record1<T>> query) this >= [quantifier] (Select<?> …)
. -
ge
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Condition ge(QuantifiedSelect<? extends Record1<T>> query) this >= [quantifier] (Select<?> …)
. -
isTrue
Create a condition to check this field against known string literals fortrue
.SQL:
lcase(this) in ("1", "y", "yes", "true", "on", "enabled")
-
isFalse
Create a condition to check this field against known string literals forfalse
.SQL:
lcase(this) in ("0", "n", "no", "false", "off", "disabled")
-
equalIgnoreCase
lower(this) = lower(value)
. -
equalIgnoreCase
lower(this) = lower(value)
. -
notEqualIgnoreCase
lower(this) != lower(value)
. -
notEqualIgnoreCase
lower(this) != lower(value)
. -
sign
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sign(Field)
instead.- See Also:
-
abs
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.abs(Field)
instead.- See Also:
-
round
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.round(Field)
instead.- See Also:
-
round
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.round(Field, int)
instead.- See Also:
-
floor
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.floor(Field)
instead.- See Also:
-
ceil
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.ceil(Field)
instead.- See Also:
-
sqrt
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> sqrt()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sqrt(Field)
instead.- See Also:
-
exp
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> exp()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.exp(Field)
instead.- See Also:
-
ln
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> ln()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.ln(Field)
instead.- See Also:
-
log
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> log(int base) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.log(Field, int)
instead.- See Also:
-
acos
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> acos()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.acos(Field)
instead.- See Also:
-
asin
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> asin()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.asin(Field)
instead.- See Also:
-
atan
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> atan()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.atan(Field)
instead.- See Also:
-
atan2
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> atan2(Number y) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.atan2(Field, Number)
instead.- See Also:
-
atan2
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> atan2(Field<? extends Number> y) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.atan2(Field, Field)
instead.- See Also:
-
cos
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> cos()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.cos(Field)
instead.- See Also:
-
sin
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> sin()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sin(Field)
instead.- See Also:
-
tan
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> tan()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.tan(Field)
instead.- See Also:
-
cot
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> cot()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.cot(Field)
instead.- See Also:
-
sinh
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> sinh()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sinh(Field)
instead.- See Also:
-
cosh
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> cosh()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.cosh(Field)
instead.- See Also:
-
tanh
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> tanh()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.tanh(Field)
instead.- See Also:
-
coth
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> coth()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.coth(Field)
instead.- See Also:
-
deg
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.deg(Field)
instead.- See Also:
-
rad
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.rad(Field)
instead.- See Also:
-
count
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.count(Field)
instead.- See Also:
-
countDistinct
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support @NotNull Field<Integer> countDistinct()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.countDistinct(Field)
instead.- See Also:
-
max
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.max(Field)
instead.- See Also:
-
min
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.min(Field)
instead.- See Also:
-
sum
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sum(Field)
instead.- See Also:
-
avg
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.avg(Field)
instead.- See Also:
-
median
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({CUBRID,HSQLDB,ORACLE,SNOWFLAKE,SYBASE,TERADATA}) @NotNull Field<BigDecimal> median()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.median(Field)
instead.- See Also:
-
stddevPop
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> stddevPop()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.stddevPop(Field)
instead.- See Also:
-
stddevSamp
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> stddevSamp()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.stddevSamp(Field)
instead.- See Also:
-
varPop
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> varPop()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.varPop(Field)
instead.- See Also:
-
varSamp
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<BigDecimal> varSamp()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.varSamp(Field)
instead.- See Also:
-
countOver
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowPartitionByStep<Integer> countOver()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.count(Field)
instead.- See Also:
-
maxOver
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowPartitionByStep<T> maxOver()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.max(Field)
instead.- See Also:
-
minOver
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowPartitionByStep<T> minOver()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.min(Field)
instead.- See Also:
-
sumOver
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowPartitionByStep<BigDecimal> sumOver()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sum(Field)
instead.- See Also:
-
avgOver
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowPartitionByStep<BigDecimal> avgOver()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.avg(Field)
instead.- See Also:
-
firstValue
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,YUGABYTEDB}) @NotNull WindowIgnoreNullsStep<T> firstValue()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.firstValue(Field)
instead.- See Also:
-
lastValue
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,YUGABYTEDB}) @NotNull WindowIgnoreNullsStep<T> lastValue()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lastValue(Field)
instead.- See Also:
-
lead
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowIgnoreNullsStep<T> lead()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lead(Field)
instead.- See Also:
-
lead
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowIgnoreNullsStep<T> lead(int offset) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lead(Field, int)
instead.- See Also:
-
lead
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowIgnoreNullsStep<T> lead(int offset, T defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lead(Field, int, Object)
instead. -
lead
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowIgnoreNullsStep<T> lead(int offset, Field<T> defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lead(Field, int, Field)
instead. -
lag
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowIgnoreNullsStep<T> lag()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lag(Field)
instead.- See Also:
-
lag
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowIgnoreNullsStep<T> lag(int offset) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lag(Field, int)
instead.- See Also:
-
lag
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowIgnoreNullsStep<T> lag(int offset, T defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lag(Field, int, Object)
instead. -
lag
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowIgnoreNullsStep<T> lag(int offset, Field<T> defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.lag(Field, int, Field)
instead. -
stddevPopOver
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,CUBRID,DB2,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowPartitionByStep<BigDecimal> stddevPopOver()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.stddevPop(Field)
instead.- See Also:
-
stddevSampOver
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowPartitionByStep<BigDecimal> stddevSampOver()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.stddevSamp(Field)
instead.- See Also:
-
varPopOver
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,CUBRID,DB2,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowPartitionByStep<BigDecimal> varPopOver()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.varPop(Field)
instead.- See Also:
-
varSampOver
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,ORACLE,POSTGRES,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull WindowPartitionByStep<BigDecimal> varSampOver()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.varSamp(Field)
instead.- See Also:
-
upper
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.upper(Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
lower
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.lower(Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
trim
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.trim(Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
rtrim
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.rtrim(Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
ltrim
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.ltrim(Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
rpad
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> rpad(Field<? extends Number> length) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.rpad(Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
rpad
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> rpad(int length) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.rpad(Field, int)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
rpad
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> rpad(Field<? extends Number> length, Field<String> character) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.rpad(Field, Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
rpad
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> rpad(int length, char character) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.rpad(Field, int, char)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
lpad
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> lpad(Field<? extends Number> length) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.lpad(Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
lpad
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> lpad(int length) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.lpad(Field, int)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
lpad
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> lpad(Field<? extends Number> length, Field<String> character) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.lpad(Field, Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
lpad
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> lpad(int length, char character) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.lpad(Field, int, char)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
repeat
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> repeat(Number count) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.repeat(Field, int)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
repeat
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> repeat(Field<? extends Number> count) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.repeat(Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
replace
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> replace(Field<String> search) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.replace(Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
replace
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> replace(String search) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.replace(Field, String)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
replace
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> replace(Field<String> search, Field<String> replace) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.replace(Field, Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
replace
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<String> replace(String search, String replace) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.replace(Field, String, String)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
position
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<Integer> position(String search) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.position(Field, String)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
position
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<Integer> position(Field<String> search) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.position(Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
ascii
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<Integer> ascii()Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.ascii(Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
collate
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,YUGABYTEDB}) @NotNull Field<String> collate(String collation) Apply a collation operator to this column expression.- See Also:
-
collate
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,YUGABYTEDB}) @NotNull Field<String> collate(Name collation) Apply a collation operator to this column expression.- See Also:
-
collate
@NotNull @Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,YUGABYTEDB}) @NotNull Field<String> collate(Collation collation) Apply a collation operator to this column expression. -
concat
This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
concat
This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
concat
This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
substring
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support @NotNull Field<String> substring(int startingPosition) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.substring(Field, int)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
substring
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support @NotNull Field<String> substring(Field<? extends Number> startingPosition) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.substring(Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
substring
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support @NotNull Field<String> substring(int startingPosition, int length) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.substring(Field, int, int)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
substring
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support @NotNull Field<String> substring(Field<? extends Number> startingPosition, Field<? extends Number> length) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.substring(Field, Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
length
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.length(Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
charLength
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.charLength(Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
bitLength
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.bitLength(Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
octetLength
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.octetLength(Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
extract
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support @NotNull Field<Integer> extract(DatePart datePart) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.extract(Field, DatePart)
instead.- See Also:
-
greatest
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support @NotNull Field<T> greatest(T... others) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.greatest(Field, Field...)
instead.- See Also:
-
greatest
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support @NotNull Field<T> greatest(Field<?>... others) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.greatest(Field, Field...)
instead.- See Also:
-
least
Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.least(Field, Field...)
instead.- See Also:
-
least
@Deprecated(forRemoval=true, since="3.11") @NotNull @Support @NotNull Field<T> least(Field<?>... others) Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.least(Field, Field...)
instead.- See Also:
-
nvl
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nvl(Field, Object)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
nvl
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support @NotNull Field<T> nvl(Field<T> defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nvl(Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
nvl2
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support <Z> @NotNull Field<Z> nvl2(Z valueIfNotNull, Z valueIfNull) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nvl2(Field, Object, Object)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
nvl2
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support <Z> @NotNull Field<Z> nvl2(Field<Z> valueIfNotNull, Field<Z> valueIfNull) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nvl2(Field, Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
nullif
Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nullif(Field, Object)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
nullif
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support @NotNull Field<T> nullif(Field<T> other) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.nullif(Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
decode
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support <Z> @NotNull Field<Z> decode(T search, Z result) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.decode(Object, Object, Object)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
decode
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support <Z> @NotNull Field<Z> decode(T search, Z result, Object... more) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.decode(Object, Object, Object, Object...)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
-
decode
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support <Z> @NotNull Field<Z> decode(Field<T> search, Field<Z> result) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.decode(Field, Field, Field)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
decode
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support <Z> @NotNull Field<Z> decode(Field<T> search, Field<Z> result, Field<?>... more) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.decode(Field, Field, Field, Field...)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
-
coalesce
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support @NotNull Field<T> coalesce(T option, T... options) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.coalesce(Object, Object...)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
coalesce
@Deprecated(forRemoval=true, since="3.13") @NotNull @Support @NotNull Field<T> coalesce(Field<T> option, Field<?>... options) Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.coalesce(Field, Field...)
instead.This method is part of the pre-2.0 API. This API is maintained for backwards-compatibility. It may be removed in the future. Consider using equivalent methods fromDSLContext
- See Also:
-
field
The inverse operation ofFields.field(Field)
.This method can be used in its method reference form conveniently on a generated table, for instance, when mapping records in a stream.
-
get
The inverse operation ofRecord.get(Field)
.This method can be used in its method reference form conveniently on a generated table, for instance, when mapping records in a stream:
DSL.using(configuration) .fetch("select * from t") .stream() .map(MY_TABLE.ID::get) .forEach(System.out::println);
-
getValue
The inverse operation ofRecord.getValue(Field)
.This method can be used in its method reference form conveniently on a generated table, for instance, when mapping records in a stream:
DSL.using(configuration) .fetch("select * from t") .stream() .map(MY_TABLE.ID::getValue) .forEach(System.out::println);
-
original
The inverse operation ofRecord.original(Field)
.This method can be used in its method reference form conveniently on a generated table, for instance, when mapping records in a stream:
DSL.using(configuration) .fetch("select * from t") .stream() .map(MY_TABLE.ID::original) .forEach(System.out::println);
-
changed
The inverse operation ofRecord.changed(Field)
.This method can be used in its method reference form conveniently on a generated table, for instance, when mapping records in a stream:
DSL.using(configuration) .fetch("select * from t") .stream() .map(MY_TABLE.ID::changed) .forEach(System.out::println);
-
reset
The inverse operation ofRecord.reset(Field)
.This method can be used in its method reference form conveniently on a generated table, for instance, when mapping records in a stream:
DSL.using(configuration) .fetch("select * from t") .stream() .forEach(MY_TABLE.ID::reset);
-
from
The inverse operation ofRecord.into(Field)
.This method can be used in its method reference form conveniently on a generated table, for instance, when mapping records in a stream:
DSL.using(configuration) .fetch("select * from t") .stream() .map(MY_TABLE.ID::from) .forEach(System.out::println);
-
DSL.abs(Field)
instead.