-
- Type Parameters:
T- The field type
- All Superinterfaces:
FieldOrConstraint,FieldOrRow,GroupField,Named,OrderField<T>,QueryPart,SelectField<T>,SelectFieldOrAsterisk,Serializable,Typed<T>
- All Known Subinterfaces:
AggregateFilterStep<T>,AggregateFunction<T>,ArrayAggOrderByStep<T>,CaseConditionStep<T>,CaseWhenStep<V,T>,GroupConcatOrderByStep,GroupConcatSeparatorStep,Param<T>,TableField<R,T>,UDTField<R,T>,Variable<T>,WindowBeforeOverStep<T>,WindowExcludeStep<T>,WindowFinalStep<T>,WindowOrderByStep<T>,WindowPartitionByStep<T>,WindowRowsStep<T>
- All Known Implementing Classes:
ConvertDateTime,CustomField
public interface Field<T> extends SelectField<T>, GroupField, OrderField<T>, FieldOrRow, FieldOrConstraint
A column expression.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.- Fields referenced from generated tables
- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Field<T>abs()Deprecated.- 3.11 - [#7538] - UseDSL.abs(Field)instead.Field<BigDecimal>acos()Deprecated.- 3.11 - [#7538] - UseDSL.acos(Field)instead.Field<T>add(Number value)An arithmetic expression adding this to value.Field<T>add(Field<?> value)An arithmetic expression to add value to this.Field<T>as(String alias)Create an alias for this field.Field<T>as(Function<? super Field<T>,? extends String> aliasFunction)Create an alias for this field.Field<T>as(Field<?> otherField)Create an alias for this field based on another field's name.Field<T>as(Name alias)Create an alias for this field.SortField<T>asc()Create an ascending sort field from this field.Field<Integer>ascii()Deprecated.- 3.13 - [#9407] - UseDSL.ascii(Field)instead.Field<BigDecimal>asin()Deprecated.- 3.11 - [#7538] - UseDSL.asin(Field)instead.Field<BigDecimal>atan()Deprecated.- 3.11 - [#7538] - UseDSL.atan(Field)instead.Field<BigDecimal>atan2(Number y)Deprecated.- 3.11 - [#7538] - UseDSL.atan2(Field, Number)instead.Field<BigDecimal>atan2(Field<? extends Number> y)Deprecated.- 3.11 - [#7538] - UseDSL.atan2(Field, Field)instead.Field<BigDecimal>avg()Deprecated.- 3.11 - [#7538] - UseDSL.avg(Field)instead.WindowPartitionByStep<BigDecimal>avgOver()Deprecated.- 3.11 - [#7538] - UseDSL.avg(Field)instead.BetweenAndStep<T>between(Field<T> minValue)Create a condition to check this field against some bounds.Conditionbetween(Field<T> minValue, Field<T> maxValue)Create a condition to check this field against some bounds.BetweenAndStep<T>between(T minValue)Create a condition to check this field against some bounds.Conditionbetween(T minValue, T maxValue)Create a condition to check this field against some bounds.BetweenAndStep<T>betweenSymmetric(Field<T> minValue)Create a condition to check this field against some bounds.ConditionbetweenSymmetric(Field<T> minValue, Field<T> maxValue)Create a condition to check this field against some bounds.BetweenAndStep<T>betweenSymmetric(T minValue)Create a condition to check this field against some bounds.ConditionbetweenSymmetric(T minValue, T maxValue)Create a condition to check this field against some bounds.Field<T>bitAnd(Field<T> value)The bitwise and operator.Field<T>bitAnd(T value)The bitwise and operator.Field<Integer>bitLength()Deprecated.- 3.13 - [#9407] - UseDSL.bitLength(Field)instead.Field<T>bitNand(Field<T> value)The bitwise not and operator.Field<T>bitNand(T value)The bitwise not and operator.Field<T>bitNor(Field<T> value)The bitwise not or operator.Field<T>bitNor(T value)The bitwise not or operator.Field<T>bitNot()The bitwise not operator.Field<T>bitOr(Field<T> value)The bitwise or operator.Field<T>bitOr(T value)The bitwise or operator.Field<T>bitXNor(Field<T> value)The bitwise not xor operator.Field<T>bitXNor(T value)The bitwise not xor operator.Field<T>bitXor(Field<T> value)The bitwise xor operator.Field<T>bitXor(T value)The bitwise xor operator.<Z> Field<Z>cast(Class<Z> type)Cast this field to another type.<Z> Field<Z>cast(DataType<Z> type)Cast this field to a dialect-specific data type.<Z> Field<Z>cast(Field<Z> field)Cast this field to the type of another field.Field<T>ceil()Deprecated.- 3.11 - [#7538] - UseDSL.ceil(Field)instead.booleanchanged(Record record)The inverse operation ofRecord.changed(Field).Field<Integer>charLength()Deprecated.- 3.13 - [#9407] - UseDSL.charLength(Field)instead.Field<T>coalesce(Field<T> option, Field<?>... options)Deprecated.- 3.13 - [#9407] - UseDSL.coalesce(Field, Field...)instead.Field<T>coalesce(T option, T... options)Deprecated.- 3.13 - [#9407] - UseDSL.coalesce(Object, Object...)instead.<Z> Field<Z>coerce(Class<Z> type)Coerce this field to another type.<Z> Field<Z>coerce(DataType<Z> type)Coerce this field to a dialect-specific data type.<Z> Field<Z>coerce(Field<Z> field)Coerce this field to the type of another field.Field<String>collate(String collation)Apply a collation operator to this column expression.Field<String>collate(Collation collation)Apply a collation operator to this column expression.Field<String>collate(Name collation)Apply a collation operator to this column expression.Conditioncompare(Comparator comparator, Field<T> field)Compare this field with another field using a dynamic comparator.Conditioncompare(Comparator comparator, QuantifiedSelect<? extends Record1<T>> query)Compare this field with a quantified subselect using a dynamic comparator.Conditioncompare(Comparator comparator, Select<? extends Record1<T>> query)Compare this field with a subselect using a dynamic comparator.Conditioncompare(Comparator comparator, T value)Compare this field with a value using a dynamic comparator.Field<String>concat(char... values)This method is part of the pre-2.0 API.Field<String>concat(String... values)This method is part of the pre-2.0 API.Field<String>concat(Field<?>... fields)This method is part of the pre-2.0 API.Conditioncontains(Field<T> value)Convenience method forlike(String, char)including proper adding of wildcards and escaping.Conditioncontains(T value)Convenience method forlike(String, char)including proper adding of wildcards and escaping.ConditioncontainsIgnoreCase(Field<T> value)Convenience method forlikeIgnoreCase(String, char)including proper adding of wildcards and escaping.ConditioncontainsIgnoreCase(T value)Convenience method forlikeIgnoreCase(String, char)including proper adding of wildcards and escaping.Field<BigDecimal>cos()Deprecated.- 3.11 - [#7538] - UseDSL.cos(Field)instead.Field<BigDecimal>cosh()Deprecated.- 3.11 - [#7538] - UseDSL.cosh(Field)instead.Field<BigDecimal>cot()Deprecated.- 3.11 - [#7538] - UseDSL.cot(Field)instead.Field<BigDecimal>coth()Deprecated.- 3.11 - [#7538] - UseDSL.coth(Field)instead.Field<Integer>count()Deprecated.- 3.11 - [#7538] - UseDSL.count(Field)instead.Field<Integer>countDistinct()Deprecated.- 3.11 - [#7538] - UseDSL.countDistinct(Field)instead.WindowPartitionByStep<Integer>countOver()Deprecated.- 3.11 - [#7538] - UseDSL.count(Field)instead.<Z> Field<Z>decode(Field<T> search, Field<Z> result)Deprecated.- 3.13 - [#9407] - UseDSL.decode(Field, Field, Field)instead.<Z> Field<Z>decode(Field<T> search, Field<Z> result, Field<?>... more)Deprecated.- 3.13 - [#9407] - UseDSL.decode(Field, Field, Field, Field...)instead.<Z> Field<Z>decode(T search, Z result)Deprecated.- 3.13 - [#9407] - UseDSL.decode(Object, Object, Object)instead.<Z> Field<Z>decode(T search, Z result, Object... more)Deprecated.- 3.13 - [#9407] - UseDSL.decode(Object, Object, Object, Object...)instead.Field<BigDecimal>deg()Deprecated.- 3.11 - [#7538] - UseDSL.deg(Field)instead.SortField<T>desc()Create a descending sort field from this field.Field<T>div(Number value)An arithmetic expression dividing this by value.Field<T>div(Field<? extends Number> value)An arithmetic expression dividing this by value.Field<T>divide(Number value)An alias fordiv(Number).Field<T>divide(Field<? extends Number> value)An alias fordiv(Field).ConditionendsWith(Field<T> value)Convenience method forlike(String, char)including proper adding of wildcards and escaping.ConditionendsWith(T value)Convenience method forlike(String, char)including proper adding of wildcards and escaping.ConditionendsWithIgnoreCase(Field<T> value)Convenience method forlike(String, char)including proper adding of wildcards and escaping.ConditionendsWithIgnoreCase(T value)Convenience method forlike(String, char)including proper adding of wildcards and escaping.Conditioneq(Field<T> field)this = field.Conditioneq(QuantifiedSelect<? extends Record1<T>> query)this = [quantifier] (Select<?> ...).Conditioneq(Select<? extends Record1<T>> query)this = (Select<?> ...).Conditioneq(T value)this = value.Conditionequal(Field<T> field)this = field.Conditionequal(QuantifiedSelect<? extends Record1<T>> query)this = [quantifier] (Select<?> ...).Conditionequal(Select<? extends Record1<T>> query)this = (Select<?> ...).Conditionequal(T value)this = value.ConditionequalIgnoreCase(String value)lower(this) = lower(value).ConditionequalIgnoreCase(Field<String> value)lower(this) = lower(value).booleanequals(Object other)Check whether thisQueryPartcan be considered equal to anotherQueryPart.Field<BigDecimal>exp()Deprecated.- 3.11 - [#7538] - UseDSL.exp(Field)instead.Field<Integer>extract(DatePart datePart)Deprecated.- 3.11 - [#7538] - UseDSL.extract(Field, DatePart)instead.Field<T>field(Record record)The inverse operation ofRecord.field(Field).WindowIgnoreNullsStep<T>firstValue()Deprecated.- 3.11 - [#7538] - UseDSL.firstValue(Field)instead.Field<T>floor()Deprecated.- 3.11 - [#7538] - UseDSL.floor(Field)instead.Record1<T>from(Record record)The inverse operation ofRecord.into(Field).Conditionge(Field<T> field)this >= field.Conditionge(QuantifiedSelect<? extends Record1<T>> query)this >= [quantifier] (Select<?> ...).Conditionge(Select<? extends Record1<T>> query)this >= (Select<?> ...).Conditionge(T value)this >= value.Tget(Record record)The inverse operation ofRecord.get(Field).StringgetComment()The comment given to the field.StringgetName()The name of the field.TgetValue(Record record)The inverse operation ofRecord.getValue(Field).ConditiongreaterOrEqual(Field<T> field)this >= field.ConditiongreaterOrEqual(QuantifiedSelect<? extends Record1<T>> query)this >= [quantifier] (Select<?> ...).ConditiongreaterOrEqual(Select<? extends Record1<T>> query)this >= (Select<?> ...).ConditiongreaterOrEqual(T value)this >= value.ConditiongreaterThan(Field<T> field)this > field.ConditiongreaterThan(QuantifiedSelect<? extends Record1<T>> query)this > [quantifier] (Select<?> ...).ConditiongreaterThan(Select<? extends Record1<T>> query)this > (Select<?> ...).ConditiongreaterThan(T value)this > value.Field<T>greatest(Field<?>... others)Deprecated.- 3.11 - [#7538] - UseDSL.greatest(Field, Field...)instead.Field<T>greatest(T... others)Deprecated.- 3.11 - [#7538] - UseDSL.greatest(Field, Field...)instead.Conditiongt(Field<T> field)this > field.Conditiongt(QuantifiedSelect<? extends Record1<T>> query)this > [quantifier] (Select<?> ...).Conditiongt(Select<? extends Record1<T>> query)this > (Select<?> ...).Conditiongt(T value)this > value.Conditionin(Collection<?> values)Create a condition to check this field against several values.Conditionin(Field<?>... values)Create a condition to check this field against several values.Conditionin(Result<? extends Record1<T>> result)Create a condition to check this field against several values from a previous query.Conditionin(Select<? extends Record1<T>> query)Create a condition to check this field against a subquery.Conditionin(T... values)Create a condition to check this field against several values.ConditionisDistinctFrom(Field<T> field)Create a condition to check if this field isDISTINCTfrom another field.ConditionisDistinctFrom(T value)Create a condition to check if this field isDISTINCTfrom another value.ConditionisFalse()Create a condition to check this field against known string literals forfalse.ConditionisJson()Create a condition to check if this field contains JSON data.ConditionisNotDistinctFrom(Field<T> field)Create a condition to check if this field isNOT DISTINCTfrom another field.ConditionisNotDistinctFrom(T value)Create a condition to check if this field isNOT DISTINCTfrom another value.ConditionisNotJson()Create a condition to check if this field does not contain JSON data.ConditionisNotNull()Create a condition to check this field againstnull.ConditionisNull()Create a condition to check this field againstnull.ConditionisTrue()Create a condition to check this field against known string literals fortrue.WindowIgnoreNullsStep<T>lag()Deprecated.- 3.11 - [#7538] - UseDSL.lag(Field)instead.WindowIgnoreNullsStep<T>lag(int offset)Deprecated.- 3.11 - [#7538] - UseDSL.lag(Field, int)instead.WindowIgnoreNullsStep<T>lag(int offset, Field<T> defaultValue)Deprecated.- 3.11 - [#7538] - UseDSL.lag(Field, int, Field)instead.WindowIgnoreNullsStep<T>lag(int offset, T defaultValue)Deprecated.- 3.11 - [#7538] - UseDSL.lag(Field, int, Object)instead.WindowIgnoreNullsStep<T>lastValue()Deprecated.- 3.11 - [#7538] - UseDSL.lastValue(Field)instead.Conditionle(Field<T> field)this <= field.Conditionle(QuantifiedSelect<? extends Record1<T>> query)this <= [quantifier] (Select<?> ...).Conditionle(Select<? extends Record1<T>> query)this <= (Select<?> ...).Conditionle(T value)this <= value.WindowIgnoreNullsStep<T>lead()Deprecated.- 3.11 - [#7538] - UseDSL.lead(Field)instead.WindowIgnoreNullsStep<T>lead(int offset)Deprecated.- 3.11 - [#7538] - UseDSL.lead(Field, int)instead.WindowIgnoreNullsStep<T>lead(int offset, Field<T> defaultValue)Deprecated.- 3.11 - [#7538] - UseDSL.lead(Field, int, Field)instead.WindowIgnoreNullsStep<T>lead(int offset, T defaultValue)Deprecated.- 3.11 - [#7538] - UseDSL.lead(Field, int, Object)instead.Field<T>least(Field<?>... others)Deprecated.- 3.11 - [#7538] - UseDSL.least(Field, Field...)instead.Field<T>least(T... others)Deprecated.- 3.11 - [#7538] - UseDSL.least(Field, Field...)instead.Field<Integer>length()Deprecated.- 3.13 - [#9407] - UseDSL.length(Field)instead.ConditionlessOrEqual(Field<T> field)this <= field.ConditionlessOrEqual(QuantifiedSelect<? extends Record1<T>> query)this <= [quantifier] (Select<?> ...).ConditionlessOrEqual(Select<? extends Record1<T>> query)this <= (Select<?> ...).ConditionlessOrEqual(T value)this <= value.ConditionlessThan(Field<T> field)this < field.ConditionlessThan(QuantifiedSelect<? extends Record1<T>> query)this < [quantifier] (Select<?> ...).ConditionlessThan(Select<? extends Record1<T>> query)this < (Select<?> ...).ConditionlessThan(T value)this < value.LikeEscapeSteplike(String value)Create a condition to pattern-check this field against a value.Conditionlike(String value, char escape)Create a condition to pattern-check this field against a value.LikeEscapeSteplike(Field<String> value)Create a condition to pattern-check this field against a value.Conditionlike(Field<String> value, char escape)Create a condition to pattern-check this field against a value.LikeEscapeSteplike(QuantifiedSelect<Record1<String>> query)Create a condition to pattern-check this field against a quantified select.LikeEscapeSteplikeIgnoreCase(String value)Create a condition to case-insensitively pattern-check this field against a value.ConditionlikeIgnoreCase(String value, char escape)Create a condition to case-insensitively pattern-check this field against a value.LikeEscapeSteplikeIgnoreCase(Field<String> field)Create a condition to case-insensitively pattern-check this field against a field.ConditionlikeIgnoreCase(Field<String> field, char escape)Create a condition to case-insensitively pattern-check this field against a field.ConditionlikeRegex(String pattern)Create a condition to regex-pattern-check this field against a pattern.ConditionlikeRegex(Field<String> pattern)Create a condition to regex-pattern-check this field against a pattern.Field<BigDecimal>ln()Deprecated.- 3.11 - [#7538] - UseDSL.ln(Field)instead.Field<BigDecimal>log(int base)Deprecated.- 3.11 - [#7538] - UseDSL.log(Field, int)instead.Field<String>lower()Deprecated.- 3.13 - [#9407] - UseDSL.lower(Field)instead.Field<String>lpad(int length)Deprecated.- 3.13 - [#9407] - UseDSL.lpad(Field, int)instead.Field<String>lpad(int length, char character)Deprecated.- 3.13 - [#9407] - UseDSL.lpad(Field, int, char)instead.Field<String>lpad(Field<? extends Number> length)Deprecated.- 3.13 - [#9407] - UseDSL.lpad(Field, Field)instead.Field<String>lpad(Field<? extends Number> length, Field<String> character)Deprecated.- 3.13 - [#9407] - UseDSL.lpad(Field, Field, Field)instead.Conditionlt(Field<T> field)this < field.Conditionlt(QuantifiedSelect<? extends Record1<T>> query)this < [quantifier] (Select<?> ...).Conditionlt(Select<? extends Record1<T>> query)this < (Select<?> ...).Conditionlt(T value)this < value.Field<String>ltrim()Deprecated.- 3.13 - [#9407] - UseDSL.ltrim(Field)instead.Field<T>max()Deprecated.- 3.11 - [#7538] - UseDSL.max(Field)instead.WindowPartitionByStep<T>maxOver()Deprecated.- 3.11 - [#7538] - UseDSL.max(Field)instead.Field<BigDecimal>median()Deprecated.- 3.11 - [#7538] - UseDSL.median(Field)instead.Field<T>min()Deprecated.- 3.11 - [#7538] - UseDSL.min(Field)instead.WindowPartitionByStep<T>minOver()Deprecated.- 3.11 - [#7538] - UseDSL.min(Field)instead.Field<T>minus(Number value)An alias forsub(Number).Field<T>minus(Field<?> value)An alias forsub(Field).Field<T>mod(Number value)An arithmetic expression getting the modulo of this divided by value.Field<T>mod(Field<? extends Number> value)An arithmetic expression getting the modulo of this divided by value.Field<T>modulo(Number value)An alias formod(Number).Field<T>modulo(Field<? extends Number> value)An alias formod(Field).Field<T>mul(Number value)An arithmetic expression multiplying this with value.Field<T>mul(Field<? extends Number> value)An arithmetic expression multiplying this with value.Field<T>multiply(Number value)An alias formul(Number).Field<T>multiply(Field<? extends Number> value)An alias formul(Field).Conditionne(Field<T> field)this != field.Conditionne(QuantifiedSelect<? extends Record1<T>> query)this != [quantifier] (Select<?> ...).Conditionne(Select<? extends Record1<T>> query)this != (Select<?> ...).Conditionne(T value)this != value.Field<T>neg()Negate this field to get its negative value.BetweenAndStep<T>notBetween(Field<T> minValue)Create a condition to check this field against some bounds.ConditionnotBetween(Field<T> minValue, Field<T> maxValue)Create a condition to check this field against some bounds.BetweenAndStep<T>notBetween(T minValue)Create a condition to check this field against some bounds.ConditionnotBetween(T minValue, T maxValue)Create a condition to check this field against some bounds.BetweenAndStep<T>notBetweenSymmetric(Field<T> minValue)Create a condition to check this field against some bounds.ConditionnotBetweenSymmetric(Field<T> minValue, Field<T> maxValue)Create a condition to check this field against some bounds.BetweenAndStep<T>notBetweenSymmetric(T minValue)Create a condition to check this field against some bounds.ConditionnotBetweenSymmetric(T minValue, T maxValue)Create a condition to check this field against some bounds.ConditionnotContains(Field<T> value)Inverse ofcontains(Field).ConditionnotContains(T value)Inverse ofcontains(Object).ConditionnotContainsIgnoreCase(Field<T> value)Inverse ofcontainsIgnoreCase(Field)ConditionnotContainsIgnoreCase(T value)Inverse ofcontainsIgnoreCase(Object)ConditionnotEqual(Field<T> field)this != field.ConditionnotEqual(QuantifiedSelect<? extends Record1<T>> query)this != [quantifier] (Select<?> ...).ConditionnotEqual(Select<? extends Record1<T>> query)this != (Select<?> ...).ConditionnotEqual(T value)this != value.ConditionnotEqualIgnoreCase(String value)lower(this) != lower(value).ConditionnotEqualIgnoreCase(Field<String> value)lower(this) != lower(value).ConditionnotIn(Collection<?> values)Create a condition to check this field against several values.ConditionnotIn(Field<?>... values)Create a condition to check this field against several values.ConditionnotIn(Result<? extends Record1<T>> result)Create a condition to check this field against several values from a previous query.ConditionnotIn(Select<? extends Record1<T>> query)Create a condition to check this field against a subquery.ConditionnotIn(T... values)Create a condition to check this field against several values.LikeEscapeStepnotLike(String value)Create a condition to pattern-check this field against a value.ConditionnotLike(String value, char escape)Create a condition to pattern-check this field against a value.LikeEscapeStepnotLike(Field<String> field)Create a condition to pattern-check this field against a field.ConditionnotLike(Field<String> field, char escape)Create a condition to pattern-check this field against a field.LikeEscapeStepnotLike(QuantifiedSelect<Record1<String>> query)Create a condition to pattern-check this field against a quantified select.LikeEscapeStepnotLikeIgnoreCase(String value)Create a condition to case-insensitively pattern-check this field against a value.ConditionnotLikeIgnoreCase(String value, char escape)Create a condition to case-insensitively pattern-check this field against a value.LikeEscapeStepnotLikeIgnoreCase(Field<String> field)Create a condition to case-insensitively pattern-check this field against a field.ConditionnotLikeIgnoreCase(Field<String> field, char escape)Create a condition to case-insensitively pattern-check this field against a field.ConditionnotLikeRegex(String pattern)Create a condition to regex-pattern-check this field against a pattern.ConditionnotLikeRegex(Field<String> pattern)Create a condition to regex-pattern-check this field against a pattern.LikeEscapeStepnotSimilarTo(String value)Create a condition to pattern-check this field against a value.ConditionnotSimilarTo(String value, char escape)Create a condition to pattern-check this field against a value.LikeEscapeStepnotSimilarTo(Field<String> field)Create a condition to pattern-check this field against a field.ConditionnotSimilarTo(Field<String> field, char escape)Create a condition to pattern-check this field against a field.Field<T>nullif(Field<T> other)Deprecated.- 3.13 - [#9407] - UseDSL.nullif(Field, Field)instead.Field<T>nullif(T other)Deprecated.- 3.13 - [#9407] - UseDSL.nullif(Field, Object)instead.Field<T>nvl(Field<T> defaultValue)Deprecated.- 3.13 - [#9407] - UseDSL.nvl(Field, Field)instead.Field<T>nvl(T defaultValue)Deprecated.- 3.13 - [#9407] - UseDSL.nvl(Field, Object)instead.<Z> Field<Z>nvl2(Field<Z> valueIfNotNull, Field<Z> valueIfNull)Deprecated.- 3.13 - [#9407] - UseDSL.nvl2(Field, Field, Field)instead.<Z> Field<Z>nvl2(Z valueIfNotNull, Z valueIfNull)Deprecated.- 3.13 - [#9407] - UseDSL.nvl2(Field, Object, Object)instead.Field<Integer>octetLength()Deprecated.- 3.13 - [#9407] - UseDSL.octetLength(Field)instead.Toriginal(Record record)The inverse operation ofRecord.original(Field).Field<T>plus()Turn this field into an Oracle-specific field for use in outer-join predicates.Field<T>plus(Number value)An alias foradd(Number).Field<T>plus(Field<?> value)An alias foradd(Field).Field<Integer>position(String search)Deprecated.- 3.13 - [#9407] - UseDSL.position(Field, String)instead.Field<Integer>position(Field<String> search)Deprecated.- 3.13 - [#9407] - UseDSL.position(Field, Field)instead.Field<BigDecimal>pow(Number exponent)An arithmetic expression getting this value raised to the power ofexponent.Field<BigDecimal>pow(Field<? extends Number> exponent)An arithmetic expression getting this value raised to the power ofexponent.Field<BigDecimal>power(Number exponent)An alias forpower(Number).Field<BigDecimal>power(Field<? extends Number> exponent)An alias forpower(Field).Field<BigDecimal>rad()Deprecated.- 3.11 - [#7538] - UseDSL.rad(Field)instead.Field<T>rem(Number value)An alias formod(Number).Field<T>rem(Field<? extends Number> value)An alias formod(Field).Field<String>repeat(Number count)Deprecated.- 3.13 - [#9407] - UseDSL.repeat(Field, int)instead.Field<String>repeat(Field<? extends Number> count)Deprecated.- 3.13 - [#9407] - UseDSL.repeat(Field, Field)instead.Field<String>replace(String search)Deprecated.- 3.13 - [#9407] - UseDSL.replace(Field, String)instead.Field<String>replace(String search, String replace)Deprecated.- 3.13 - [#9407] - UseDSL.replace(Field, String, String)instead.Field<String>replace(Field<String> search)Deprecated.- 3.13 - [#9407] - UseDSL.replace(Field, Field)instead.Field<String>replace(Field<String> search, Field<String> replace)Deprecated.- 3.13 - [#9407] - UseDSL.replace(Field, Field, Field)instead.voidreset(Record record)The inverse operation ofRecord.reset(Field).Field<T>round()Deprecated.- 3.11 - [#7538] - UseDSL.round(Field)instead.Field<T>round(int decimals)Deprecated.- 3.11 - [#7538] - UseDSL.round(Field, int)instead.Field<String>rpad(int length)Deprecated.- 3.13 - [#9407] - UseDSL.rpad(Field, int)instead.Field<String>rpad(int length, char character)Deprecated.- 3.13 - [#9407] - UseDSL.rpad(Field, int, char)instead.Field<String>rpad(Field<? extends Number> length)Deprecated.- 3.13 - [#9407] - UseDSL.rpad(Field, Field)instead.Field<String>rpad(Field<? extends Number> length, Field<String> character)Deprecated.- 3.13 - [#9407] - UseDSL.rpad(Field, Field, Field)instead.Field<String>rtrim()Deprecated.- 3.13 - [#9407] - UseDSL.rtrim(Field)instead.Field<T>shl(Number value)The bitwise left shift operator.Field<T>shl(Field<? extends Number> value)The bitwise left shift operator.Field<T>shr(Number value)The bitwise right shift operator.Field<T>shr(Field<? extends Number> value)The bitwise right shift operator.Field<Integer>sign()Deprecated.- 3.11 - [#7538] - UseDSL.sign(Field)instead.LikeEscapeStepsimilarTo(String value)Create a condition to pattern-check this field against a value.ConditionsimilarTo(String value, char escape)Create a condition to pattern-check this field against a value.LikeEscapeStepsimilarTo(Field<String> value)Create a condition to pattern-check this field against a value.ConditionsimilarTo(Field<String> value, char escape)Create a condition to pattern-check this field against a value.Field<BigDecimal>sin()Deprecated.- 3.11 - [#7538] - UseDSL.sin(Field)instead.Field<BigDecimal>sinh()Deprecated.- 3.11 - [#7538] - UseDSL.sinh(Field)instead.<Z> SortField<Z>sort(Map<T,Z> sortMap)Create an indirected sort field.SortField<T>sort(SortOrder order)Create an ascending/descending sort field from this field.SortField<Integer>sortAsc(Collection<T> sortList)Create an indirected sort field.SortField<Integer>sortAsc(T... sortList)Create an indirected sort field.SortField<T>sortDefault()Create a default sorted (implicitASC) from this field.SortField<Integer>sortDesc(Collection<T> sortList)Create an indirected sort field.SortField<Integer>sortDesc(T... sortList)Create an indirected sort field.Field<BigDecimal>sqrt()Deprecated.- 3.11 - [#7538] - UseDSL.sqrt(Field)instead.ConditionstartsWith(Field<T> value)Convenience method forlike(String, char)including proper adding of wildcards and escaping.ConditionstartsWith(T value)Convenience method forlike(String, char)including proper adding of wildcards and escaping.ConditionstartsWithIgnoreCase(Field<T> value)Convenience method forlike(String, char)including proper adding of wildcards and escaping.ConditionstartsWithIgnoreCase(T value)Convenience method forlike(String, char)including proper adding of wildcards and escaping.Field<BigDecimal>stddevPop()Deprecated.- 3.11 - [#7538] - UseDSL.stddevPop(Field)instead.WindowPartitionByStep<BigDecimal>stddevPopOver()Deprecated.- 3.11 - [#7538] - UseDSL.stddevPop(Field)instead.Field<BigDecimal>stddevSamp()Deprecated.- 3.11 - [#7538] - UseDSL.stddevSamp(Field)instead.WindowPartitionByStep<BigDecimal>stddevSampOver()Deprecated.- 3.11 - [#7538] - UseDSL.stddevSamp(Field)instead.Field<T>sub(Number value)An arithmetic expression subtracting value from this.Field<T>sub(Field<?> value)An arithmetic expression subtracting value from this.Field<String>substring(int startingPosition)Deprecated.- 3.13 - [#9407] - UseDSL.substring(Field, int)instead.Field<String>substring(int startingPosition, int length)Deprecated.- 3.13 - [#9407] - UseDSL.substring(Field, int, int)instead.Field<String>substring(Field<? extends Number> startingPosition)Deprecated.- 3.13 - [#9407] - UseDSL.substring(Field, Field)instead.Field<String>substring(Field<? extends Number> startingPosition, Field<? extends Number> length)Deprecated.- 3.13 - [#9407] - UseDSL.substring(Field, Field, Field)instead.Field<T>subtract(Number value)An alias forsub(Number).Field<T>subtract(Field<?> value)An alias forsub(Field).Field<BigDecimal>sum()Deprecated.- 3.11 - [#7538] - UseDSL.sum(Field)instead.WindowPartitionByStep<BigDecimal>sumOver()Deprecated.- 3.11 - [#7538] - UseDSL.sum(Field)instead.Field<BigDecimal>tan()Deprecated.- 3.11 - [#7538] - UseDSL.tan(Field)instead.Field<BigDecimal>tanh()Deprecated.- 3.11 - [#7538] - UseDSL.tanh(Field)instead.Field<T>times(Number value)An alias formul(Number).Field<T>times(Field<? extends Number> value)An alias formul(Field).Field<String>trim()Deprecated.- 3.13 - [#9407] - UseDSL.trim(Field)instead.Field<T>unaryMinus()Negate this field to get its negative value.Field<T>unaryPlus()Get this field as its positive value (no effect on SQL).Field<String>upper()Deprecated.- 3.13 - [#9407] - UseDSL.upper(Field)instead.Field<BigDecimal>varPop()Deprecated.- 3.11 - [#7538] - UseDSL.varPop(Field)instead.WindowPartitionByStep<BigDecimal>varPopOver()Deprecated.- 3.11 - [#7538] - UseDSL.varPop(Field)instead.Field<BigDecimal>varSamp()Deprecated.- 3.11 - [#7538] - UseDSL.varSamp(Field)instead.WindowPartitionByStep<BigDecimal>varSampOver()Deprecated.- 3.11 - [#7538] - UseDSL.varSamp(Field)instead.-
Methods inherited from interface org.jooq.Named
getQualifiedName, getUnqualifiedName
-
Methods inherited from interface org.jooq.Typed
getBinding, getConverter, getDataType, getDataType, getType
-
-
-
-
Method Detail
-
getName
String 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
String 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
@Support Field<T> as(String alias)
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!- Parameters:
alias- The alias name- Returns:
- The field alias
-
as
@Support Field<T> as(Name alias)
Create an alias for this field.Note that the case-sensitivity of the returned field depends on
Settings.getRenderQuotedNames()and theName. By default, field aliases are quoted, and thus case-sensitive in many SQL dialects - useDSL.unquotedName(String...)for case-insensitive aliases.If the argument
Name.getName()is qualified, then theName.last()part will be used.- Parameters:
alias- The alias name- Returns:
- The field alias
-
as
@Support Field<T> as(Field<?> otherField)
Create an alias for this field based on another field's name.- Parameters:
otherField- The other field whose name this field is aliased with.- Returns:
- The field alias.
-
as
@Support Field<T> as(Function<? super Field<T>,? extends String> aliasFunction)
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
boolean equals(Object other)
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!
-
cast
@Support <Z> Field<Z> cast(Field<Z> field)
Cast this field to the type of another field.This results in the same as casting this field to
DataType.getCastTypeName()- Type Parameters:
Z- The generic type of the cast field- Parameters:
field- The field whose type is used for the cast- Returns:
- The cast field
- See Also:
cast(DataType)
-
cast
@Support <Z> Field<Z> cast(DataType<Z> type)
Cast this field to a dialect-specific data type.- Type Parameters:
Z- The generic type of the cast field- Parameters:
type- The data type that is used for the cast- Returns:
- The cast field
-
cast
@Support <Z> Field<Z> cast(Class<Z> type)
Cast this field to another type.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.- 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:
cast(DataType)
-
coerce
@Support <Z> Field<Z> coerce(Field<Z> field)
Coerce this field to the type of another field.Unlike with casting, coercing doesn't affect the way the database sees a
Field's type. This is how coercing affects your SQL:Bind values
// This binds an int value to a JDBC PreparedStatement DSL.val(1).coerce(String.class); // This binds an int value to a JDBC PreparedStatement // and casts it to VARCHAR in SQL DSL.val(1).cast(String.class);
Other Field types
// This fetches a String value for the BOOK.ID field from JDBC BOOK.ID.coerce(String.class); // This fetches a String value for the BOOK.ID field from JDBC // after casting it to VARCHAR in the database BOOK.ID.cast(String.class);
- Type Parameters:
Z- The generic type of the coerced field- Parameters:
field- The field whose type is used for the coercion- Returns:
- The coerced field
- See Also:
coerce(DataType),cast(Field)
-
coerce
@Support <Z> Field<Z> coerce(DataType<Z> type)
Coerce this field to a dialect-specific data type.Unlike with casting, coercing doesn't affect the way the database sees a
Field's type. This is how coercing affects your SQL:Bind values
// This binds an int value to a JDBC PreparedStatement DSL.val(1).coerce(String.class); // This binds an int value to a JDBC PreparedStatement // and casts it to VARCHAR in SQL DSL.val(1).cast(String.class);
Other Field types
// This fetches a String value for the BOOK.ID field from JDBC BOOK.ID.coerce(String.class); // This fetches a String value for the BOOK.ID field from JDBC // after casting it to VARCHAR in the database BOOK.ID.cast(String.class);
- Type Parameters:
Z- The generic type of the coerced field- Parameters:
type- The data type that is used for the coercion- Returns:
- The coerced field
- See Also:
cast(DataType)
-
coerce
@Support <Z> Field<Z> coerce(Class<Z> type)
Coerce this field to another type.Unlike with casting, coercing doesn't affect the way the database sees a
Field's type. This is how coercing affects your SQL:Bind values
// This binds an int value to a JDBC PreparedStatement DSL.val(1).coerce(String.class); // This binds an int value to a JDBC PreparedStatement // and casts it to VARCHAR in SQL DSL.val(1).cast(String.class);
Other Field types
// This fetches a String value for the BOOK.ID field from JDBC BOOK.ID.coerce(String.class); // This fetches a String value for the BOOK.ID field from JDBC // after casting it to VARCHAR in the database BOOK.ID.cast(String.class);
- 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:
coerce(DataType),cast(Class)
-
asc
@Support SortField<T> 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
@Support SortField<T> 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
@Support SortField<T> 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
@Support SortField<T> sort(SortOrder order)
Create an ascending/descending sort field from this field.- Parameters:
order- The sort order- Returns:
- This field as an ascending/descending sort field.
-
sortAsc
@Support SortField<Integer> sortAsc(Collection<T> sortList)
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
@Support SortField<Integer> sortAsc(T... sortList)
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
@Support SortField<Integer> sortDesc(Collection<T> sortList)
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
@Support SortField<Integer> sortDesc(T... sortList)
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
@Support <Z> SortField<Z> sort(Map<T,Z> sortMap)
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
-
neg
@Support Field<T> neg()
Negate this field to get its negative value.This renders the same on all dialects:
-[this]
-
unaryMinus
@Support Field<T> 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
@Support Field<T> unaryPlus()
Get this field as its positive value (no effect on SQL).This can be recognised by the Kotlin language for operator overloading.
-
add
@Support Field<T> add(Number value)
An arithmetic expression adding this to value.- See Also:
add(Field)
-
add
@Support Field<T> add(Field<?> value)
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
@Support Field<T> plus(Number value)
An alias foradd(Number).- See Also:
add(Number)
-
plus
@Support Field<T> plus(Field<?> value)
An alias foradd(Field).- See Also:
add(Field)
-
sub
@Support Field<T> sub(Number value)
An arithmetic expression subtracting value from this.- See Also:
sub(Field)
-
sub
@Support Field<T> sub(Field<?> value)
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
@Support Field<T> subtract(Number value)
An alias forsub(Number).- See Also:
sub(Number)
-
subtract
@Support Field<T> subtract(Field<?> value)
An alias forsub(Field).- See Also:
sub(Field)
-
minus
@Support Field<T> minus(Number value)
An alias forsub(Number).- See Also:
sub(Number)
-
minus
@Support Field<T> minus(Field<?> value)
An alias forsub(Field).- See Also:
sub(Field)
-
mul
@Support Field<T> mul(Number value)
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
@Support Field<T> mul(Field<? extends Number> value)
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
@Support Field<T> multiply(Number value)
An alias formul(Number).- See Also:
mul(Number)
-
multiply
@Support Field<T> multiply(Field<? extends Number> value)
An alias formul(Field).- See Also:
mul(Field)
-
times
@Support Field<T> times(Number value)
An alias formul(Number).- See Also:
mul(Number)
-
times
@Support Field<T> times(Field<? extends Number> value)
An alias formul(Field).- See Also:
mul(Field)
-
div
@Support Field<T> div(Number value)
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
@Support Field<T> div(Field<? extends Number> value)
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
@Support Field<T> divide(Number value)
An alias fordiv(Number).- See Also:
div(Number)
-
divide
@Support Field<T> divide(Field<? extends Number> value)
An alias fordiv(Field).- See Also:
div(Field)
-
mod
@Support Field<T> mod(Number value)
An arithmetic expression getting the modulo of this divided by value.This renders the modulo operation where available:
... or the modulo function elsewhere:[this] % [value]
mod([this], [value])
-
mod
@Support Field<T> mod(Field<? extends Number> value)
An arithmetic expression getting the modulo of this divided by value.This renders the modulo operation where available:
... or the modulo function elsewhere:[this] % [value]
mod([this], [value])
-
modulo
@Support Field<T> modulo(Number value)
An alias formod(Number).- See Also:
mod(Number)
-
modulo
@Support Field<T> modulo(Field<? extends Number> value)
An alias formod(Field).- See Also:
mod(Field)
-
rem
@Support Field<T> rem(Number value)
An alias formod(Number).- See Also:
mod(Number)
-
rem
@Support Field<T> rem(Field<? extends Number> value)
An alias formod(Field).- See Also:
mod(Field)
-
pow
@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}) Field<BigDecimal> pow(Number exponent)
An arithmetic expression getting this value raised to the power ofexponent.This renders the power operation where available:
... or the power function elsewhere:[this] ^ [value]
power([this], [value])
- See Also:
DSL.power(Field, Number)
-
pow
@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}) Field<BigDecimal> pow(Field<? extends Number> exponent)
An arithmetic expression getting this value raised to the power ofexponent.This renders the power operation where available:
... or the power function elsewhere:[this] ^ [value]
power([this], [value])
- See Also:
DSL.power(Field, Field)
-
power
@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}) Field<BigDecimal> power(Number exponent)
An alias forpower(Number).- See Also:
power(Number)
-
power
@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}) Field<BigDecimal> power(Field<? extends Number> exponent)
An alias forpower(Field).- See Also:
power(Field)
-
bitNot
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitNot()
The bitwise not operator.- See Also:
DSL.bitNot(Field)
-
bitAnd
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitAnd(T value)
The bitwise and operator.- See Also:
DSL.bitAnd(Field, Field)
-
bitAnd
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitAnd(Field<T> value)
The bitwise and operator.- See Also:
DSL.bitAnd(Field, Field)
-
bitNand
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitNand(T value)
The bitwise not and operator.- See Also:
DSL.bitNand(Field, Field),DSL.bitNot(Field)
-
bitNand
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitNand(Field<T> value)
The bitwise not and operator.- See Also:
DSL.bitNand(Field, Field),DSL.bitNot(Field)
-
bitOr
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitOr(T value)
The bitwise or operator.- See Also:
DSL.bitOr(Field, Field)
-
bitOr
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitOr(Field<T> value)
The bitwise or operator.- See Also:
DSL.bitOr(Field, Field)
-
bitNor
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitNor(T value)
The bitwise not or operator.- See Also:
DSL.bitNor(Field, Field),DSL.bitNot(Field)
-
bitNor
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitNor(Field<T> value)
The bitwise not or operator.- See Also:
DSL.bitNor(Field, Field),DSL.bitNot(Field)
-
bitXor
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitXor(T value)
The bitwise xor operator.- See Also:
DSL.bitXor(Field, Field)
-
bitXor
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitXor(Field<T> value)
The bitwise xor operator.- See Also:
DSL.bitXor(Field, Field)
-
bitXNor
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitXNor(T value)
The bitwise not xor operator.- See Also:
DSL.bitXNor(Field, Field),DSL.bitNot(Field)
-
bitXNor
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> bitXNor(Field<T> value)
The bitwise not xor operator.- See Also:
DSL.bitXNor(Field, Field),DSL.bitNot(Field)
-
shl
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> shl(Number value)
The bitwise left shift operator.- See Also:
DSL.shl(Field, Field),DSL.power(Field, Number)
-
shl
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> shl(Field<? extends Number> value)
The bitwise left shift operator.- See Also:
DSL.shl(Field, Field),DSL.power(Field, Number)
-
shr
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> shr(Number value)
The bitwise right shift operator.- See Also:
DSL.shr(Field, Field),DSL.power(Field, Number)
-
shr
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<T> shr(Field<? extends Number> value)
The bitwise right shift operator.- See Also:
DSL.shr(Field, Field),DSL.power(Field, Number)
-
isJson
@Support({MYSQL_5_7,ORACLE12C,SQLSERVER2016}) Condition isJson()
Create a condition to check if this field contains JSON data.
-
isNotJson
@Support({MYSQL_5_7,ORACLE12C,SQLSERVER2016}) Condition isNotJson()
Create a condition to check if this field does not contain JSON data.
-
isNull
@Support Condition isNull()
Create a condition to check this field againstnull.SQL:
this is null
-
isNotNull
@Support Condition isNotNull()
Create a condition to check this field againstnull.SQL:
this is not null
-
isDistinctFrom
@Support Condition isDistinctFrom(T value)
Create a condition to check if this field isDISTINCTfrom another value.In
SQLDialect.MYSQLandSQLDialect.MARIADB, this can be emulated throughnot([this] <=> [value])
In
SQLDialect.SQLITE, this can be emulated through[this] IS NOT [value]
In databases that support
INTERSECT(seeSelect.intersect(Select), this predicate can be emulated as follows:NOT EXISTS (SELECT [this] INTERSECT SELECT [value])
If this is not supported by the underlying database, jOOQ will render this instead:
SQL:CASE WHEN [this] IS NULL AND [value] IS NULL THEN FALSE WHEN [this] IS NULL AND [value] IS NOT NULL THEN TRUE WHEN [this] IS NOT NULL AND [value] IS NULL THEN TRUE WHEN [this] = [value] THEN FALSE ELSE TRUE ENDthis is distinct from value
-
isDistinctFrom
@Support Condition isDistinctFrom(Field<T> field)
Create a condition to check if this field isDISTINCTfrom another field.In
SQLDialect.MYSQLandSQLDialect.MARIADB, this can be emulated throughnot([this] <=> [value])
In
SQLDialect.SQLITE, this can be emulated through[this] IS NOT [value]
In databases that support
INTERSECT(seeSelect.intersect(Select), this predicate can be emulated as follows:NOT EXISTS (SELECT [this] INTERSECT SELECT [value])
If this is not supported by the underlying database, jOOQ will render this instead:
SQL:CASE WHEN [this] IS NULL AND [field] IS NULL THEN FALSE WHEN [this] IS NULL AND [field] IS NOT NULL THEN TRUE WHEN [this] IS NOT NULL AND [field] IS NULL THEN TRUE WHEN [this] = [field] THEN FALSE ELSE TRUE ENDthis is distinct from field
-
isNotDistinctFrom
@Support Condition isNotDistinctFrom(T value)
Create a condition to check if this field isNOT DISTINCTfrom another value.In
SQLDialect.MYSQLandSQLDialect.MARIADB, this can be emulated through[this] <=> [value]
In
SQLDialect.SQLITE, this can be emulated through[this] IS [value]
In databases that support
INTERSECT(seeSelect.intersect(Select), this predicate can be emulated as follows:EXISTS (SELECT [this] INTERSECT SELECT [value])
If this is not supported by the underlying database, jOOQ will render this instead:
SQL:CASE WHEN [this] IS NULL AND [value] IS NULL THEN TRUE WHEN [this] IS NULL AND [value] IS NOT NULL THEN FALSE WHEN [this] IS NOT NULL AND [value] IS NULL THEN FALSE WHEN [this] = [value] THEN TRUE ELSE FALSE ENDthis is not distinct from value
-
isNotDistinctFrom
@Support Condition isNotDistinctFrom(Field<T> field)
Create a condition to check if this field isNOT DISTINCTfrom another field.In
SQLDialect.MYSQLandSQLDialect.MARIADB, this can be emulated through[this] <=> [value]
In
SQLDialect.SQLITE, this can be emulated through[this] IS [value]
In databases that support
INTERSECT(seeSelect.intersect(Select), this predicate can be emulated as follows:EXISTS (SELECT [this] INTERSECT SELECT [value])
If this is not supported by the underlying database, jOOQ will render this instead:
SQL:CASE WHEN [this] IS NULL AND [field] IS NULL THEN TRUE WHEN [this] IS NULL AND [field] IS NOT NULL THEN FALSE WHEN [this] IS NOT NULL AND [field] IS NULL THEN FALSE WHEN [this] = [value] THEN TRUE ELSE FALSE ENDthis is not distinct from field
-
likeRegex
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SYBASE,VERTICA}) 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(String)
-
likeRegex
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SYBASE,VERTICA}) 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:
likeRegex(String)
-
notLikeRegex
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SYBASE,VERTICA}) Condition notLikeRegex(String pattern)
Create a condition to regex-pattern-check this field against a pattern.See
likeRegex(String)for more details- See Also:
likeRegex(String)
-
notLikeRegex
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE,SYBASE,VERTICA}) 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:
likeRegex(Field)
-
similarTo
@Support({COCKROACHDB,FIREBIRD,POSTGRES}) LikeEscapeStep similarTo(Field<String> value)
Create a condition to pattern-check this field against a value.SQL:
this similar to value
-
similarTo
@Support({COCKROACHDB,FIREBIRD,POSTGRES}) 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:
LikeEscapeStep.escape(char)
-
similarTo
@Support({COCKROACHDB,FIREBIRD,POSTGRES}) LikeEscapeStep similarTo(String value)
Create a condition to pattern-check this field against a value.SQL:
this similar to value
-
similarTo
@Support({COCKROACHDB,FIREBIRD,POSTGRES}) 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:
LikeEscapeStep.escape(char)
-
notSimilarTo
@Support({COCKROACHDB,FIREBIRD,POSTGRES}) LikeEscapeStep notSimilarTo(Field<String> field)
Create a condition to pattern-check this field against a field.SQL:
this not similar to field
-
notSimilarTo
@Support({COCKROACHDB,FIREBIRD,POSTGRES}) 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:
LikeEscapeStep.escape(char)
-
notSimilarTo
@Support({COCKROACHDB,FIREBIRD,POSTGRES}) LikeEscapeStep notSimilarTo(String value)
Create a condition to pattern-check this field against a value.SQL:
this not similar to value
-
notSimilarTo
@Support({COCKROACHDB,FIREBIRD,POSTGRES}) 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:
LikeEscapeStep.escape(char)
-
like
@Support LikeEscapeStep like(Field<String> value)
Create a condition to pattern-check this field against a value.SQL:
this like value
-
like
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) 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:
LikeEscapeStep.escape(char)
-
like
@Support LikeEscapeStep like(String value)
Create a condition to pattern-check this field against a value.SQL:
this like value
-
like
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) 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:
LikeEscapeStep.escape(char)
-
like
@Support LikeEscapeStep like(QuantifiedSelect<Record1<String>> query)
Create a condition to pattern-check this field against a quantified select.For example a query like
field.like(any("a%", "b%"))translates into the SQL(field like 'a%' or field like 'b%').
-
likeIgnoreCase
@Support LikeEscapeStep likeIgnoreCase(Field<String> field)
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.
-
likeIgnoreCase
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) 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:
LikeEscapeStep.escape(char)
-
likeIgnoreCase
@Support LikeEscapeStep likeIgnoreCase(String value)
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.
-
likeIgnoreCase
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) 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:
LikeEscapeStep.escape(char)
-
notLike
@Support LikeEscapeStep notLike(Field<String> field)
Create a condition to pattern-check this field against a field.SQL:
this not like field
-
notLike
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) 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:
LikeEscapeStep.escape(char)
-
notLike
@Support LikeEscapeStep notLike(String value)
Create a condition to pattern-check this field against a value.SQL:
this not like value
-
notLike
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) 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:
LikeEscapeStep.escape(char)
-
notLike
@Support LikeEscapeStep notLike(QuantifiedSelect<Record1<String>> query)
Create a condition to pattern-check this field against a quantified select.For example a query like
field.notLike(any("a%", "b%"))translates into the SQL(field not like 'a%' or field not like 'b%').
-
notLikeIgnoreCase
@Support LikeEscapeStep notLikeIgnoreCase(Field<String> field)
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.
-
notLikeIgnoreCase
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) 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:
LikeEscapeStep.escape(char)
-
notLikeIgnoreCase
@Support LikeEscapeStep notLikeIgnoreCase(String value)
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.
-
notLikeIgnoreCase
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) 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:
LikeEscapeStep.escape(char)
-
contains
@Support Condition contains(T value)
Convenience method forlike(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.- See Also:
DSL.escape(String, char),like(String, char)
-
contains
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) Condition contains(Field<T> value)
Convenience method forlike(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.- See Also:
DSL.escape(Field, char),like(Field, char)
-
notContains
@Support Condition notContains(T value)
Inverse ofcontains(Object).
-
notContains
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) Condition notContains(Field<T> value)
Inverse ofcontains(Field).
-
containsIgnoreCase
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) Condition containsIgnoreCase(T value)
Convenience method forlikeIgnoreCase(String, char)including proper adding of wildcards and escaping.This translates to
this ilike ('%' || escape(value, '\') || '%') escape '\'inSQLDialect.POSTGRES, or tolower(this) not like lower(('%' || escape(value, '\') || '%') escape '\')in all other dialects.
-
containsIgnoreCase
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) Condition containsIgnoreCase(Field<T> value)
Convenience method forlikeIgnoreCase(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.
-
notContainsIgnoreCase
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) Condition notContainsIgnoreCase(T value)
Inverse ofcontainsIgnoreCase(Object)
-
notContainsIgnoreCase
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) Condition notContainsIgnoreCase(Field<T> value)
Inverse ofcontainsIgnoreCase(Field)
-
startsWith
@Support Condition startsWith(T value)
Convenience method forlike(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)- See Also:
DSL.escape(String, char),like(String, char)
-
startsWith
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) Condition startsWith(Field<T> value)
Convenience method forlike(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)- See Also:
DSL.escape(Field, char),like(Field, char)
-
startsWithIgnoreCase
@Support Condition startsWithIgnoreCase(T value)
Convenience method forlike(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)- See Also:
DSL.escape(String, char),like(String, char)
-
startsWithIgnoreCase
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) Condition startsWithIgnoreCase(Field<T> value)
Convenience method forlike(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)- See Also:
DSL.escape(Field, char),like(Field, char)
-
endsWith
@Support Condition endsWith(T value)
Convenience method forlike(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)- See Also:
DSL.escape(String, char),like(String, char)
-
endsWith
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) Condition endsWith(Field<T> value)
Convenience method forlike(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)- See Also:
DSL.escape(Field, char),like(Field, char)
-
endsWithIgnoreCase
@Support Condition endsWithIgnoreCase(T value)
Convenience method forlike(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)- See Also:
DSL.escape(String, char),like(String, char)
-
endsWithIgnoreCase
@Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,VERTICA}) Condition endsWithIgnoreCase(Field<T> value)
Convenience method forlike(String, char)including proper adding of wildcards and escaping.SQL:
this like ('%' || lower(escape(value, '\'))) escape '\'Note: This also works with numbers, for instance
val(1133).endsWithIgnoreCase(33)- See Also:
DSL.escape(Field, char),like(Field, char)
-
in
@Support Condition in(Collection<?> values)
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
Condition in(Result<? extends Record1<T>> result)
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
@Support Condition in(T... values)
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
@Support Condition in(Field<?>... values)
Create a condition to check this field against several values.SQL:
this in (values...)
-
in
@Support Condition in(Select<? extends Record1<T>> query)
Create a condition to check this field against a subquery.Note that 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.
SQL:
this in (select...)
-
notIn
@Support Condition notIn(Collection<?> values)
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
Condition notIn(Result<? extends Record1<T>> result)
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
@Support Condition notIn(T... values)
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
@Support Condition notIn(Field<?>... values)
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...)
-
notIn
@Support Condition notIn(Select<? extends Record1<T>> query)
Create a condition to check this field against a subquery.Note that 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.
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 (select...)
-
between
@Support Condition between(T minValue, T maxValue)
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
@Support Condition between(Field<T> minValue, Field<T> maxValue)
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
@Support Condition betweenSymmetric(T minValue, T maxValue)
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
@Support Condition betweenSymmetric(Field<T> minValue, Field<T> maxValue)
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
@Support Condition notBetween(T minValue, T maxValue)
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
@Support Condition notBetween(Field<T> minValue, Field<T> maxValue)
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
@Support Condition notBetweenSymmetric(T minValue, T maxValue)
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
@Support Condition notBetweenSymmetric(Field<T> minValue, Field<T> maxValue)
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
@Support BetweenAndStep<T> between(T minValue)
Create a condition to check this field against some bounds.SQL:
this between minValue and maxValue
-
between
@Support BetweenAndStep<T> between(Field<T> minValue)
Create a condition to check this field against some bounds.SQL:
this between minValue and maxValue
-
betweenSymmetric
@Support BetweenAndStep<T> betweenSymmetric(T minValue)
Create a condition to check this field against some bounds.SQL:
this between symmetric minValue and maxValue
-
betweenSymmetric
@Support BetweenAndStep<T> betweenSymmetric(Field<T> minValue)
Create a condition to check this field against some bounds.SQL:
this between symmetric minValue and maxValue
-
notBetween
@Support BetweenAndStep<T> notBetween(T minValue)
Create a condition to check this field against some bounds.SQL:
this not between minValue and maxValue
-
notBetween
@Support BetweenAndStep<T> notBetween(Field<T> minValue)
Create a condition to check this field against some bounds.SQL:
this not between minValue and maxValue
-
notBetweenSymmetric
@Support BetweenAndStep<T> notBetweenSymmetric(T minValue)
Create a condition to check this field against some bounds.SQL:
this not between symmetric minValue and maxValue
-
notBetweenSymmetric
@Support BetweenAndStep<T> notBetweenSymmetric(Field<T> minValue)
Create a condition to check this field against some bounds.SQL:
this not between symmetric minValue and maxValue
-
compare
@Support Condition compare(Comparator comparator, T value)
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
@Support Condition compare(Comparator comparator, Field<T> field)
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
@Support 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
@Support Condition compare(Comparator comparator, QuantifiedSelect<? extends Record1<T>> query)
Compare this field with a quantified subselect using a dynamic comparator.Consider
Comparator.supportsQuantifier()to assess whether a comparator can be used with this method.- Parameters:
comparator- The comparator to use for comparing this field with a quantified subselectquery- The quantified subselect to compare this field with- Returns:
- A comparison predicate
-
equal
@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}) Condition equal(QuantifiedSelect<? extends Record1<T>> query)
this = [quantifier] (Select<?> ...).
-
eq
@Support Condition eq(T value)
this = value.- See Also:
equal(Object)
-
eq
@Support Condition eq(Field<T> field)
this = field.- See Also:
equal(Field)
-
eq
@Support Condition eq(Select<? extends Record1<T>> query)
this = (Select<?> ...).- See Also:
equal(Select)
-
eq
@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}) Condition eq(QuantifiedSelect<? extends Record1<T>> query)
this = [quantifier] (Select<?> ...).
-
notEqual
@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}) Condition notEqual(QuantifiedSelect<? extends Record1<T>> query)
this != [quantifier] (Select<?> ...).
-
ne
@Support Condition ne(T value)
this != value.- See Also:
notEqual(Object)
-
ne
@Support Condition ne(Field<T> field)
this != field.- See Also:
notEqual(Field)
-
ne
@Support Condition ne(Select<? extends Record1<T>> query)
this != (Select<?> ...).- See Also:
notEqual(Select)
-
ne
@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}) Condition ne(QuantifiedSelect<? extends Record1<T>> query)
this != [quantifier] (Select<?> ...).
-
lessThan
@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}) Condition lessThan(QuantifiedSelect<? extends Record1<T>> query)
this < [quantifier] (Select<?> ...).
-
lt
@Support Condition lt(T value)
this < value.- See Also:
lessThan(Object)
-
lt
@Support Condition lt(Field<T> field)
this < field.- See Also:
lessThan(Field)
-
lt
@Support Condition lt(Select<? extends Record1<T>> query)
this < (Select<?> ...).- See Also:
lessThan(Select)
-
lt
@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}) Condition lt(QuantifiedSelect<? extends Record1<T>> query)
this < [quantifier] (Select<?> ...).
-
lessOrEqual
@Support Condition lessOrEqual(Select<? extends Record1<T>> query)
this <= (Select<?> ...).
-
lessOrEqual
@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}) Condition lessOrEqual(QuantifiedSelect<? extends Record1<T>> query)
this <= [quantifier] (Select<?> ...).
-
le
@Support Condition le(T value)
this <= value.- See Also:
lessOrEqual(Object)
-
le
@Support Condition le(Field<T> field)
this <= field.- See Also:
lessOrEqual(Field)
-
le
@Support Condition le(Select<? extends Record1<T>> query)
this <= (Select<?> ...).- See Also:
lessOrEqual(Select)
-
le
@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}) Condition le(QuantifiedSelect<? extends Record1<T>> query)
this <= [quantifier] (Select<?> ...).
-
greaterThan
@Support Condition greaterThan(Select<? extends Record1<T>> query)
this > (Select<?> ...).
-
greaterThan
@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}) Condition greaterThan(QuantifiedSelect<? extends Record1<T>> query)
this > [quantifier] (Select<?> ...).
-
gt
@Support Condition gt(T value)
this > value.- See Also:
greaterThan(Object)
-
gt
@Support Condition gt(Field<T> field)
this > field.- See Also:
greaterThan(Field)
-
gt
@Support Condition gt(Select<? extends Record1<T>> query)
this > (Select<?> ...).- See Also:
greaterThan(Select)
-
gt
@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}) Condition gt(QuantifiedSelect<? extends Record1<T>> query)
this > [quantifier] (Select<?> ...).
-
greaterOrEqual
@Support Condition greaterOrEqual(Select<? extends Record1<T>> query)
this >= (Select<?> ...).
-
greaterOrEqual
@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}) Condition greaterOrEqual(QuantifiedSelect<? extends Record1<T>> query)
this >= [quantifier] (Select<?> ...).
-
ge
@Support Condition ge(T value)
this >= value.- See Also:
greaterOrEqual(Object)
-
ge
@Support Condition ge(Field<T> field)
this >= field.- See Also:
greaterOrEqual(Field)
-
ge
@Support Condition ge(Select<? extends Record1<T>> query)
this >= (Select<?> ...).- See Also:
greaterOrEqual(Select)
-
ge
@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}) Condition ge(QuantifiedSelect<? extends Record1<T>> query)
this >= [quantifier] (Select<?> ...).
-
isTrue
@Support Condition isTrue()
Create a condition to check this field against known string literals fortrue.SQL:
lcase(this) in ("1", "y", "yes", "true", "on", "enabled")
-
isFalse
@Support Condition isFalse()
Create a condition to check this field against known string literals forfalse.SQL:
lcase(this) in ("0", "n", "no", "false", "off", "disabled")
-
equalIgnoreCase
@Support Condition equalIgnoreCase(Field<String> value)
lower(this) = lower(value).
-
notEqualIgnoreCase
@Support Condition notEqualIgnoreCase(String value)
lower(this) != lower(value).
-
notEqualIgnoreCase
@Support Condition notEqualIgnoreCase(Field<String> value)
lower(this) != lower(value).
-
sign
@Deprecated @Support Field<Integer> sign()
Deprecated.- 3.11 - [#7538] - UseDSL.sign(Field)instead.- See Also:
DSL.sign(Field)
-
abs
@Deprecated @Support Field<T> abs()
Deprecated.- 3.11 - [#7538] - UseDSL.abs(Field)instead.- See Also:
DSL.abs(Field)
-
round
@Deprecated @Support Field<T> round()
Deprecated.- 3.11 - [#7538] - UseDSL.round(Field)instead.- See Also:
DSL.round(Field)
-
round
@Deprecated @Support Field<T> round(int decimals)
Deprecated.- 3.11 - [#7538] - UseDSL.round(Field, int)instead.- See Also:
DSL.round(Field, int)
-
floor
@Deprecated @Support Field<T> floor()
Deprecated.- 3.11 - [#7538] - UseDSL.floor(Field)instead.- See Also:
DSL.floor(Field)
-
ceil
@Deprecated @Support Field<T> ceil()
Deprecated.- 3.11 - [#7538] - UseDSL.ceil(Field)instead.- See Also:
DSL.ceil(Field)
-
sqrt
@Deprecated @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}) Field<BigDecimal> sqrt()
Deprecated.- 3.11 - [#7538] - UseDSL.sqrt(Field)instead.- See Also:
DSL.sqrt(Field)
-
exp
@Deprecated @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}) Field<BigDecimal> exp()
Deprecated.- 3.11 - [#7538] - UseDSL.exp(Field)instead.- See Also:
DSL.exp(Field)
-
ln
@Deprecated @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}) Field<BigDecimal> ln()
Deprecated.- 3.11 - [#7538] - UseDSL.ln(Field)instead.- See Also:
DSL.ln(Field)
-
log
@Deprecated @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}) Field<BigDecimal> log(int base)
Deprecated.- 3.11 - [#7538] - UseDSL.log(Field, int)instead.- See Also:
DSL.log(Field, int)
-
acos
@Deprecated @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}) Field<BigDecimal> acos()
Deprecated.- 3.11 - [#7538] - UseDSL.acos(Field)instead.- See Also:
DSL.acos(Field)
-
asin
@Deprecated @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}) Field<BigDecimal> asin()
Deprecated.- 3.11 - [#7538] - UseDSL.asin(Field)instead.- See Also:
DSL.asin(Field)
-
atan
@Deprecated @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}) Field<BigDecimal> atan()
Deprecated.- 3.11 - [#7538] - UseDSL.atan(Field)instead.- See Also:
DSL.atan(Field)
-
atan2
@Deprecated @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}) Field<BigDecimal> atan2(Number y)
Deprecated.- 3.11 - [#7538] - UseDSL.atan2(Field, Number)instead.- See Also:
DSL.atan2(Field, Number)
-
atan2
@Deprecated @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}) Field<BigDecimal> atan2(Field<? extends Number> y)
Deprecated.- 3.11 - [#7538] - UseDSL.atan2(Field, Field)instead.- See Also:
DSL.atan2(Field, Field)
-
cos
@Deprecated @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}) Field<BigDecimal> cos()
Deprecated.- 3.11 - [#7538] - UseDSL.cos(Field)instead.- See Also:
DSL.cos(Field)
-
sin
@Deprecated @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}) Field<BigDecimal> sin()
Deprecated.- 3.11 - [#7538] - UseDSL.sin(Field)instead.- See Also:
DSL.sin(Field)
-
tan
@Deprecated @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}) Field<BigDecimal> tan()
Deprecated.- 3.11 - [#7538] - UseDSL.tan(Field)instead.- See Also:
DSL.tan(Field)
-
cot
@Deprecated @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}) Field<BigDecimal> cot()
Deprecated.- 3.11 - [#7538] - UseDSL.cot(Field)instead.- See Also:
DSL.cot(Field)
-
sinh
@Deprecated @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}) Field<BigDecimal> sinh()
Deprecated.- 3.11 - [#7538] - UseDSL.sinh(Field)instead.- See Also:
DSL.sinh(Field)
-
cosh
@Deprecated @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}) Field<BigDecimal> cosh()
Deprecated.- 3.11 - [#7538] - UseDSL.cosh(Field)instead.- See Also:
DSL.cosh(Field)
-
tanh
@Deprecated @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}) Field<BigDecimal> tanh()
Deprecated.- 3.11 - [#7538] - UseDSL.tanh(Field)instead.- See Also:
DSL.tanh(Field)
-
coth
@Deprecated @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}) Field<BigDecimal> coth()
Deprecated.- 3.11 - [#7538] - UseDSL.coth(Field)instead.- See Also:
DSL.coth(Field)
-
deg
@Deprecated @Support Field<BigDecimal> deg()
Deprecated.- 3.11 - [#7538] - UseDSL.deg(Field)instead.- See Also:
DSL.deg(Field)
-
rad
@Deprecated @Support Field<BigDecimal> rad()
Deprecated.- 3.11 - [#7538] - UseDSL.rad(Field)instead.- See Also:
DSL.rad(Field)
-
count
@Deprecated @Support Field<Integer> count()
Deprecated.- 3.11 - [#7538] - UseDSL.count(Field)instead.- See Also:
DSL.count(Field)
-
countDistinct
@Deprecated @Support Field<Integer> countDistinct()
Deprecated.- 3.11 - [#7538] - UseDSL.countDistinct(Field)instead.- See Also:
DSL.countDistinct(Field)
-
max
@Deprecated @Support Field<T> max()
Deprecated.- 3.11 - [#7538] - UseDSL.max(Field)instead.- See Also:
DSL.max(Field)
-
min
@Deprecated @Support Field<T> min()
Deprecated.- 3.11 - [#7538] - UseDSL.min(Field)instead.- See Also:
DSL.min(Field)
-
sum
@Deprecated @Support Field<BigDecimal> sum()
Deprecated.- 3.11 - [#7538] - UseDSL.sum(Field)instead.- See Also:
DSL.sum(Field)
-
avg
@Deprecated @Support Field<BigDecimal> avg()
Deprecated.- 3.11 - [#7538] - UseDSL.avg(Field)instead.- See Also:
DSL.avg(Field)
-
median
@Deprecated @Support({CUBRID,HSQLDB,ORACLE,SYBASE,TERADATA}) Field<BigDecimal> median()
Deprecated.- 3.11 - [#7538] - UseDSL.median(Field)instead.- See Also:
DSL.median(Field)
-
stddevPop
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<BigDecimal> stddevPop()
Deprecated.- 3.11 - [#7538] - UseDSL.stddevPop(Field)instead.- See Also:
DSL.stddevPop(Field)
-
stddevSamp
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<BigDecimal> stddevSamp()
Deprecated.- 3.11 - [#7538] - UseDSL.stddevSamp(Field)instead.- See Also:
DSL.stddevSamp(Field)
-
varPop
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,CUBRID,DB2,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<BigDecimal> varPop()
Deprecated.- 3.11 - [#7538] - UseDSL.varPop(Field)instead.- See Also:
DSL.varPop(Field)
-
varSamp
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<BigDecimal> varSamp()
Deprecated.- 3.11 - [#7538] - UseDSL.varSamp(Field)instead.- See Also:
DSL.varSamp(Field)
-
countOver
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) WindowPartitionByStep<Integer> countOver()
Deprecated.- 3.11 - [#7538] - UseDSL.count(Field)instead.- See Also:
DSL.count(Field),WindowOverStep.over()
-
maxOver
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) WindowPartitionByStep<T> maxOver()
Deprecated.- 3.11 - [#7538] - UseDSL.max(Field)instead.- See Also:
DSL.max(Field),WindowOverStep.over()
-
minOver
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) WindowPartitionByStep<T> minOver()
Deprecated.- 3.11 - [#7538] - UseDSL.min(Field)instead.- See Also:
DSL.min(Field),WindowOverStep.over()
-
sumOver
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) WindowPartitionByStep<BigDecimal> sumOver()
Deprecated.- 3.11 - [#7538] - UseDSL.sum(Field)instead.- See Also:
DSL.sum(Field),WindowOverStep.over()
-
avgOver
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) WindowPartitionByStep<BigDecimal> avgOver()
Deprecated.- 3.11 - [#7538] - UseDSL.avg(Field)instead.- See Also:
DSL.avg(Field),WindowOverStep.over()
-
firstValue
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) WindowIgnoreNullsStep<T> firstValue()
Deprecated.- 3.11 - [#7538] - UseDSL.firstValue(Field)instead.- See Also:
DSL.firstValue(Field),WindowOverStep.over()
-
lastValue
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA}) WindowIgnoreNullsStep<T> lastValue()
Deprecated.- 3.11 - [#7538] - UseDSL.lastValue(Field)instead.- See Also:
DSL.lastValue(Field),WindowOverStep.over()
-
lead
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA}) WindowIgnoreNullsStep<T> lead()
Deprecated.- 3.11 - [#7538] - UseDSL.lead(Field)instead.- See Also:
DSL.lead(Field),WindowOverStep.over()
-
lead
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA}) WindowIgnoreNullsStep<T> lead(int offset)
Deprecated.- 3.11 - [#7538] - UseDSL.lead(Field, int)instead.- See Also:
DSL.lead(Field, int),WindowOverStep.over()
-
lead
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA}) WindowIgnoreNullsStep<T> lead(int offset, T defaultValue)
Deprecated.- 3.11 - [#7538] - UseDSL.lead(Field, int, Object)instead.
-
lead
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA}) WindowIgnoreNullsStep<T> lead(int offset, Field<T> defaultValue)
Deprecated.- 3.11 - [#7538] - UseDSL.lead(Field, int, Field)instead.- See Also:
DSL.lead(Field, int, Field),WindowOverStep.over()
-
lag
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA}) WindowIgnoreNullsStep<T> lag()
Deprecated.- 3.11 - [#7538] - UseDSL.lag(Field)instead.- See Also:
DSL.lag(Field),WindowOverStep.over()
-
lag
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA}) WindowIgnoreNullsStep<T> lag(int offset)
Deprecated.- 3.11 - [#7538] - UseDSL.lag(Field, int)instead.- See Also:
DSL.lag(Field, int),WindowOverStep.over()
-
lag
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA}) WindowIgnoreNullsStep<T> lag(int offset, T defaultValue)
Deprecated.- 3.11 - [#7538] - UseDSL.lag(Field, int, Object)instead.- See Also:
DSL.lag(Field, int, Object),WindowOverStep.over()
-
lag
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,DB2,FIREBIRD_3_0,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,TERADATA,VERTICA}) WindowIgnoreNullsStep<T> lag(int offset, Field<T> defaultValue)
Deprecated.- 3.11 - [#7538] - UseDSL.lag(Field, int, Field)instead.- See Also:
DSL.lag(Field, int, Field),WindowOverStep.over()
-
stddevPopOver
@Deprecated @Support({AURORA_POSTGRES,CUBRID,DB2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) WindowPartitionByStep<BigDecimal> stddevPopOver()
Deprecated.- 3.11 - [#7538] - UseDSL.stddevPop(Field)instead.- See Also:
DSL.stddevPop(Field),WindowOverStep.over()
-
stddevSampOver
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) WindowPartitionByStep<BigDecimal> stddevSampOver()
Deprecated.- 3.11 - [#7538] - UseDSL.stddevSamp(Field)instead.- See Also:
DSL.stddevSamp(Field),WindowOverStep.over()
-
varPopOver
@Deprecated @Support({AURORA_POSTGRES,CUBRID,DB2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) WindowPartitionByStep<BigDecimal> varPopOver()
Deprecated.- 3.11 - [#7538] - UseDSL.varPop(Field)instead.- See Also:
DSL.varPop(Field),WindowOverStep.over()
-
varSampOver
@Deprecated @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) WindowPartitionByStep<BigDecimal> varSampOver()
Deprecated.- 3.11 - [#7538] - UseDSL.varSamp(Field)instead.- See Also:
DSL.varSamp(Field),WindowOverStep.over()
-
upper
@Deprecated @Support Field<String> upper()
Deprecated.- 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:
DSL.upper(Field)
-
lower
@Deprecated @Support Field<String> lower()
Deprecated.- 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:
DSL.lower(Field)
-
trim
@Deprecated @Support Field<String> trim()
Deprecated.- 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:
DSL.trim(Field)
-
rtrim
@Deprecated @Support Field<String> rtrim()
Deprecated.- 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:
DSL.rtrim(Field)
-
ltrim
@Deprecated @Support Field<String> ltrim()
Deprecated.- 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:
DSL.ltrim(Field)
-
rpad
@Deprecated @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> rpad(Field<? extends Number> length)
Deprecated.- 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:
DSL.rpad(Field, Field)
-
rpad
@Deprecated @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> rpad(int length)
Deprecated.- 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:
DSL.rpad(Field, int)
-
rpad
@Deprecated @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> rpad(Field<? extends Number> length, Field<String> character)
Deprecated.- 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:
DSL.rpad(Field, Field, Field)
-
rpad
@Deprecated @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> rpad(int length, char character)
Deprecated.- 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:
DSL.rpad(Field, int, char)
-
lpad
@Deprecated @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> lpad(Field<? extends Number> length)
Deprecated.- 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:
DSL.lpad(Field, Field)
-
lpad
@Deprecated @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> lpad(int length)
Deprecated.- 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:
DSL.lpad(Field, int)
-
lpad
@Deprecated @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> lpad(Field<? extends Number> length, Field<String> character)
Deprecated.- 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:
DSL.lpad(Field, Field, Field)
-
lpad
@Deprecated @Support({ACCESS,ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> lpad(int length, char character)
Deprecated.- 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:
DSL.lpad(Field, int, char)
-
repeat
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> repeat(Number count)
Deprecated.- 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:
DSL.repeat(Field, int)
-
repeat
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> repeat(Field<? extends Number> count)
Deprecated.- 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:
DSL.repeat(Field, Field)
-
replace
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> replace(Field<String> search)
Deprecated.- 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:
DSL.replace(Field, Field)
-
replace
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> replace(String search)
Deprecated.- 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:
DSL.replace(Field, String)
-
replace
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> replace(Field<String> search, Field<String> replace)
Deprecated.- 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:
DSL.replace(Field, Field, Field)
-
replace
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<String> replace(String search, String replace)
Deprecated.- 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:
DSL.replace(Field, String, String)
-
position
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<Integer> position(String search)
Deprecated.- 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:
DSL.position(Field, String)
-
position
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HSQLDB,INGRES,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<Integer> position(Field<String> search)
Deprecated.- 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:
DSL.position(Field, Field)
-
ascii
@Deprecated @Support({ASE,AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLSERVER,SYBASE,TERADATA,VERTICA}) Field<Integer> ascii()
Deprecated.- 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:
DSL.ascii(Field)
-
collate
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER}) Field<String> collate(String collation)
Apply a collation operator to this column expression.- See Also:
DSL.collation(String)
-
collate
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER}) Field<String> collate(Name collation)
Apply a collation operator to this column expression.- See Also:
DSL.collation(Name)
-
collate
@Support({AURORA_MYSQL,AURORA_POSTGRES,COCKROACHDB,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLDATAWAREHOUSE,SQLITE,SQLSERVER}) Field<String> collate(Collation collation)
Apply a collation operator to this column expression.
-
concat
@Support Field<String> concat(Field<?>... fields)
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:
DSL.concat(Field...)
-
concat
@Support Field<String> concat(String... values)
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:
DSL.concat(String...)
-
concat
@Support Field<String> concat(char... values)
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:
DSL.concat(String...)
-
substring
@Deprecated @Support Field<String> substring(int startingPosition)
Deprecated.- 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:
DSL.substring(Field, int)
-
substring
@Deprecated @Support Field<String> substring(Field<? extends Number> startingPosition)
Deprecated.- 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:
DSL.substring(Field, Field)
-
substring
@Deprecated @Support Field<String> substring(int startingPosition, int length)
Deprecated.- 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:
DSL.substring(Field, int, int)
-
substring
@Deprecated @Support Field<String> substring(Field<? extends Number> startingPosition, Field<? extends Number> length)
Deprecated.- 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:
DSL.substring(Field, Field, Field)
-
length
@Deprecated @Support Field<Integer> length()
Deprecated.- 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:
DSL.length(Field)
-
charLength
@Deprecated @Support Field<Integer> charLength()
Deprecated.- 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:
DSL.charLength(Field)
-
bitLength
@Deprecated @Support Field<Integer> bitLength()
Deprecated.- 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:
DSL.bitLength(Field)
-
octetLength
@Deprecated @Support Field<Integer> octetLength()
Deprecated.- 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:
DSL.octetLength(Field)
-
extract
@Deprecated @Support Field<Integer> extract(DatePart datePart)
Deprecated.- 3.11 - [#7538] - UseDSL.extract(Field, DatePart)instead.- See Also:
DSL.extract(Field, DatePart)
-
greatest
@Deprecated @Support Field<T> greatest(T... others)
Deprecated.- 3.11 - [#7538] - UseDSL.greatest(Field, Field...)instead.- See Also:
DSL.greatest(Field, Field...)
-
greatest
@Deprecated @Support Field<T> greatest(Field<?>... others)
Deprecated.- 3.11 - [#7538] - UseDSL.greatest(Field, Field...)instead.- See Also:
DSL.greatest(Field, Field...)
-
least
@Deprecated @Support Field<T> least(T... others)
Deprecated.- 3.11 - [#7538] - UseDSL.least(Field, Field...)instead.- See Also:
DSL.least(Field, Field...)
-
least
@Deprecated @Support Field<T> least(Field<?>... others)
Deprecated.- 3.11 - [#7538] - UseDSL.least(Field, Field...)instead.- See Also:
DSL.least(Field, Field...)
-
nvl
@Deprecated @Support Field<T> nvl(T defaultValue)
Deprecated.- 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:
DSL.nvl(Field, Object)
-
nvl
@Deprecated @Support Field<T> nvl(Field<T> defaultValue)
Deprecated.- 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:
DSL.nvl(Field, Field)
-
nvl2
@Deprecated @Support <Z> Field<Z> nvl2(Z valueIfNotNull, Z valueIfNull)
Deprecated.- 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:
DSL.nvl2(Field, Object, Object)
-
nvl2
@Deprecated @Support <Z> Field<Z> nvl2(Field<Z> valueIfNotNull, Field<Z> valueIfNull)
Deprecated.- 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:
DSL.nvl2(Field, Field, Field)
-
nullif
@Deprecated @Support Field<T> nullif(T other)
Deprecated.- 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:
DSL.nullif(Field, Object)
-
nullif
@Deprecated @Support Field<T> nullif(Field<T> other)
Deprecated.- 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:
DSL.nullif(Field, Field)
-
decode
@Deprecated @Support <Z> Field<Z> decode(T search, Z result)
Deprecated.- 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:
DSL.decode(Object, Object, Object)
-
decode
@Deprecated @Support <Z> Field<Z> decode(T search, Z result, Object... more)
Deprecated.- 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 @Support <Z> Field<Z> decode(Field<T> search, Field<Z> result)
Deprecated.- 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:
DSL.decode(Field, Field, Field)
-
decode
@Deprecated @Support <Z> Field<Z> decode(Field<T> search, Field<Z> result, Field<?>... more)
Deprecated.- 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 @Support Field<T> coalesce(T option, T... options)
Deprecated.- 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:
DSL.coalesce(Object, Object...)
-
coalesce
@Deprecated @Support Field<T> coalesce(Field<T> option, Field<?>... options)
Deprecated.- 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:
DSL.coalesce(Field, Field...)
-
plus
@Support({DB2,ORACLE}) @Pro Field<T> plus()
Turn this field into an Oracle-specific field for use in outer-join predicates.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(+)
-
field
Field<T> field(Record record)
The inverse operation ofRecord.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
T get(Record record)
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
T getValue(Record record)
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
T original(Record record)
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
boolean changed(Record record)
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
void reset(Record record)
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
Record1<T> from(Record record)
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);
-
-