- 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.ArrayAppend<T>,QOM.ArrayConcat<T>,QOM.ArrayGet<T>,QOM.ArrayOverlap<T>,QOM.ArrayPrepend<T>,QOM.ArrayQuery<T>,QOM.ArrayRemove<T>,QOM.ArrayReplace<T>,QOM.Ascii,QOM.Asin,QOM.Asinh,QOM.Atan,QOM.Atan2,QOM.Atanh,QOM.Avg,QOM.Between<T>,QOM.BitAnd<T>,QOM.BitAndAgg<T>,QOM.BitCount,QOM.BitGet<T>,QOM.BitLength,QOM.BitNand<T>,QOM.BitNandAgg<T>,QOM.BitNor<T>,QOM.BitNorAgg<T>,QOM.BitNot<T>,QOM.BitOr<T>,QOM.BitOrAgg<T>,QOM.BitSet<T>,QOM.BitXNor<T>,QOM.BitXNorAgg<T>,QOM.BitXor<T>,QOM.BitXorAgg<T>,QOM.BoolAnd,QOM.BoolOr,QOM.Cardinality,QOM.CaseSearched<T>,QOM.CaseSimple<V,,T> 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<R>,QOM.CompareCondition<T,,R> 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.Decode<V,,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.EqQuantified<T>,QOM.Euler,QOM.Excluded<T>,QOM.Exists,QOM.Exp,QOM.Extract,QOM.False,QOM.FieldAlias<T>,QOM.FieldCondition,QOM.FieldFunction<T>,QOM.FirstValue<T>,QOM.Floor<T>,QOM.Function<T>,QOM.Ge<T>,QOM.GeQuantified<T>,QOM.Greatest<T>,QOM.Gt<T>,QOM.GtQuantified<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.JSONBGetAttribute,QOM.JSONBGetAttributeAsText,QOM.JSONBGetElement,QOM.JSONBGetElementAsText,QOM.JSONBInsert,QOM.JSONBKeys,QOM.JSONBRemove,QOM.JSONBReplace,QOM.JSONBSet,QOM.JSONGetAttribute,QOM.JSONGetAttributeAsText,QOM.JSONGetElement,QOM.JSONGetElementAsText,QOM.JSONInsert,QOM.JSONKeys,QOM.JSONObject<T>,QOM.JSONObjectAgg<J>,QOM.JSONRemove,QOM.JSONReplace,QOM.JSONSet,QOM.Lag<T>,QOM.LastValue<T>,QOM.Le<T>,QOM.Lead<T>,QOM.Least<T>,QOM.Left,QOM.LeQuantified<T>,QOM.Level,QOM.Like,QOM.LikeIgnoreCase,QOM.LikeQuantified,QOM.Ln,QOM.Log,QOM.Log10,QOM.Lower,QOM.Lpad,QOM.Lt<T>,QOM.LtQuantified<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.NeQuantified<T>,QOM.Not,QOM.NotField,QOM.NotIn<T>,QOM.NotInList<T>,QOM.NotLike,QOM.NotLikeIgnoreCase,QOM.NotLikeQuantified,QOM.NotSimilarTo,QOM.NotSimilarToQuantified,QOM.NthValue<T>,QOM.Ntile,QOM.Null,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.RowEq<T>,QOM.RowGe<T>,QOM.RowGt<T>,QOM.RowIsNotNull,QOM.RowIsNull,QOM.RowLe<T>,QOM.RowLt<T>,QOM.RowNe<T>,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.SimilarToQuantified,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.True,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>,QOM.Xor,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):
SELECTclause, e.g. throughDSL.select(SelectField)(everyFieldis a subtype ofSelectField)WHEREclause, e.g. throughSelectWhereStep.where(Field)(Field<Boolean>can behave like aCondition, regardless if your RDBMS supports theBOOLEANtype)GROUP BYclause, e.g. throughSelectGroupByStep.groupBy(GroupField...)(everyFieldis a subtype ofGroupField)HAVINGclause, e.g. throughSelectHavingStep.having(Field)ORDER BYclause, e.g. throughSelectOrderByStep.orderBy(OrderField)(everyFieldis 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.TableFieldreferenced 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 ConditionCreate a condition to check this field against some bounds.@NotNull BetweenAndStep<T>Create a condition to check this field against some bounds.@NotNull ConditionCreate 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 ConditionbetweenSymmetric(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 ConditionbetweenSymmetric(T minValue, T maxValue) Create a condition to check this field against some bounds.TheBIT_ANDoperator.TheBIT_ANDoperator.Deprecated, for removal: This API element is subject to removal in a future version.- 3.13 - [#9407] - UseDSL.bitLength(Field)instead.TheBIT_NANDoperator.TheBIT_NANDoperator.TheBIT_NORoperator.TheBIT_NORoperator.bitNot()TheBIT_NOToperator.TheBIT_ORoperator.TheBIT_ORoperator.TheBIT_XNORoperator.TheBIT_XNORoperator.TheBIT_XORoperator.TheBIT_XORoperator.<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.booleanThe 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.Attach aCommentto this field, for use in DDL statements, such asDSLContext.createTable(Table).Attach aCommentto this field, for use in DDL statements, such asDSLContext.createTable(Table).@NotNull Conditioncompare(Comparator comparator, Field<T> field) Compare this field with another field using a dynamic comparator.@NotNull Conditioncompare(Comparator comparator, QuantifiedSelect<? extends Record1<T>> query) Compare this field with a quantified subselect using a dynamic comparator.@NotNull Conditioncompare(Comparator comparator, Select<? extends Record1<T>> query) Compare this field with a subselect using a dynamic comparator.@NotNull Conditioncompare(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 ConditionTheCONTAINSoperator.@NotNull ConditionTheCONTAINSoperator.@NotNull ConditioncontainsIgnoreCase(Field<T> content) TheCONTAINS_IGNORE_CASEoperator.@NotNull ConditioncontainsIgnoreCase(T content) TheCONTAINS_IGNORE_CASEoperator.<U> @NotNull Field<U>Apply an ad-hoc data typeConverterto this field expression.<U> @NotNull Field<U>Apply an ad-hoc data typeBindingto this field expression.<U> @NotNull Field<U>Apply an ad-hoc data typeConverterto this field expression.<U> @NotNull Field<U>convertFrom(Class<U> toType, Function<? super T, ? extends U> from) Apply an ad-hoc read-only data typeConverterto this field expression.<U> @NotNull Field<U>convertFrom(Function<? super T, ? extends U> from) Apply an ad-hoc read-only data typeConverterto this field expression.<U> @NotNull Field<U>Apply an ad-hoc write-only data typeConverterto this field expression.<U> @NotNull Field<U>Apply an ad-hoc write-only data typeConverterto 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 ConditionTheENDS_WITHoperator.@NotNull ConditionTheENDS_WITHoperator.@NotNull ConditionendsWithIgnoreCase(Field<T> suffix) TheENDS_WITH_IGNORE_CASEoperator.@NotNull ConditionendsWithIgnoreCase(T suffix) TheENDS_WITH_IGNORE_CASEoperator.@NotNull ConditionTheEQoperator.@NotNull Conditioneq(QuantifiedSelect<? extends Record1<T>> arg2) TheEQoperator.@NotNull ConditionTheEQoperator.@NotNull ConditionTheEQoperator.@NotNull ConditionTheEQUALoperator, an alias for theEQoperator.@NotNull Conditionequal(QuantifiedSelect<? extends Record1<T>> arg2) TheEQUALoperator, an alias for theEQoperator.@NotNull ConditionTheEQUALoperator, an alias for theEQoperator.@NotNull ConditionTheEQUALoperator, an alias for theEQoperator.@NotNull ConditionequalIgnoreCase(String value) lower(this) = lower(value).@NotNull ConditionequalIgnoreCase(Field<String> value) lower(this) = lower(value).booleanCheck whether thisQueryPartcan 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 ConditionTheGEoperator.@NotNull Conditionge(QuantifiedSelect<? extends Record1<T>> arg2) TheGEoperator.@NotNull ConditionTheGEoperator.@NotNull ConditionTheGEoperator.The inverse operation ofRecord.get(Field).@NotNull StringThe comment given to the field.@NotNull StringgetName()The name of the field.The inverse operation ofRecord.getValue(Field).@NotNull ConditiongreaterOrEqual(Field<T> arg2) TheGREATER_OR_EQUALoperator, an alias for theGEoperator.@NotNull ConditiongreaterOrEqual(QuantifiedSelect<? extends Record1<T>> arg2) TheGREATER_OR_EQUALoperator, an alias for theGEoperator.@NotNull ConditiongreaterOrEqual(Select<? extends Record1<T>> arg2) TheGREATER_OR_EQUALoperator, an alias for theGEoperator.@NotNull ConditiongreaterOrEqual(T arg2) TheGREATER_OR_EQUALoperator, an alias for theGEoperator.@NotNull ConditiongreaterThan(Field<T> arg2) TheGREATER_THANoperator, an alias for theGToperator.@NotNull ConditiongreaterThan(QuantifiedSelect<? extends Record1<T>> arg2) TheGREATER_THANoperator, an alias for theGToperator.@NotNull ConditiongreaterThan(Select<? extends Record1<T>> arg2) TheGREATER_THANoperator, an alias for theGToperator.@NotNull ConditiongreaterThan(T arg2) TheGREATER_THANoperator, an alias for theGToperator.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 ConditionTheGToperator.@NotNull Conditiongt(QuantifiedSelect<? extends Record1<T>> arg2) TheGToperator.@NotNull ConditionTheGToperator.@NotNull ConditionTheGToperator.@NotNull Conditionin(Collection<?> values) Create a condition to check this field against several values.@NotNull ConditionCreate a condition to check this field against several values.@NotNull ConditionCreate a condition to check this field against several values from a previous query.@NotNull ConditionTheINoperator.@NotNull ConditionCreate a condition to check this field against several values.@NotNull ConditionisDistinctFrom(Field<T> arg2) TheIS_DISTINCT_FROMoperator.@NotNull ConditionisDistinctFrom(Select<? extends Record1<T>> arg2) TheIS_DISTINCT_FROMoperator.@NotNull ConditionisDistinctFrom(T arg2) TheIS_DISTINCT_FROMoperator.@NotNull ConditionTheIS_DOCUMENToperator.@NotNull ConditionisFalse()Create a condition to check this field against known string literals forfalse.@NotNull ConditionisJson()TheIS_JSONoperator.@NotNull ConditionisNotDistinctFrom(Field<T> arg2) TheIS_NOT_DISTINCT_FROMoperator.@NotNull ConditionisNotDistinctFrom(Select<? extends Record1<T>> arg2) TheIS_NOT_DISTINCT_FROMoperator.@NotNull ConditionisNotDistinctFrom(T arg2) TheIS_NOT_DISTINCT_FROMoperator.@NotNull ConditionTheIS_NOT_DOCUMENToperator.@NotNull ConditionTheIS_NOT_JSONoperator.@NotNull ConditionTheIS_NOT_NULLoperator.@NotNull ConditionisNull()TheIS_NULLoperator.@NotNull ConditionisTrue()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 ConditionTheLEoperator.@NotNull Conditionle(QuantifiedSelect<? extends Record1<T>> arg2) TheLEoperator.@NotNull ConditionTheLEoperator.@NotNull ConditionTheLEoperator.@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 ConditionlessOrEqual(Field<T> arg2) TheLESS_OR_EQUALoperator, an alias for theLEoperator.@NotNull ConditionlessOrEqual(QuantifiedSelect<? extends Record1<T>> arg2) TheLESS_OR_EQUALoperator, an alias for theLEoperator.@NotNull ConditionlessOrEqual(Select<? extends Record1<T>> arg2) TheLESS_OR_EQUALoperator, an alias for theLEoperator.@NotNull ConditionlessOrEqual(T arg2) TheLESS_OR_EQUALoperator, an alias for theLEoperator.@NotNull ConditionTheLESS_THANoperator, an alias for theLToperator.@NotNull ConditionlessThan(QuantifiedSelect<? extends Record1<T>> arg2) TheLESS_THANoperator, an alias for theLToperator.@NotNull ConditionTheLESS_THANoperator, an alias for theLToperator.@NotNull ConditionTheLESS_THANoperator, an alias for theLToperator.@NotNull LikeEscapeStepTheLIKEoperator.@NotNull ConditionCreate a condition to pattern-check this field against a value.@NotNull LikeEscapeStepTheLIKEoperator.@NotNull ConditionCreate a condition to pattern-check this field against a value.@NotNull LikeEscapeSteplike(QuantifiedSelect<? extends Record1<String>> pattern) TheLIKEoperator.@NotNull LikeEscapeSteplikeIgnoreCase(String pattern) TheLIKE_IGNORE_CASEoperator.@NotNull ConditionlikeIgnoreCase(String value, char escape) Create a condition to case-insensitively pattern-check this field against a value.@NotNull LikeEscapeSteplikeIgnoreCase(Field<String> pattern) TheLIKE_IGNORE_CASEoperator.@NotNull ConditionlikeIgnoreCase(Field<String> field, char escape) Create a condition to case-insensitively pattern-check this field against a field.@NotNull ConditionCreate a condition to regex-pattern-check this field against a pattern.@NotNull ConditionCreate 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 ConditionTheLToperator.@NotNull Conditionlt(QuantifiedSelect<? extends Record1<T>> arg2) TheLToperator.@NotNull ConditionTheLToperator.@NotNull ConditionTheLToperator.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).TheMODoperator.TheMODoperator.TheMODULOoperator, an alias for theMODoperator.TheMODULOoperator, an alias for theMODoperator.An arithmetic expression multiplying this with value.An arithmetic expression multiplying this with value.An alias formul(Number).An alias formul(Field).@NotNull ConditionTheNEoperator.@NotNull Conditionne(QuantifiedSelect<? extends Record1<T>> arg2) TheNEoperator.@NotNull ConditionTheNEoperator.@NotNull ConditionTheNEoperator.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 ConditionnotBetween(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 ConditionnotBetween(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 ConditionnotBetweenSymmetric(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 ConditionnotBetweenSymmetric(T minValue, T maxValue) Create a condition to check this field against some bounds.@NotNull ConditionnotContains(Field<T> value) Inverse ofcontains(Field).@NotNull ConditionnotContains(T value) Inverse ofcontains(Object).@NotNull ConditionnotContainsIgnoreCase(Field<T> value) Inverse ofcontainsIgnoreCase(Field)@NotNull ConditionnotContainsIgnoreCase(T value) Inverse ofcontainsIgnoreCase(Object)@NotNull ConditionTheNOT_EQUALoperator, an alias for theNEoperator.@NotNull ConditionnotEqual(QuantifiedSelect<? extends Record1<T>> arg2) TheNOT_EQUALoperator, an alias for theNEoperator.@NotNull ConditionTheNOT_EQUALoperator, an alias for theNEoperator.@NotNull ConditionTheNOT_EQUALoperator, an alias for theNEoperator.@NotNull ConditionnotEqualIgnoreCase(String value) lower(this) != lower(value).@NotNull ConditionnotEqualIgnoreCase(Field<String> value) lower(this) != lower(value).@NotNull ConditionnotIn(Collection<?> values) Create a condition to check this field against several values.@NotNull ConditionCreate a condition to check this field against several values.@NotNull ConditionCreate a condition to check this field against several values from a previous query.@NotNull ConditionTheNOT_INoperator.@NotNull ConditionCreate a condition to check this field against several values.@NotNull LikeEscapeStepTheNOT_LIKEoperator.@NotNull ConditionCreate a condition to pattern-check this field against a value.@NotNull LikeEscapeStepTheNOT_LIKEoperator.@NotNull ConditionCreate a condition to pattern-check this field against a field.@NotNull LikeEscapeStepnotLike(QuantifiedSelect<? extends Record1<String>> pattern) TheNOT_LIKEoperator.@NotNull LikeEscapeStepnotLikeIgnoreCase(String pattern) TheNOT_LIKE_IGNORE_CASEoperator.@NotNull ConditionnotLikeIgnoreCase(String value, char escape) Create a condition to case-insensitively pattern-check this field against a value.@NotNull LikeEscapeStepnotLikeIgnoreCase(Field<String> pattern) TheNOT_LIKE_IGNORE_CASEoperator.@NotNull ConditionnotLikeIgnoreCase(Field<String> field, char escape) Create a condition to case-insensitively pattern-check this field against a field.@NotNull ConditionnotLikeRegex(String pattern) Create a condition to regex-pattern-check this field against a pattern.@NotNull ConditionnotLikeRegex(Field<String> pattern) Create a condition to regex-pattern-check this field against a pattern.@NotNull LikeEscapeStepnotSimilarTo(String pattern) TheNOT_SIMILAR_TOoperator.@NotNull ConditionnotSimilarTo(String value, char escape) Create a condition to pattern-check this field against a value.@NotNull LikeEscapeStepnotSimilarTo(Field<String> pattern) TheNOT_SIMILAR_TOoperator.@NotNull ConditionnotSimilarTo(Field<String> field, char escape) Create a condition to pattern-check this field against a field.@NotNull LikeEscapeStepnotSimilarTo(QuantifiedSelect<? extends Record1<String>> pattern) TheNOT_SIMILAR_TOoperator.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.Convenience method forsortDefault()and thenSortField.nullsFirst().Convenience method forsortDefault()and thenSortField.nullsLast().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()ThePLUSoperator.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>ThePOWoperator, an alias for thePOWERoperator.@NotNull Field<BigDecimal>ThePOWoperator, an alias for thePOWERoperator.@NotNull Field<BigDecimal>ThePOWERoperator.@NotNull Field<BigDecimal>ThePOWERoperator.@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.TheREMoperator, an alias for theMODoperator.TheREMoperator, an alias for theMODoperator.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.voidThe 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.TheSHLoperator.TheSHLoperator.TheSHRoperator.TheSHRoperator.sign()Deprecated, for removal: This API element is subject to removal in a future version.- 3.11 - [#7538] - UseDSL.sign(Field)instead.@NotNull LikeEscapeStepTheSIMILAR_TOoperator.@NotNull ConditionCreate a condition to pattern-check this field against a value.@NotNull LikeEscapeStepTheSIMILAR_TOoperator.@NotNull ConditionCreate a condition to pattern-check this field against a value.@NotNull LikeEscapeStepsimilarTo(QuantifiedSelect<? extends Record1<String>> pattern) TheSIMILAR_TOoperator.@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 ConditionstartsWith(Field<T> prefix) TheSTARTS_WITHoperator.@NotNull ConditionstartsWith(T prefix) TheSTARTS_WITHoperator.@NotNull ConditionstartsWithIgnoreCase(Field<T> prefix) TheSTARTS_WITH_IGNORE_CASEoperator.@NotNull ConditionstartsWithIgnoreCase(T prefix) TheSTARTS_WITH_IGNORE_CASEoperator.@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, getUnqualifiedNameMethods inherited from interface org.jooq.QueryPart
$replace, $replace, $traverse, $traverse, hashCode, toStringMethods 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
Fieldis 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:
getCommentin 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 thisQueryPartcan be considered equal to anotherQueryPart.In general,
QueryPartequality 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
QueryPartimplementations 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:SelectFieldCreate an alias for this field.A field alias renders itself differently, depending on
Context.declareFields(). There are two rendering modes:- Declaration: The field alias renders its aliased expression
(
this) along with theAS aliasclause. This typically happens inSELECTandRETURNINGclauses. - Reference: The field alias renders its alias identifier. This happens everywhere else.
There is no rendering mode that reproduces the aliased expression as there is no way to formally decide when that mode would be more appropriate than the referencing of the alias! If the aliased expression is the preferred output, it can be extracted from the
QOMAPI viaQOM.FieldAlias.$aliased().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:
asin interfaceSelectField<T>- Parameters:
alias- The alias name- Returns:
- The field alias
- Declaration: The field alias renders its aliased expression
(
-
as
Description copied from interface:SelectFieldCreate an alias for this field.A field alias renders itself differently, depending on
Context.declareFields(). There are two rendering modes:- Declaration: The field alias renders its aliased expression
(
this) along with theAS aliasclause. This typically happens inSELECTandRETURNINGclauses. - Reference: The field alias renders its alias identifier. This happens everywhere else.
There is no rendering mode that reproduces the aliased expression as there is no way to formally decide when that mode would be more appropriate than the referencing of the alias! If the aliased expression is the preferred output, it can be extracted from the
QOMAPI viaQOM.FieldAlias.$aliased().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.- Specified by:
asin interfaceSelectField<T>- Parameters:
alias- The alias name. IfName.getName()is qualified, then theName.last()part will be used.- Returns:
- The field alias
- Declaration: The field alias renders its aliased expression
(
-
as
Description copied from interface:SelectFieldCreate an alias for this field based on another field's name.A field alias renders itself differently, depending on
Context.declareFields(). There are two rendering modes:- Declaration: The field alias renders its aliased expression
(
this) along with theAS aliasclause. This typically happens inSELECTandRETURNINGclauses. - Reference: The field alias renders its alias identifier. This happens everywhere else.
There is no rendering mode that reproduces the aliased expression as there is no way to formally decide when that mode would be more appropriate than the referencing of the alias! If the aliased expression is the preferred output, it can be extracted from the
QOMAPI viaQOM.FieldAlias.$aliased().- Specified by:
asin interfaceSelectField<T>- Parameters:
otherField- The other field whose name this field is aliased with.- Returns:
- The field alias.
- Declaration: The field alias renders its aliased expression
(
-
convert
Description copied from interface:SelectFieldApply an ad-hoc data typeBindingto 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:
convertin 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:SelectFieldApply an ad-hoc data typeConverterto 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:
convertin 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:SelectFieldApply an ad-hoc data typeConverterto 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:
convertin interfaceSelectField<T>- Type Parameters:
U- The user type.- Returns:
- A derived field expression using a new converter.
-
convertFrom
Description copied from interface:SelectFieldApply an ad-hoc read-only data typeConverterto 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:
convertFromin interfaceSelectField<T>- Type Parameters:
U- The user type.- Returns:
- A derived field expression using a new converter.
-
convertFrom
Description copied from interface:SelectFieldApply an ad-hoc read-only data typeConverterto 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 explicitClassreference 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:
convertFromin interfaceSelectField<T>- Type Parameters:
U- The user type.- Returns:
- A derived field expression using a new converter.
-
convertTo
Description copied from interface:SelectFieldApply an ad-hoc write-only data typeConverterto 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:
convertToin interfaceSelectField<T>- Type Parameters:
U- The user type.- Returns:
- A derived field expression using a new converter.
-
convertTo
Description copied from interface:SelectFieldApply an ad-hoc write-only data typeConverterto 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 explicitClassreference 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:
convertToin interfaceSelectField<T>- Type Parameters:
U- The user type.- Returns:
- A derived field expression using a new converter.
-
comment
@NotNull @Support({AURORA_POSTGRES,AURORA_MYSQL,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> comment(String comment) Attach aCommentto this field, for use in DDL statements, such asDSLContext.createTable(Table). -
comment
@NotNull @Support({AURORA_POSTGRES,AURORA_MYSQL,COCKROACHDB,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> comment(Comment comment) Attach aCommentto this field, for use in DDL statements, such asDSLContext.createTable(Table). -
cast
Cast this field to the type of another field.Casting converts expressions between data types directly in SQL using SQL
CASTexpressions or similar. If you want to convert data types only in jOOQ without any effect on generated SQL, you can usecoerce(Field)instead.- 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.Casting converts expressions between data types directly in SQL using SQL
CASTexpressions or similar. If you want to convert data types only in jOOQ without any effect on generated SQL, you can usecoerce(DataType)instead.- 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.Casting converts expressions between data types directly in SQL using SQL
CASTexpressions or similar. If you want to convert data types only in jOOQ without any effect on generated SQL, you can usecoerce(Class)instead.The actual cast may not be accurate as the
DataTypehas to be "guessed" from the jOOQ-configured data types. Usecast(DataType)for more accurate casts.NOTE [#15286]: It is strongly recommended to pass only
Classreferences of types supported by jOOQ internally, i.e. types fromSQLDataType. If you're using any custom data types by means of aConverterorBinding, it's better to pass that convertedDataTypereference 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
cast(Field), coercing doesn't affect the way the database sees aField's type. This is how coercing affects your SQL:Bind values
// This binds an int value to a JDBC PreparedStatement, // where a String is expected DSL.val(1).coerce(VARCHAR); // This binds an int value to a JDBC PreparedStatement // and casts it to VARCHAR in SQL DSL.val(1).cast(VARCHAR);Other Field types
// This fetches a String value for the BOOK.ID field from JDBC BOOK.ID.coerce(VARCHAR); // This fetches a String value for the BOOK.ID field from JDBC // after casting it to VARCHAR in the database BOOK.ID.cast(VARCHAR);- 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
cast(DataType), coercing doesn't affect the way the database sees aField's type. This is how coercing affects your SQL:Bind values
// This binds an int value to a JDBC PreparedStatement, // where a String is expected DSL.val(1).coerce(VARCHAR); // This binds an int value to a JDBC PreparedStatement // and casts it to VARCHAR in SQL DSL.val(1).cast(VARCHAR);Other Field types
// This fetches a String value for the BOOK.ID field from JDBC BOOK.ID.coerce(VARCHAR); // This fetches a String value for the BOOK.ID field from JDBC // after casting it to VARCHAR in the database BOOK.ID.cast(VARCHAR);- 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
cast(Class), coercing doesn't affect the way the database sees aField's type. This is how coercing affects your SQL:Bind values
// This binds an int value to a JDBC PreparedStatement, // where a String is expected DSL.val(1).coerce(VARCHAR); // This binds an int value to a JDBC PreparedStatement // and casts it to VARCHAR in SQL DSL.val(1).cast(VARCHAR);Other Field types
// This fetches a String value for the BOOK.ID field from JDBC BOOK.ID.coerce(VARCHAR); // This fetches a String value for the BOOK.ID field from JDBC // after casting it to VARCHAR in the database BOOK.ID.cast(VARCHAR);NOTE [#15286]: It is strongly recommended to pass only
Classreferences of types supported by jOOQ internally, i.e. types fromSQLDataType. If you're using any custom data types by means of aConverterorBinding, it's better to pass that convertedDataTypereference 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 ASCNote: 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 ASCNote: 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 DESCNote: 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 DESCNote: 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 DESCNote: 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
-
nullsFirst
Convenience method forsortDefault()and thenSortField.nullsFirst(). -
nullsLast
Convenience method forsortDefault()and thenSortField.nullsLast(). -
eq
TheEQoperator. -
eq
TheEQoperator. -
eq
TheEQoperator. -
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>> arg2) TheEQoperator. -
equal
TheEQUALoperator, an alias for theEQoperator. -
equal
TheEQUALoperator, an alias for theEQoperator. -
equal
TheEQUALoperator, an alias for theEQoperator. -
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>> arg2) TheEQUALoperator, an alias for theEQoperator. -
ge
TheGEoperator. -
ge
TheGEoperator. -
ge
TheGEoperator. -
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>> arg2) TheGEoperator. -
greaterOrEqual
TheGREATER_OR_EQUALoperator, an alias for theGEoperator. -
greaterOrEqual
TheGREATER_OR_EQUALoperator, an alias for theGEoperator. -
greaterOrEqual
TheGREATER_OR_EQUALoperator, an alias for theGEoperator. -
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>> arg2) TheGREATER_OR_EQUALoperator, an alias for theGEoperator. -
greaterThan
TheGREATER_THANoperator, an alias for theGToperator. -
greaterThan
TheGREATER_THANoperator, an alias for theGToperator. -
greaterThan
TheGREATER_THANoperator, an alias for theGToperator. -
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>> arg2) TheGREATER_THANoperator, an alias for theGToperator. -
gt
TheGToperator. -
gt
TheGToperator. -
gt
TheGToperator. -
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>> arg2) TheGToperator. -
in
TheINoperator.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_FROMoperator.The DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for non-equality
-
isDistinctFrom
TheIS_DISTINCT_FROMoperator.The DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for non-equality
-
isDistinctFrom
TheIS_DISTINCT_FROMoperator.The DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for non-equality
-
isNull
TheIS_NULLoperator. -
isNotDistinctFrom
TheIS_NOT_DISTINCT_FROMoperator.The NOT DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for equality
-
isNotDistinctFrom
TheIS_NOT_DISTINCT_FROMoperator.The NOT DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for equality
-
isNotDistinctFrom
TheIS_NOT_DISTINCT_FROMoperator.The NOT DISTINCT predicate allows for creating NULL safe comparisons where the two operands are tested for equality
-
isNotNull
TheIS_NOT_NULLoperator. -
le
TheLEoperator. -
le
TheLEoperator. -
le
TheLEoperator. -
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>> arg2) TheLEoperator. -
lessOrEqual
TheLESS_OR_EQUALoperator, an alias for theLEoperator. -
lessOrEqual
TheLESS_OR_EQUALoperator, an alias for theLEoperator. -
lessOrEqual
TheLESS_OR_EQUALoperator, an alias for theLEoperator. -
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>> arg2) TheLESS_OR_EQUALoperator, an alias for theLEoperator. -
lessThan
TheLESS_THANoperator, an alias for theLToperator. -
lessThan
TheLESS_THANoperator, an alias for theLToperator. -
lessThan
TheLESS_THANoperator, an alias for theLToperator. -
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>> arg2) TheLESS_THANoperator, an alias for theLToperator. -
like
TheLIKEoperator.- Parameters:
pattern- is wrapped as.invalid @link
#val(Object)
-
like
TheLIKEoperator. -
like
TheLIKEoperator. -
likeIgnoreCase
TheLIKE_IGNORE_CASEoperator.Create a condition to case-insensitively pattern-check this field against a value.
This translates to
this ilike valueinSQLDialect.POSTGRES, or tolower(this) like lower(value)in all other dialects.- Parameters:
pattern- is wrapped as.invalid @link
#val(Object)
-
likeIgnoreCase
TheLIKE_IGNORE_CASEoperator.Create a condition to case-insensitively pattern-check this field against a value.
This translates to
this ilike valueinSQLDialect.POSTGRES, or tolower(this) like lower(value)in all other dialects. -
lt
TheLToperator. -
lt
TheLToperator. -
lt
TheLToperator. -
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>> arg2) TheLToperator. -
ne
TheNEoperator. -
ne
TheNEoperator. -
ne
TheNEoperator. -
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>> arg2) TheNEoperator. -
notEqual
TheNOT_EQUALoperator, an alias for theNEoperator. -
notEqual
TheNOT_EQUALoperator, an alias for theNEoperator. -
notEqual
TheNOT_EQUALoperator, an alias for theNEoperator. -
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>> arg2) TheNOT_EQUALoperator, an alias for theNEoperator. -
notIn
TheNOT_INoperator.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_LIKEoperator.- Parameters:
pattern- is wrapped as.invalid @link
#val(Object)
-
notLike
TheNOT_LIKEoperator. -
notLike
@NotNull @Support @NotNull LikeEscapeStep notLike(QuantifiedSelect<? extends Record1<String>> pattern) TheNOT_LIKEoperator. -
notLikeIgnoreCase
TheNOT_LIKE_IGNORE_CASEoperator.Create a condition to case-insensitively pattern-check this field against a value.
This translates to
this not ilike valueinSQLDialect.POSTGRES, or tolower(this) not like lower(value)in all other dialects.- Parameters:
pattern- is wrapped as.invalid @link
#val(Object)
-
notLikeIgnoreCase
TheNOT_LIKE_IGNORE_CASEoperator.Create a condition to case-insensitively pattern-check this field against a value.
This translates to
this not ilike valueinSQLDialect.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_TOoperator.- Parameters:
pattern- is wrapped as.invalid @link
#val(Object)
-
notSimilarTo
@NotNull @Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,FIREBIRD,IGNITE,POSTGRES,SNOWFLAKE,YUGABYTEDB}) @NotNull LikeEscapeStep notSimilarTo(Field<String> pattern) TheNOT_SIMILAR_TOoperator. -
notSimilarTo
@NotNull @Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,FIREBIRD,IGNITE,POSTGRES,SNOWFLAKE,YUGABYTEDB}) @NotNull LikeEscapeStep notSimilarTo(QuantifiedSelect<? extends Record1<String>> pattern) TheNOT_SIMILAR_TOoperator. -
similarTo
@NotNull @Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,FIREBIRD,IGNITE,POSTGRES,SNOWFLAKE,YUGABYTEDB}) @NotNull LikeEscapeStep similarTo(@Param String pattern) TheSIMILAR_TOoperator.- Parameters:
pattern- is wrapped as.invalid @link
#val(Object)
-
similarTo
@NotNull @Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,FIREBIRD,IGNITE,POSTGRES,SNOWFLAKE,YUGABYTEDB}) @NotNull LikeEscapeStep similarTo(Field<String> pattern) TheSIMILAR_TOoperator. -
similarTo
@NotNull @Support({AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,EXASOL,FIREBIRD,IGNITE,POSTGRES,SNOWFLAKE,YUGABYTEDB}) @NotNull LikeEscapeStep similarTo(QuantifiedSelect<? extends Record1<String>> pattern) TheSIMILAR_TOoperator. -
isDocument
TheIS_DOCUMENToperator.Create a condition to check if this field contains XML data.
-
isNotDocument
TheIS_NOT_DOCUMENToperator.Create a condition to check if this field does not contain XML data.
-
isJson
@NotNull @Support({MARIADB,MYSQL_5_7,ORACLE12C,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER2016}) @NotNull Condition isJson()TheIS_JSONoperator.Create a condition to check if this field contains JSON data.
-
isNotJson
@NotNull @Support({MARIADB,MYSQL_5_7,ORACLE12C,SNOWFLAKE,SQLDATAWAREHOUSE,SQLSERVER2016}) @NotNull Condition isNotJson()TheIS_NOT_JSONoperator.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,EXASOL,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_ANDoperator.- Parameters:
arg2- is wrapped as.invalid @link
#val(Object)
-
bitAnd
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,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_ANDoperator. -
bitNand
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,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_NANDoperator.- Parameters:
arg2- is wrapped as.invalid @link
#val(Object)
-
bitNand
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,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_NANDoperator. -
bitNor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,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_NORoperator.- Parameters:
arg2- is wrapped as.invalid @link
#val(Object)
-
bitNor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,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_NORoperator. -
bitNot
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> bitNot()TheBIT_NOToperator. -
bitOr
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,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_ORoperator.- Parameters:
arg2- is wrapped as.invalid @link
#val(Object)
-
bitOr
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,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_ORoperator. -
bitXNor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,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_XNORoperator.- Parameters:
arg2- is wrapped as.invalid @link
#val(Object)
-
bitXNor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,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_XNORoperator. -
bitXor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,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_XORoperator.- Parameters:
arg2- is wrapped as.invalid @link
#val(Object)
-
bitXor
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,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_XORoperator. -
mod
TheMODoperator.- Parameters:
divisor- is wrapped as.invalid @link
#val(Object)
-
mod
TheMODoperator. -
modulo
TheMODULOoperator, an alias for theMODoperator.- Parameters:
divisor- is wrapped as.invalid @link
#val(Object)
-
modulo
TheMODULOoperator, an alias for theMODoperator. -
rem
TheREMoperator, an alias for theMODoperator.- Parameters:
divisor- is wrapped as.invalid @link
#val(Object)
-
rem
TheREMoperator, an alias for theMODoperator. -
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) ThePOWERoperator.- Parameters:
exponent- is wrapped as.invalid @link
#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) ThePOWERoperator. -
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) ThePOWoperator, an alias for thePOWERoperator.- Parameters:
exponent- is wrapped as.invalid @link
#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) ThePOWoperator, an alias for thePOWERoperator. -
shl
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> shl(Number count) TheSHLoperator.Left shift all bits in a number
- Parameters:
count- The number of bits to shift.value- The number whose bits to shift left.
-
shl
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> shl(Field<? extends Number> count) TheSHLoperator.Left shift all bits in a number
- Parameters:
count- The number of bits to shift.value- The number whose bits to shift left.
-
shr
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> shr(Number count) TheSHRoperator.Right shift all bits in a number
- Parameters:
count- The number of bits to shift.value- The number whose bits to shift right
-
shr
@NotNull @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,BIGQUERY,COCKROACHDB,CUBRID,DB2,EXASOL,FIREBIRD,H2,HSQLDB,INFORMIX,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,REDSHIFT,SNOWFLAKE,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA,YUGABYTEDB}) @NotNull Field<T> shr(Field<? extends Number> count) TheSHRoperator.Right shift all bits in a number
- Parameters:
count- The number of bits to shift.value- The number whose bits to shift right
-
contains
TheCONTAINSoperator.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.invalid @link
#val(Object)
-
contains
TheCONTAINSoperator.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_CASEoperator.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.invalid @link
#val(Object)
-
containsIgnoreCase
TheCONTAINS_IGNORE_CASEoperator.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_WITHoperator.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.invalid @link
#val(Object)
-
endsWith
TheENDS_WITHoperator.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_CASEoperator.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.invalid @link
#val(Object)
-
endsWithIgnoreCase
TheENDS_WITH_IGNORE_CASEoperator.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_WITHoperator.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.invalid @link
#val(Object)
-
startsWith
TheSTARTS_WITHoperator.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_CASEoperator.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.invalid @link
#val(Object)
-
startsWithIgnoreCase
TheSTARTS_WITH_IGNORE_CASEoperator.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
ThePLUSoperator.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
INTERVALfield, then the result is also anINTERVALfield (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
INTERVALfield, then the result is also anINTERVALfield (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
INTERVALfield, then the result is also anINTERVALfield (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
INTERVALfield, then the result is also anINTERVALfield (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,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_REGEXoperator 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,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,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,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:
-
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 fieldinSQLDialect.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 valueinSQLDialect.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:
-
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 fieldinSQLDialect.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 valueinSQLDialect.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
INpredicates 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 avoidINlists, and replace them with:INpredicates on temporary tablesINpredicates 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
INpredicates 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 avoidINlists, and replace them with:INpredicates on temporary tablesINpredicates 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
INpredicates 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 avoidINlists, and replace them with:INpredicates on temporary tablesINpredicates 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 INpredicates 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 avoidINlists, and replace them with:NOT INpredicates on temporary tablesNOT INpredicates 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 INpredicates 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 avoidINlists, and replace them with:NOT INpredicates on temporary tablesNOT INpredicates 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 INpredicates 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 avoidINlists, and replace them with:NOT INpredicates on temporary tablesNOT INpredicates 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
-
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.