- java.lang.Object
-
- org.jooq.impl.CustomField<T>
-
- All Implemented Interfaces:
Serializable,Field<T>,FieldOrConstraint,FieldOrRow,GroupField,Named,OrderField<T>,QueryPart,QueryPartInternal,SelectField<T>,SelectFieldOrAsterisk
public abstract class CustomField<T> extends Object
A base class for customFieldimplementations in client code.Client code may provide proper
Conditionimplementations extending this useful base class. All necessary parts of theConditioninterface are already implemented. Only this method needs further implementation:accept(Context).Refer to that methods' Javadoc for further details about their expected behaviour.
- Author:
- Lukas Eder
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCustomField(String name, DataType<T> type)protectedCustomField(Name name, DataType<T> type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Field<T>abs()Deprecated.abstract voidaccept(Context<?> ctx)Subclasses must implement this method.Field<BigDecimal>acos()Deprecated.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.Field<BigDecimal>asin()Deprecated.Field<BigDecimal>atan()Deprecated.Field<BigDecimal>atan2(Number y)Deprecated.Field<BigDecimal>atan2(Field<? extends Number> y)Deprecated.Field<BigDecimal>avg()Deprecated.WindowPartitionByStep<BigDecimal>avgOver()Deprecated.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.voidbind(BindContext context)Deprecated.- 3.4.0 - [#2694] - UseQueryPartInternal.accept(Context)instead.Field<T>bitAnd(Field<T> value)The bitwise and operator.Field<T>bitAnd(T value)The bitwise and operator.Field<Integer>bitLength()Deprecated.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.booleanchanged(Record record)The inverse operation ofRecord.changed(Field).Field<Integer>charLength()Deprecated.Clause[]clauses(Context<?> ctx)TheClauses that are represented by this query part.Field<T>coalesce(Field<T> option, Field<?>... options)Deprecated.Field<T>coalesce(T option, T... options)Deprecated.<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)Deprecated.Field<String>concat(Field<?>... fields)Deprecated.Conditioncontains(Field<T> value)Convenience method forField.like(String, char)including proper adding of wildcards and escaping.Conditioncontains(T value)Convenience method forField.like(String, char)including proper adding of wildcards and escaping.ConditioncontainsIgnoreCase(Field<T> value)Convenience method forField.likeIgnoreCase(String, char)including proper adding of wildcards and escaping.ConditioncontainsIgnoreCase(T value)Convenience method forField.likeIgnoreCase(String, char)including proper adding of wildcards and escaping.Field<BigDecimal>cos()Deprecated.Field<BigDecimal>cosh()Deprecated.Field<BigDecimal>cot()Deprecated.Field<BigDecimal>coth()Deprecated.Field<Integer>count()Deprecated.Field<Integer>countDistinct()Deprecated.WindowPartitionByStep<Integer>countOver()Deprecated.protected DSLContextcreate()Deprecated.- 3.11.0 - [#6722] - UseAttachable.configuration()andConfiguration.dsl()instead.protected DSLContextcreate(Configuration configuration)Deprecated.- 3.11.0 - [#6722] - UseAttachable.configuration()andConfiguration.dsl()instead.protected DSLContextcreate(Context<?> ctx)Deprecated.- 3.11.0 - [#6722] - UseAttachable.configuration()andConfiguration.dsl()instead.booleandeclaresCTE()Subclasses may override thisbooleandeclaresFields()Subclasses may override thisbooleandeclaresTables()Subclasses may override thisbooleandeclaresWindows()Subclasses may override this<Z> Field<Z>decode(Field<T> search, Field<Z> result)Deprecated.<Z> Field<Z>decode(Field<T> search, Field<Z> result, Field<?>... more)Deprecated.<Z> Field<Z>decode(T search, Z result)Deprecated.<Z> Field<Z>decode(T search, Z result, Object... more)Deprecated.Field<BigDecimal>deg()Deprecated.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 forField.div(Number).Field<T>divide(Field<? extends Number> value)An alias forField.div(Field).ConditionendsWith(Field<T> value)Convenience method forField.like(String, char)including proper adding of wildcards and escaping.ConditionendsWith(T value)Convenience method forField.like(String, char)including proper adding of wildcards and escaping.ConditionendsWithIgnoreCase(Field<T> value)Convenience method forField.like(String, char)including proper adding of wildcards and escaping.ConditionendsWithIgnoreCase(T value)Convenience method forField.like(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 that)Check whether thisQueryPartcan be considered equal to anotherQueryPart.Field<BigDecimal>exp()Deprecated.Field<Integer>extract(DatePart datePart)Deprecated.Field<T>field(Record record)The inverse operation ofRecord.field(Field).WindowIgnoreNullsStep<T>firstValue()Deprecated.Field<T>floor()Deprecated.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.booleangeneratesCast()Subclasses may override thisTget(Record record)The inverse operation ofRecord.get(Field).Binding<?,T>getBinding()The field's underlyingBinding.StringgetComment()The comment on this object.Converter<?,T>getConverter()The field's underlyingConverter.DataType<T>getDataType()The type of this field (might not be dialect-specific).DataType<T>getDataType(Configuration configuration)The dialect-specific type of this field.StringgetName()The unqualified name of this object.NamegetQualifiedName()The qualified name of this object.Class<T>getType()The Java type of the field.NamegetUnqualifiedName()The unqualified name of this object.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.Field<T>greatest(T... others)Deprecated.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.inthashCode()Generate a hash code from thisQueryPart.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.WindowIgnoreNullsStep<T>lag(int offset)Deprecated.WindowIgnoreNullsStep<T>lag(int offset, Field<T> defaultValue)Deprecated.WindowIgnoreNullsStep<T>lag(int offset, T defaultValue)Deprecated.WindowIgnoreNullsStep<T>lastValue()Deprecated.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.WindowIgnoreNullsStep<T>lead(int offset)Deprecated.WindowIgnoreNullsStep<T>lead(int offset, Field<T> defaultValue)Deprecated.WindowIgnoreNullsStep<T>lead(int offset, T defaultValue)Deprecated.Field<T>least(Field<?>... others)Deprecated.Field<T>least(T... others)Deprecated.Field<Integer>length()Deprecated.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> field)Create a condition to pattern-check this field against a value.Conditionlike(Field<String> field, 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.Field<BigDecimal>log(int base)Deprecated.Field<String>lower()Deprecated.Field<String>lpad(int length)Deprecated.Field<String>lpad(int length, char character)Deprecated.Field<String>lpad(Field<? extends Number> length)Deprecated.Field<String>lpad(Field<? extends Number> length, Field<String> character)Deprecated.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.Field<T>max()Deprecated.WindowPartitionByStep<T>maxOver()Deprecated.Field<BigDecimal>median()Deprecated.Field<T>min()Deprecated.WindowPartitionByStep<T>minOver()Deprecated.Field<T>minus(Number value)An alias forField.sub(Number).Field<T>minus(Field<?> value)An alias forField.sub(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 forField.mod(Number).Field<T>modulo(Field<? extends Number> value)An alias forField.mod(Field).Field<T>mul(Number value)An arithmetic expression multiplying this with value.Field<T>mul(Field<? extends Number> value)This default implementation is known to be overridden byExpressionto generate neater expressionsField<T>multiply(Number value)An alias forField.mul(Number).Field<T>multiply(Field<? extends Number> value)An alias forField.mul(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 ofField.contains(Field).ConditionnotContains(T value)Inverse ofField.contains(Object).ConditionnotContainsIgnoreCase(Field<T> value)Inverse ofField.containsIgnoreCase(Field)ConditionnotContainsIgnoreCase(T value)Inverse ofField.containsIgnoreCase(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.Field<T>nullif(T other)Deprecated.Field<T>nvl(Field<T> defaultValue)Deprecated.Field<T>nvl(T defaultValue)Deprecated.<Z> Field<Z>nvl2(Field<Z> valueIfNotNull, Field<Z> valueIfNull)Deprecated.<Z> Field<Z>nvl2(Z valueIfNotNull, Z valueIfNull)Deprecated.Field<Integer>octetLength()Deprecated.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 forField.add(Number).Field<T>plus(Field<?> value)An alias forField.add(Field).Field<Integer>position(String search)Deprecated.Field<Integer>position(Field<String> search)Deprecated.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 forField.power(Number).Field<BigDecimal>power(Field<? extends Number> exponent)An alias forField.power(Field).Field<BigDecimal>rad()Deprecated.Field<T>rem(Number value)An alias forField.mod(Number).Field<T>rem(Field<? extends Number> value)An alias forField.mod(Field).Field<String>repeat(Number count)Deprecated.Field<String>repeat(Field<? extends Number> count)Deprecated.Field<String>replace(String search)Deprecated.Field<String>replace(String search, String replace)Deprecated.Field<String>replace(Field<String> search)Deprecated.Field<String>replace(Field<String> search, Field<String> replace)Deprecated.voidreset(Record record)The inverse operation ofRecord.reset(Field).Field<T>round()Deprecated.Field<T>round(int decimals)Deprecated.Field<String>rpad(int length)Deprecated.Field<String>rpad(int length, char character)Deprecated.Field<String>rpad(Field<? extends Number> length)Deprecated.Field<String>rpad(Field<? extends Number> length, Field<String> character)Deprecated.Field<String>rtrim()Deprecated.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.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> field)Create a condition to pattern-check this field against a value.ConditionsimilarTo(Field<String> field, char escape)Create a condition to pattern-check this field against a value.Field<BigDecimal>sin()Deprecated.Field<BigDecimal>sinh()Deprecated.<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.ConditionstartsWith(Field<T> value)Convenience method forField.like(String, char)including proper adding of wildcards and escaping.ConditionstartsWith(T value)Convenience method forField.like(String, char)including proper adding of wildcards and escaping.ConditionstartsWithIgnoreCase(Field<T> value)Convenience method forField.like(String, char)including proper adding of wildcards and escaping.ConditionstartsWithIgnoreCase(T value)Convenience method forField.like(String, char)including proper adding of wildcards and escaping.Field<BigDecimal>stddevPop()Deprecated.WindowPartitionByStep<BigDecimal>stddevPopOver()Deprecated.Field<BigDecimal>stddevSamp()Deprecated.WindowPartitionByStep<BigDecimal>stddevSampOver()Deprecated.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.Field<String>substring(int startingPosition, int length)Deprecated.Field<String>substring(Field<? extends Number> startingPosition)Deprecated.Field<String>substring(Field<? extends Number> startingPosition, Field<? extends Number> length)Deprecated.Field<T>subtract(Number value)An alias forField.sub(Number).Field<T>subtract(Field<?> value)An alias forField.sub(Field).Field<BigDecimal>sum()Deprecated.WindowPartitionByStep<BigDecimal>sumOver()Deprecated.Field<BigDecimal>tan()Deprecated.Field<BigDecimal>tanh()Deprecated.Field<T>times(Number value)An alias forField.mul(Number).Field<T>times(Field<? extends Number> value)An alias forField.mul(Field).voidtoSQL(RenderContext context)Deprecated.- 3.4.0 - [#2694] - UseQueryPartInternal.accept(Context)instead.StringtoString()Render a SQL string representation of thisQueryPart.protected DataAccessExceptiontranslate(String sql, SQLException e)Internal convenience methodField<String>trim()Deprecated.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.Field<BigDecimal>varPop()Deprecated.WindowPartitionByStep<BigDecimal>varPopOver()Deprecated.Field<BigDecimal>varSamp()Deprecated.WindowPartitionByStep<BigDecimal>varSampOver()Deprecated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jooq.Field
equals, getComment, getName
-
Methods inherited from interface org.jooq.Named
getQualifiedName, getUnqualifiedName
-
-
-
-
Method Detail
-
accept
public abstract void accept(Context<?> ctx)
Subclasses must implement this method.
ThisQueryPartcanacceptaContextobject in order to render a SQL string or to bind its variables.- Specified by:
acceptin interfaceQueryPartInternal
-
clauses
public final Clause[] clauses(Context<?> ctx)
Description copied from interface:QueryPartInternalTheClauses that are represented by this query part.QueryParts can specify severalClauses for which an event will be emittedbefore(in forward order) andafter(in reverse order) visiting the the query part throughContext.visit(QueryPart)This method is for JOOQ INTERNAL USE only. Do not reference directly
- Specified by:
clausesin interfaceQueryPartInternal- Returns:
- The
Clauses represented by this query part ornullor an empty array if this query part does not represent a clause.
-
as
public final Field<T> as(Name alias)
Description copied from interface:FieldCreate 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.
-
add
public final Field<T> add(Field<?> value)
Description copied from interface:FieldAn 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
-
mul
public final Field<T> mul(Field<? extends Number> value)
This default implementation is known to be overridden byExpressionto generate neater expressions
-
declaresFields
public final boolean declaresFields()
Subclasses may override this- Specified by:
declaresFieldsin interfaceQueryPartInternal
-
declaresTables
public final boolean declaresTables()
Subclasses may override this- Specified by:
declaresTablesin interfaceQueryPartInternal
-
field
public final Field<T> field(Record record)
Description copied from interface:FieldThe 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
public final T get(Record record)
Description copied from interface:FieldThe 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
public final T getValue(Record record)
Description copied from interface:FieldThe 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
public final T original(Record record)
Description copied from interface:FieldThe 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
public final boolean changed(Record record)
Description copied from interface:FieldThe 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
public final void reset(Record record)
Description copied from interface:FieldThe 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
public final Record1<T> from(Record record)
Description copied from interface:FieldThe 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);
-
as
public final Field<T> as(String alias)
Description copied from interface:FieldCreate 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!
-
as
public final Field<T> as(Field<?> otherField)
Description copied from interface:FieldCreate an alias for this field based on another field's name.
-
as
public final Field<T> as(Function<? super Field<T>,? extends String> aliasFunction)
Description copied from interface:FieldCreate 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
Field.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());
-
getConverter
public final Converter<?,T> getConverter()
Description copied from interface:FieldThe field's underlyingConverter.By default, all fields reference an identity-converter
Converter<T, T>. Custom data types may be obtained by a customConverterplaced on the generatedTableField.- Specified by:
getConverterin interfaceField<T>- Specified by:
getConverterin interfaceSelectField<T>
-
getBinding
public final Binding<?,T> getBinding()
Description copied from interface:FieldThe field's underlyingBinding.- Specified by:
getBindingin interfaceField<T>- Specified by:
getBindingin interfaceSelectField<T>
-
getDataType
public final DataType<T> getDataType()
Description copied from interface:FieldThe type of this field (might not be dialect-specific).- Specified by:
getDataTypein interfaceField<T>- Specified by:
getDataTypein interfaceSelectField<T>
-
getDataType
public final DataType<T> getDataType(Configuration configuration)
Description copied from interface:FieldThe dialect-specific type of this field.- Specified by:
getDataTypein interfaceField<T>- Specified by:
getDataTypein interfaceSelectField<T>
-
getType
public final Class<T> getType()
Description copied from interface:FieldThe Java type of the field.- Specified by:
getTypein interfaceField<T>- Specified by:
getTypein interfaceSelectField<T>
-
cast
public final <Z> Field<Z> cast(Field<Z> field)
Description copied from interface:FieldCast this field to the type of another field.This results in the same as casting this field to
DataType.getCastTypeName()- Specified by:
castin interfaceField<T>- 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:
Field.cast(DataType)
-
cast
public final <Z> Field<Z> cast(DataType<Z> type)
Description copied from interface:FieldCast this field to a dialect-specific data type.
-
cast
public final <Z> Field<Z> cast(Class<Z> type)
Description copied from interface:FieldCast this field to another type.The actual cast may not be accurate as the
DataTypehas to be "guessed" from the jOOQ-configured data types. UseField.cast(DataType)for more accurate casts.- Specified by:
castin interfaceField<T>- 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:
Field.cast(DataType)
-
coerce
public final <Z> Field<Z> coerce(Field<Z> field)
Description copied from interface:FieldCoerce 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);
- Specified by:
coercein interfaceField<T>- 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:
Field.coerce(DataType),Field.cast(Field)
-
coerce
public final <Z> Field<Z> coerce(DataType<Z> type)
Description copied from interface:FieldCoerce 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);
- Specified by:
coercein interfaceField<T>- 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:
Field.cast(DataType)
-
coerce
public final <Z> Field<Z> coerce(Class<Z> type)
Description copied from interface:FieldCoerce 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);
- Specified by:
coercein interfaceField<T>- 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:
Field.coerce(DataType),Field.cast(Class)
-
asc
public final SortField<T> asc()
Description copied from interface:FieldCreate an ascending sort field from this field.This is the same as calling
Field.sort(SortOrder)withSortOrder.ASC
-
desc
public final SortField<T> desc()
Description copied from interface:FieldCreate a descending sort field from this field.This is the same as calling
Field.sort(SortOrder)withSortOrder.DESC
-
sortDefault
public final SortField<T> sortDefault()
Description copied from interface:FieldCreate a default sorted (implicitASC) from this field.This is the same as calling
Field.sort(SortOrder)withSortOrder.DEFAULT- Specified by:
sortDefaultin interfaceField<T>- Returns:
- This field as a default sorted sort field
-
sort
public final SortField<T> sort(SortOrder order)
Description copied from interface:FieldCreate an ascending/descending sort field from this field.
-
sortAsc
public final SortField<Integer> sortAsc(Collection<T> sortList)
Description copied from interface:FieldCreate 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.
-
sortAsc
@SafeVarargs public final SortField<Integer> sortAsc(T... sortList)
Description copied from interface:FieldCreate 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.
-
sortDesc
public final SortField<Integer> sortDesc(Collection<T> sortList)
Description copied from interface:FieldCreate 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.
-
sortDesc
@SafeVarargs public final SortField<Integer> sortDesc(T... sortList)
Description copied from interface:FieldCreate 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.
-
sort
public final <Z> SortField<Z> sort(Map<T,Z> sortMap)
Description copied from interface:FieldCreate 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.
-
neg
public final Field<T> neg()
Description copied from interface:FieldNegate this field to get its negative value.This renders the same on all dialects:
-[this]
-
unaryMinus
public final Field<T> unaryMinus()
Description copied from interface:FieldNegate this field to get its negative value.This is an alias for
Field.neg(), which can be recognised by the Kotlin language for operator overloading.- Specified by:
unaryMinusin interfaceField<T>
-
unaryPlus
public final Field<T> unaryPlus()
Description copied from interface:FieldGet this field as its positive value (no effect on SQL).This can be recognised by the Kotlin language for operator overloading.
-
add
public final Field<T> add(Number value)
Description copied from interface:FieldAn arithmetic expression adding this to value.- Specified by:
addin interfaceField<T>- See Also:
Field.add(Field)
-
sub
public final Field<T> sub(Number value)
Description copied from interface:FieldAn arithmetic expression subtracting value from this.- Specified by:
subin interfaceField<T>- See Also:
Field.sub(Field)
-
sub
public final Field<T> sub(Field<?> value)
Description copied from interface:FieldAn 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:
-
mul
public final Field<T> mul(Number value)
Description copied from interface:FieldAn 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)
-
div
public final Field<T> div(Number value)
Description copied from interface:FieldAn 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
public final Field<T> div(Field<? extends Number> value)
Description copied from interface:FieldAn 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)
-
mod
public final Field<T> mod(Number value)
Description copied from interface:FieldAn 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
public final Field<T> mod(Field<? extends Number> value)
Description copied from interface:FieldAn 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])
-
plus
public final Field<T> plus(Number value)
Description copied from interface:FieldAn alias forField.add(Number).- Specified by:
plusin interfaceField<T>- See Also:
Field.add(Number)
-
plus
public final Field<T> plus(Field<?> value)
Description copied from interface:FieldAn alias forField.add(Field).- Specified by:
plusin interfaceField<T>- See Also:
Field.add(Field)
-
subtract
public final Field<T> subtract(Number value)
Description copied from interface:FieldAn alias forField.sub(Number).- Specified by:
subtractin interfaceField<T>- See Also:
Field.sub(Number)
-
subtract
public final Field<T> subtract(Field<?> value)
Description copied from interface:FieldAn alias forField.sub(Field).- Specified by:
subtractin interfaceField<T>- See Also:
Field.sub(Field)
-
minus
public final Field<T> minus(Number value)
Description copied from interface:FieldAn alias forField.sub(Number).- Specified by:
minusin interfaceField<T>- See Also:
Field.sub(Number)
-
minus
public final Field<T> minus(Field<?> value)
Description copied from interface:FieldAn alias forField.sub(Field).- Specified by:
minusin interfaceField<T>- See Also:
Field.sub(Field)
-
multiply
public final Field<T> multiply(Number value)
Description copied from interface:FieldAn alias forField.mul(Number).- Specified by:
multiplyin interfaceField<T>- See Also:
Field.mul(Number)
-
multiply
public final Field<T> multiply(Field<? extends Number> value)
Description copied from interface:FieldAn alias forField.mul(Field).- Specified by:
multiplyin interfaceField<T>- See Also:
Field.mul(Field)
-
times
public final Field<T> times(Number value)
Description copied from interface:FieldAn alias forField.mul(Number).- Specified by:
timesin interfaceField<T>- See Also:
Field.mul(Number)
-
times
public final Field<T> times(Field<? extends Number> value)
Description copied from interface:FieldAn alias forField.mul(Field).- Specified by:
timesin interfaceField<T>- See Also:
Field.mul(Field)
-
divide
public final Field<T> divide(Number value)
Description copied from interface:FieldAn alias forField.div(Number).- Specified by:
dividein interfaceField<T>- See Also:
Field.div(Number)
-
divide
public final Field<T> divide(Field<? extends Number> value)
Description copied from interface:FieldAn alias forField.div(Field).- Specified by:
dividein interfaceField<T>- See Also:
Field.div(Field)
-
modulo
public final Field<T> modulo(Number value)
Description copied from interface:FieldAn alias forField.mod(Number).- Specified by:
moduloin interfaceField<T>- See Also:
Field.mod(Number)
-
modulo
public final Field<T> modulo(Field<? extends Number> value)
Description copied from interface:FieldAn alias forField.mod(Field).- Specified by:
moduloin interfaceField<T>- See Also:
Field.mod(Field)
-
rem
public final Field<T> rem(Number value)
Description copied from interface:FieldAn alias forField.mod(Number).- Specified by:
remin interfaceField<T>- See Also:
Field.mod(Number)
-
rem
public final Field<T> rem(Field<? extends Number> value)
Description copied from interface:FieldAn alias forField.mod(Field).- Specified by:
remin interfaceField<T>- See Also:
Field.mod(Field)
-
bitNot
public final Field<T> bitNot()
Description copied from interface:FieldThe bitwise not operator.- Specified by:
bitNotin interfaceField<T>- See Also:
DSL.bitNot(Field)
-
bitAnd
public final Field<T> bitAnd(T value)
Description copied from interface:FieldThe bitwise and operator.- Specified by:
bitAndin interfaceField<T>- See Also:
DSL.bitAnd(Field, Field)
-
bitAnd
public final Field<T> bitAnd(Field<T> value)
Description copied from interface:FieldThe bitwise and operator.- Specified by:
bitAndin interfaceField<T>- See Also:
DSL.bitAnd(Field, Field)
-
bitNand
public final Field<T> bitNand(T value)
Description copied from interface:FieldThe bitwise not and operator.- Specified by:
bitNandin interfaceField<T>- See Also:
DSL.bitNand(Field, Field),DSL.bitNot(Field)
-
bitNand
public final Field<T> bitNand(Field<T> value)
Description copied from interface:FieldThe bitwise not and operator.- Specified by:
bitNandin interfaceField<T>- See Also:
DSL.bitNand(Field, Field),DSL.bitNot(Field)
-
bitOr
public final Field<T> bitOr(T value)
Description copied from interface:FieldThe bitwise or operator.- Specified by:
bitOrin interfaceField<T>- See Also:
DSL.bitOr(Field, Field)
-
bitOr
public final Field<T> bitOr(Field<T> value)
Description copied from interface:FieldThe bitwise or operator.- Specified by:
bitOrin interfaceField<T>- See Also:
DSL.bitOr(Field, Field)
-
bitNor
public final Field<T> bitNor(T value)
Description copied from interface:FieldThe bitwise not or operator.- Specified by:
bitNorin interfaceField<T>- See Also:
DSL.bitNor(Field, Field),DSL.bitNot(Field)
-
bitNor
public final Field<T> bitNor(Field<T> value)
Description copied from interface:FieldThe bitwise not or operator.- Specified by:
bitNorin interfaceField<T>- See Also:
DSL.bitNor(Field, Field),DSL.bitNot(Field)
-
bitXor
public final Field<T> bitXor(T value)
Description copied from interface:FieldThe bitwise xor operator.- Specified by:
bitXorin interfaceField<T>- See Also:
DSL.bitXor(Field, Field)
-
bitXor
public final Field<T> bitXor(Field<T> value)
Description copied from interface:FieldThe bitwise xor operator.- Specified by:
bitXorin interfaceField<T>- See Also:
DSL.bitXor(Field, Field)
-
bitXNor
public final Field<T> bitXNor(T value)
Description copied from interface:FieldThe bitwise not xor operator.- Specified by:
bitXNorin interfaceField<T>- See Also:
DSL.bitXNor(Field, Field),DSL.bitNot(Field)
-
bitXNor
public final Field<T> bitXNor(Field<T> value)
Description copied from interface:FieldThe bitwise not xor operator.- Specified by:
bitXNorin interfaceField<T>- See Also:
DSL.bitXNor(Field, Field),DSL.bitNot(Field)
-
shl
public final Field<T> shl(Number value)
Description copied from interface:FieldThe bitwise left shift operator.- Specified by:
shlin interfaceField<T>- See Also:
DSL.shl(Field, Field),DSL.power(Field, Number)
-
shl
public final Field<T> shl(Field<? extends Number> value)
Description copied from interface:FieldThe bitwise left shift operator.- Specified by:
shlin interfaceField<T>- See Also:
DSL.shl(Field, Field),DSL.power(Field, Number)
-
shr
public final Field<T> shr(Number value)
Description copied from interface:FieldThe bitwise right shift operator.- Specified by:
shrin interfaceField<T>- See Also:
DSL.shr(Field, Field),DSL.power(Field, Number)
-
shr
public final Field<T> shr(Field<? extends Number> value)
Description copied from interface:FieldThe bitwise right shift operator.- Specified by:
shrin interfaceField<T>- See Also:
DSL.shr(Field, Field),DSL.power(Field, Number)
-
isJson
public final Condition isJson()
Description copied from interface:FieldCreate a condition to check if this field contains JSON data.
-
isNotJson
public final Condition isNotJson()
Description copied from interface:FieldCreate a condition to check if this field does not contain JSON data.
-
isNull
public final Condition isNull()
Description copied from interface:FieldCreate a condition to check this field againstnull.SQL:
this is null
-
isNotNull
public final Condition isNotNull()
Description copied from interface:FieldCreate a condition to check this field againstnull.SQL:
this is not null
-
isDistinctFrom
public final Condition isDistinctFrom(T value)
Description copied from interface:FieldCreate 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- Specified by:
isDistinctFromin interfaceField<T>
-
isDistinctFrom
public final Condition isDistinctFrom(Field<T> field)
Description copied from interface:FieldCreate 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- Specified by:
isDistinctFromin interfaceField<T>
-
isNotDistinctFrom
public final Condition isNotDistinctFrom(T value)
Description copied from interface:FieldCreate 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- Specified by:
isNotDistinctFromin interfaceField<T>
-
isNotDistinctFrom
public final Condition isNotDistinctFrom(Field<T> field)
Description copied from interface:FieldCreate 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- Specified by:
isNotDistinctFromin interfaceField<T>
-
isTrue
public final Condition isTrue()
Description copied from interface:FieldCreate a condition to check this field against known string literals fortrue.SQL:
lcase(this) in ("1", "y", "yes", "true", "on", "enabled")
-
isFalse
public final Condition isFalse()
Description copied from interface:FieldCreate a condition to check this field against known string literals forfalse.SQL:
lcase(this) in ("0", "n", "no", "false", "off", "disabled")
-
similarTo
public final LikeEscapeStep similarTo(String value)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this similar to value
-
similarTo
public final Condition similarTo(String value, char escape)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this similar to value escape 'e'- Specified by:
similarToin interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
similarTo
public final LikeEscapeStep similarTo(Field<String> field)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this similar to value
-
similarTo
public final Condition similarTo(Field<String> field, char escape)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this similar to value escape 'e'- Specified by:
similarToin interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
notSimilarTo
public final LikeEscapeStep notSimilarTo(String value)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this not similar to value- Specified by:
notSimilarToin interfaceField<T>
-
notSimilarTo
public final Condition notSimilarTo(String value, char escape)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this not similar to value escape 'e'- Specified by:
notSimilarToin interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
notSimilarTo
public final LikeEscapeStep notSimilarTo(Field<String> field)
Description copied from interface:FieldCreate a condition to pattern-check this field against a field.SQL:
this not similar to field- Specified by:
notSimilarToin interfaceField<T>
-
notSimilarTo
public final Condition notSimilarTo(Field<String> field, char escape)
Description copied from interface:FieldCreate a condition to pattern-check this field against a field.SQL:
this not similar to field escape 'e'- Specified by:
notSimilarToin interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
like
public final LikeEscapeStep like(String value)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this like value
-
like
public final Condition like(String value, char escape)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this like value escape 'e'- Specified by:
likein interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
like
public final LikeEscapeStep like(Field<String> field)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this like value
-
like
public final Condition like(Field<String> field, char escape)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this like value escape 'e'- Specified by:
likein interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
like
public LikeEscapeStep like(QuantifiedSelect<Record1<String>> query)
Description copied from interface:FieldCreate 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%').- Specified by:
likein interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Field...),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Field...),DSL.any(Select),DSL.any(Object...),LikeEscapeStep.escape(char)
-
likeIgnoreCase
public final LikeEscapeStep likeIgnoreCase(String value)
Description copied from interface:FieldCreate 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.- Specified by:
likeIgnoreCasein interfaceField<T>
-
likeIgnoreCase
public final Condition likeIgnoreCase(String value, char escape)
Description copied from interface:FieldCreate 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.- Specified by:
likeIgnoreCasein interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
likeIgnoreCase
public final LikeEscapeStep likeIgnoreCase(Field<String> field)
Description copied from interface:FieldCreate 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.- Specified by:
likeIgnoreCasein interfaceField<T>
-
likeIgnoreCase
public final Condition likeIgnoreCase(Field<String> field, char escape)
Description copied from interface:FieldCreate 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.- Specified by:
likeIgnoreCasein interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
likeRegex
public final Condition likeRegex(String pattern)
Description copied from interface:FieldCreate 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:- Specified by:
likeRegexin interfaceField<T>- See Also:
Field.likeRegex(String)
-
likeRegex
public final Condition likeRegex(Field<String> pattern)
Description copied from interface:FieldCreate a condition to regex-pattern-check this field against a pattern.See
Field.likeRegex(String)for more details- Specified by:
likeRegexin interfaceField<T>- See Also:
Field.likeRegex(String)
-
notLike
public final LikeEscapeStep notLike(String value)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this not like value
-
notLike
public final Condition notLike(String value, char escape)
Description copied from interface:FieldCreate a condition to pattern-check this field against a value.SQL:
this not like value escape 'e'- Specified by:
notLikein interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
notLike
public final LikeEscapeStep notLike(Field<String> field)
Description copied from interface:FieldCreate a condition to pattern-check this field against a field.SQL:
this not like field
-
notLike
public final Condition notLike(Field<String> field, char escape)
Description copied from interface:FieldCreate a condition to pattern-check this field against a field.SQL:
this not like field escape 'e'- Specified by:
notLikein interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
notLike
public LikeEscapeStep notLike(QuantifiedSelect<Record1<String>> query)
Description copied from interface:FieldCreate 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%').- Specified by:
notLikein interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Field...),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Field...),DSL.any(Select),DSL.any(Object...),LikeEscapeStep.escape(char)
-
notLikeIgnoreCase
public final LikeEscapeStep notLikeIgnoreCase(String value)
Description copied from interface:FieldCreate 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.- Specified by:
notLikeIgnoreCasein interfaceField<T>
-
notLikeIgnoreCase
public final Condition notLikeIgnoreCase(String value, char escape)
Description copied from interface:FieldCreate 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.- Specified by:
notLikeIgnoreCasein interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
notLikeIgnoreCase
public final LikeEscapeStep notLikeIgnoreCase(Field<String> field)
Description copied from interface:FieldCreate 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.- Specified by:
notLikeIgnoreCasein interfaceField<T>
-
notLikeIgnoreCase
public final Condition notLikeIgnoreCase(Field<String> field, char escape)
Description copied from interface:FieldCreate 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.- Specified by:
notLikeIgnoreCasein interfaceField<T>- See Also:
LikeEscapeStep.escape(char)
-
notLikeRegex
public final Condition notLikeRegex(String pattern)
Description copied from interface:FieldCreate a condition to regex-pattern-check this field against a pattern.See
Field.likeRegex(String)for more details- Specified by:
notLikeRegexin interfaceField<T>- See Also:
Field.likeRegex(String)
-
notLikeRegex
public final Condition notLikeRegex(Field<String> pattern)
Description copied from interface:FieldCreate a condition to regex-pattern-check this field against a pattern.See
Field.likeRegex(String)for more details- Specified by:
notLikeRegexin interfaceField<T>- See Also:
Field.likeRegex(Field)
-
contains
public final Condition contains(T value)
Description copied from interface:FieldConvenience method forField.like(String, char)including proper adding of wildcards and escaping.SQL:
this like ('%' || escape(value, '\') || '%') escape '\'Note: This also works with numbers, for instance
val(1133).contains(13)If you're using
SQLDialect.POSTGRES, then you can use this method also to express the "ARRAY contains" operator. For example:// Use this expression val(new Integer[] { 1, 2, 3 }).contains(new Integer[] { 1, 2 }) // ... to render this SQL ARRAY[1, 2, 3] @> ARRAY[1, 2]Note, this does not correspond to the Oracle Text
CONTAINS()function. Refer toOracleDSL.contains(Field, String)instead.- Specified by:
containsin interfaceField<T>- See Also:
DSL.escape(String, char),Field.like(String, char)
-
contains
public final Condition contains(Field<T> value)
Description copied from interface:FieldConvenience method forField.like(String, char)including proper adding of wildcards and escaping.SQL:
this like ('%' || escape(value, '\') || '%') escape '\'Note: This also works with numbers, for instance
val(1133).contains(13)If you're using
SQLDialect.POSTGRES, then you can use this method also to express the "ARRAY contains" operator. For example:// Use this expression val(new Integer[] { 1, 2, 3 }).contains(new Integer[] { 1, 2 }) // ... to render this SQL ARRAY[1, 2, 3] @> ARRAY[1, 2]Note, this does not correspond to the Oracle Text
CONTAINS()function. Refer toOracleDSL.contains(Field, String)instead.- Specified by:
containsin interfaceField<T>- See Also:
DSL.escape(Field, char),Field.like(Field, char)
-
notContains
public final Condition notContains(T value)
Description copied from interface:FieldInverse ofField.contains(Object).- Specified by:
notContainsin interfaceField<T>
-
notContains
public final Condition notContains(Field<T> value)
Description copied from interface:FieldInverse ofField.contains(Field).- Specified by:
notContainsin interfaceField<T>
-
containsIgnoreCase
public final Condition containsIgnoreCase(T value)
Description copied from interface:FieldConvenience method forField.likeIgnoreCase(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.- Specified by:
containsIgnoreCasein interfaceField<T>- See Also:
DSL.escape(Field, char),Field.likeIgnoreCase(String, char),Field.contains(Object)
-
containsIgnoreCase
public final Condition containsIgnoreCase(Field<T> value)
Description copied from interface:FieldConvenience method forField.likeIgnoreCase(String, char)including proper adding of wildcards and escaping.This translates to
this ilike ('%' || escape(value, '\') || '%') escape '\'inSQLDialect.POSTGRES, or tolower(this) like lower(('%' || escape(value, '\') || '%') escape '\')in all other dialects.- Specified by:
containsIgnoreCasein interfaceField<T>- See Also:
DSL.escape(Field, char),Field.likeIgnoreCase(Field, char),Field.contains(Field)
-
notContainsIgnoreCase
public final Condition notContainsIgnoreCase(T value)
Description copied from interface:FieldInverse ofField.containsIgnoreCase(Object)- Specified by:
notContainsIgnoreCasein interfaceField<T>
-
notContainsIgnoreCase
public final Condition notContainsIgnoreCase(Field<T> value)
Description copied from interface:FieldInverse ofField.containsIgnoreCase(Field)- Specified by:
notContainsIgnoreCasein interfaceField<T>
-
startsWith
public final Condition startsWith(T value)
Description copied from interface:FieldConvenience method forField.like(String, char)including proper adding of wildcards and escaping.SQL:
this like (escape(value, '\') || '%') escape '\'Note: This also works with numbers, for instance
val(1133).startsWith(11)- Specified by:
startsWithin interfaceField<T>- See Also:
DSL.escape(String, char),Field.like(String, char)
-
startsWith
public final Condition startsWith(Field<T> value)
Description copied from interface:FieldConvenience method forField.like(String, char)including proper adding of wildcards and escaping.SQL:
this like (escape(value, '\') || '%') escape '\'Note: This also works with numbers, for instance
val(1133).startsWith(11)- Specified by:
startsWithin interfaceField<T>- See Also:
DSL.escape(Field, char),Field.like(Field, char)
-
startsWithIgnoreCase
public final Condition startsWithIgnoreCase(T value)
Description copied from interface:FieldConvenience method forField.like(String, char)including proper adding of wildcards and escaping.SQL:
lower(this) like (lower(escape(value, '\')) || '%') escape '\'Note: This also works with numbers, for instance
val(1133).startsWithIgnoreCase(11)- Specified by:
startsWithIgnoreCasein interfaceField<T>- See Also:
DSL.escape(String, char),Field.like(String, char)
-
startsWithIgnoreCase
public final Condition startsWithIgnoreCase(Field<T> value)
Description copied from interface:FieldConvenience method forField.like(String, char)including proper adding of wildcards and escaping.SQL:
lower(this) like (lower(escape(value, '\')) || '%') escape '\'Note: This also works with numbers, for instance
val(1133).startsWithIgnoreCase(11)- Specified by:
startsWithIgnoreCasein interfaceField<T>- See Also:
DSL.escape(Field, char),Field.like(Field, char)
-
endsWith
public final Condition endsWith(T value)
Description copied from interface:FieldConvenience method forField.like(String, char)including proper adding of wildcards and escaping.SQL:
this like ('%' || escape(value, '\')) escape '\'Note: This also works with numbers, for instance
val(1133).endsWith(33)- Specified by:
endsWithin interfaceField<T>- See Also:
DSL.escape(String, char),Field.like(String, char)
-
endsWith
public final Condition endsWith(Field<T> value)
Description copied from interface:FieldConvenience method forField.like(String, char)including proper adding of wildcards and escaping.SQL:
this like ('%' || escape(value, '\')) escape '\'Note: This also works with numbers, for instance
val(1133).endsWith(33)- Specified by:
endsWithin interfaceField<T>- See Also:
DSL.escape(Field, char),Field.like(Field, char)
-
endsWithIgnoreCase
public final Condition endsWithIgnoreCase(T value)
Description copied from interface:FieldConvenience method forField.like(String, char)including proper adding of wildcards and escaping.SQL:
lower(this) like ('%' || lower(escape(value, '\'))) escape '\'Note: This also works with numbers, for instance
val(1133).endsWithIgnoreCase(33)- Specified by:
endsWithIgnoreCasein interfaceField<T>- See Also:
DSL.escape(String, char),Field.like(String, char)
-
endsWithIgnoreCase
public final Condition endsWithIgnoreCase(Field<T> value)
Description copied from interface:FieldConvenience method forField.like(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)- Specified by:
endsWithIgnoreCasein interfaceField<T>- See Also:
DSL.escape(Field, char),Field.like(Field, char)
-
in
public final Condition in(T... values)
Description copied from interface:FieldCreate 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
public final Condition in(Field<?>... values)
Description copied from interface:FieldCreate a condition to check this field against several values.SQL:
this in (values...)
-
in
public final Condition in(Collection<?> values)
Description copied from interface:FieldCreate 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
public final Condition in(Result<? extends Record1<T>> result)
Description copied from interface:FieldCreate 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
public final Condition in(Select<? extends Record1<T>> query)
Description copied from interface:FieldCreate 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
public final Condition notIn(T... values)
Description copied from interface:FieldCreate 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
public final Condition notIn(Field<?>... values)
Description copied from interface:FieldCreate 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
public final Condition notIn(Collection<?> values)
Description copied from interface:FieldCreate 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
public final Condition notIn(Result<? extends Record1<T>> result)
Description copied from interface:FieldCreate 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
public final Condition notIn(Select<? extends Record1<T>> query)
Description copied from interface:FieldCreate 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
public final Condition between(T minValue, T maxValue)
Description copied from interface:FieldCreate 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
public final Condition between(Field<T> minValue, Field<T> maxValue)
Description copied from interface:FieldCreate 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
public final Condition betweenSymmetric(T minValue, T maxValue)
Description copied from interface:FieldCreate 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- Specified by:
betweenSymmetricin interfaceField<T>
-
betweenSymmetric
public final Condition betweenSymmetric(Field<T> minValue, Field<T> maxValue)
Description copied from interface:FieldCreate 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- Specified by:
betweenSymmetricin interfaceField<T>
-
notBetween
public final Condition notBetween(T minValue, T maxValue)
Description copied from interface:FieldCreate 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- Specified by:
notBetweenin interfaceField<T>
-
notBetween
public final Condition notBetween(Field<T> minValue, Field<T> maxValue)
Description copied from interface:FieldCreate 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- Specified by:
notBetweenin interfaceField<T>
-
notBetweenSymmetric
public final Condition notBetweenSymmetric(T minValue, T maxValue)
Description copied from interface:FieldCreate 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- Specified by:
notBetweenSymmetricin interfaceField<T>
-
notBetweenSymmetric
public final Condition notBetweenSymmetric(Field<T> minValue, Field<T> maxValue)
Description copied from interface:FieldCreate 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- Specified by:
notBetweenSymmetricin interfaceField<T>
-
between
public final BetweenAndStep<T> between(T minValue)
Description copied from interface:FieldCreate a condition to check this field against some bounds.SQL:
this between minValue and maxValue
-
between
public final BetweenAndStep<T> between(Field<T> minValue)
Description copied from interface:FieldCreate a condition to check this field against some bounds.SQL:
this between minValue and maxValue
-
betweenSymmetric
public final BetweenAndStep<T> betweenSymmetric(T minValue)
Description copied from interface:FieldCreate a condition to check this field against some bounds.SQL:
this between symmetric minValue and maxValue- Specified by:
betweenSymmetricin interfaceField<T>
-
betweenSymmetric
public final BetweenAndStep<T> betweenSymmetric(Field<T> minValue)
Description copied from interface:FieldCreate a condition to check this field against some bounds.SQL:
this between symmetric minValue and maxValue- Specified by:
betweenSymmetricin interfaceField<T>
-
notBetween
public final BetweenAndStep<T> notBetween(T minValue)
Description copied from interface:FieldCreate a condition to check this field against some bounds.SQL:
this not between minValue and maxValue- Specified by:
notBetweenin interfaceField<T>
-
notBetween
public final BetweenAndStep<T> notBetween(Field<T> minValue)
Description copied from interface:FieldCreate a condition to check this field against some bounds.SQL:
this not between minValue and maxValue- Specified by:
notBetweenin interfaceField<T>
-
notBetweenSymmetric
public final BetweenAndStep<T> notBetweenSymmetric(T minValue)
Description copied from interface:FieldCreate a condition to check this field against some bounds.SQL:
this not between symmetric minValue and maxValue- Specified by:
notBetweenSymmetricin interfaceField<T>
-
notBetweenSymmetric
public final BetweenAndStep<T> notBetweenSymmetric(Field<T> minValue)
Description copied from interface:FieldCreate a condition to check this field against some bounds.SQL:
this not between symmetric minValue and maxValue- Specified by:
notBetweenSymmetricin interfaceField<T>
-
eq
public final Condition eq(T value)
Description copied from interface:Fieldthis = value.- Specified by:
eqin interfaceField<T>- See Also:
Field.equal(Object)
-
eq
public final Condition eq(Field<T> field)
Description copied from interface:Fieldthis = field.- Specified by:
eqin interfaceField<T>- See Also:
Field.equal(Field)
-
eq
public final Condition eq(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis = (Select<?> ...).- Specified by:
eqin interfaceField<T>- See Also:
Field.equal(Select)
-
eq
public final Condition eq(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis = [quantifier] (Select<?> ...).- Specified by:
eqin interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
ne
public final Condition ne(T value)
Description copied from interface:Fieldthis != value.- Specified by:
nein interfaceField<T>- See Also:
Field.notEqual(Object)
-
ne
public final Condition ne(Field<T> field)
Description copied from interface:Fieldthis != field.- Specified by:
nein interfaceField<T>- See Also:
Field.notEqual(Field)
-
ne
public final Condition ne(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis != (Select<?> ...).- Specified by:
nein interfaceField<T>- See Also:
Field.notEqual(Select)
-
ne
public final Condition ne(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis != [quantifier] (Select<?> ...).- Specified by:
nein interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
lt
public final Condition lt(T value)
Description copied from interface:Fieldthis < value.- Specified by:
ltin interfaceField<T>- See Also:
Field.lessThan(Object)
-
lt
public final Condition lt(Field<T> field)
Description copied from interface:Fieldthis < field.- Specified by:
ltin interfaceField<T>- See Also:
Field.lessThan(Field)
-
lt
public final Condition lt(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis < (Select<?> ...).- Specified by:
ltin interfaceField<T>- See Also:
Field.lessThan(Select)
-
lt
public final Condition lt(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis < [quantifier] (Select<?> ...).- Specified by:
ltin interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
le
public final Condition le(T value)
Description copied from interface:Fieldthis <= value.- Specified by:
lein interfaceField<T>- See Also:
Field.lessOrEqual(Object)
-
le
public final Condition le(Field<T> field)
Description copied from interface:Fieldthis <= field.- Specified by:
lein interfaceField<T>- See Also:
Field.lessOrEqual(Field)
-
le
public final Condition le(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis <= (Select<?> ...).- Specified by:
lein interfaceField<T>- See Also:
Field.lessOrEqual(Select)
-
le
public final Condition le(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis <= [quantifier] (Select<?> ...).- Specified by:
lein interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
gt
public final Condition gt(T value)
Description copied from interface:Fieldthis > value.- Specified by:
gtin interfaceField<T>- See Also:
Field.greaterThan(Object)
-
gt
public final Condition gt(Field<T> field)
Description copied from interface:Fieldthis > field.- Specified by:
gtin interfaceField<T>- See Also:
Field.greaterThan(Field)
-
gt
public final Condition gt(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis > (Select<?> ...).- Specified by:
gtin interfaceField<T>- See Also:
Field.greaterThan(Select)
-
gt
public final Condition gt(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis > [quantifier] (Select<?> ...).- Specified by:
gtin interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
ge
public final Condition ge(T value)
Description copied from interface:Fieldthis >= value.- Specified by:
gein interfaceField<T>- See Also:
Field.greaterOrEqual(Object)
-
ge
public final Condition ge(Field<T> field)
Description copied from interface:Fieldthis >= field.- Specified by:
gein interfaceField<T>- See Also:
Field.greaterOrEqual(Field)
-
ge
public final Condition ge(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis >= (Select<?> ...).- Specified by:
gein interfaceField<T>- See Also:
Field.greaterOrEqual(Select)
-
ge
public final Condition ge(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis >= [quantifier] (Select<?> ...).- Specified by:
gein interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
equal
public final Condition equal(Field<T> field)
Description copied from interface:Fieldthis = field.
-
equalIgnoreCase
public final Condition equalIgnoreCase(String value)
Description copied from interface:Fieldlower(this) = lower(value).- Specified by:
equalIgnoreCasein interfaceField<T>
-
equalIgnoreCase
public final Condition equalIgnoreCase(Field<String> value)
Description copied from interface:Fieldlower(this) = lower(value).- Specified by:
equalIgnoreCasein interfaceField<T>
-
equal
public final Condition equal(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis = (Select<?> ...).
-
equal
public final Condition equal(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis = [quantifier] (Select<?> ...).- Specified by:
equalin interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
notEqual
public final Condition notEqual(T value)
Description copied from interface:Fieldthis != value.
-
notEqual
public final Condition notEqual(Field<T> field)
Description copied from interface:Fieldthis != field.
-
notEqualIgnoreCase
public final Condition notEqualIgnoreCase(String value)
Description copied from interface:Fieldlower(this) != lower(value).- Specified by:
notEqualIgnoreCasein interfaceField<T>
-
notEqualIgnoreCase
public final Condition notEqualIgnoreCase(Field<String> value)
Description copied from interface:Fieldlower(this) != lower(value).- Specified by:
notEqualIgnoreCasein interfaceField<T>
-
notEqual
public final Condition notEqual(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis != (Select<?> ...).
-
notEqual
public final Condition notEqual(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis != [quantifier] (Select<?> ...).- Specified by:
notEqualin interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
lessThan
public final Condition lessThan(T value)
Description copied from interface:Fieldthis < value.
-
lessThan
public final Condition lessThan(Field<T> field)
Description copied from interface:Fieldthis < field.
-
lessThan
public final Condition lessThan(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis < (Select<?> ...).
-
lessThan
public final Condition lessThan(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis < [quantifier] (Select<?> ...).- Specified by:
lessThanin interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
lessOrEqual
public final Condition lessOrEqual(T value)
Description copied from interface:Fieldthis <= value.- Specified by:
lessOrEqualin interfaceField<T>
-
lessOrEqual
public final Condition lessOrEqual(Field<T> field)
Description copied from interface:Fieldthis <= field.- Specified by:
lessOrEqualin interfaceField<T>
-
lessOrEqual
public final Condition lessOrEqual(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis <= (Select<?> ...).- Specified by:
lessOrEqualin interfaceField<T>
-
lessOrEqual
public final Condition lessOrEqual(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis <= [quantifier] (Select<?> ...).- Specified by:
lessOrEqualin interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
greaterThan
public final Condition greaterThan(T value)
Description copied from interface:Fieldthis > value.- Specified by:
greaterThanin interfaceField<T>
-
greaterThan
public final Condition greaterThan(Field<T> field)
Description copied from interface:Fieldthis > field.- Specified by:
greaterThanin interfaceField<T>
-
greaterThan
public final Condition greaterThan(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis > (Select<?> ...).- Specified by:
greaterThanin interfaceField<T>
-
greaterThan
public final Condition greaterThan(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis > [quantifier] (Select<?> ...).- Specified by:
greaterThanin interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
greaterOrEqual
public final Condition greaterOrEqual(T value)
Description copied from interface:Fieldthis >= value.- Specified by:
greaterOrEqualin interfaceField<T>
-
greaterOrEqual
public final Condition greaterOrEqual(Field<T> field)
Description copied from interface:Fieldthis >= field.- Specified by:
greaterOrEqualin interfaceField<T>
-
greaterOrEqual
public final Condition greaterOrEqual(Select<? extends Record1<T>> query)
Description copied from interface:Fieldthis >= (Select<?> ...).- Specified by:
greaterOrEqualin interfaceField<T>
-
greaterOrEqual
public final Condition greaterOrEqual(QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:Fieldthis >= [quantifier] (Select<?> ...).- Specified by:
greaterOrEqualin interfaceField<T>- See Also:
DSL.all(Field),DSL.all(Select),DSL.all(Object...),DSL.any(Field),DSL.any(Select),DSL.any(Object...)
-
compare
public final Condition compare(Comparator comparator, T value)
Description copied from interface:FieldCompare this field with a value using a dynamic comparator.
-
compare
public final Condition compare(Comparator comparator, Field<T> field)
Description copied from interface:FieldCompare this field with another field using a dynamic comparator.
-
compare
public final Condition compare(Comparator comparator, Select<? extends Record1<T>> query)
Description copied from interface:FieldCompare this field with a subselect using a dynamic comparator.Consider
Comparator.supportsSubselect()to assess whether a comparator can be used with this method.
-
compare
public final Condition compare(Comparator comparator, QuantifiedSelect<? extends Record1<T>> query)
Description copied from interface:FieldCompare this field with a quantified subselect using a dynamic comparator.Consider
Comparator.supportsQuantifier()to assess whether a comparator can be used with this method.
-
plus
@Pro public final Field<T> plus()
Description copied from interface:FieldTurn 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(+)
-
sign
@Deprecated public final Field<Integer> sign()
Deprecated.- Specified by:
signin interfaceField<T>- See Also:
DSL.sign(Field)
-
abs
@Deprecated public final Field<T> abs()
Deprecated.- Specified by:
absin interfaceField<T>- See Also:
DSL.abs(Field)
-
round
@Deprecated public final Field<T> round()
Deprecated.- Specified by:
roundin interfaceField<T>- See Also:
DSL.round(Field)
-
round
@Deprecated public final Field<T> round(int decimals)
Deprecated.- Specified by:
roundin interfaceField<T>- See Also:
DSL.round(Field, int)
-
floor
@Deprecated public final Field<T> floor()
Deprecated.- Specified by:
floorin interfaceField<T>- See Also:
DSL.floor(Field)
-
ceil
@Deprecated public final Field<T> ceil()
Deprecated.- Specified by:
ceilin interfaceField<T>- See Also:
DSL.ceil(Field)
-
sqrt
@Deprecated public final Field<BigDecimal> sqrt()
Deprecated.- Specified by:
sqrtin interfaceField<T>- See Also:
DSL.sqrt(Field)
-
exp
@Deprecated public final Field<BigDecimal> exp()
Deprecated.- Specified by:
expin interfaceField<T>- See Also:
DSL.exp(Field)
-
ln
@Deprecated public final Field<BigDecimal> ln()
Deprecated.- Specified by:
lnin interfaceField<T>- See Also:
DSL.ln(Field)
-
log
@Deprecated public final Field<BigDecimal> log(int base)
Deprecated.- Specified by:
login interfaceField<T>- See Also:
DSL.log(Field, int)
-
pow
public final Field<BigDecimal> pow(Number exponent)
Description copied from interface:FieldAn 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])
- Specified by:
powin interfaceField<T>- See Also:
DSL.power(Field, Number)
-
power
public final Field<BigDecimal> power(Number exponent)
Description copied from interface:FieldAn alias forField.power(Number).- Specified by:
powerin interfaceField<T>- See Also:
Field.power(Number)
-
pow
public final Field<BigDecimal> pow(Field<? extends Number> exponent)
Description copied from interface:FieldAn 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])
- Specified by:
powin interfaceField<T>- See Also:
DSL.power(Field, Field)
-
power
public final Field<BigDecimal> power(Field<? extends Number> exponent)
Description copied from interface:FieldAn alias forField.power(Field).- Specified by:
powerin interfaceField<T>- See Also:
Field.power(Field)
-
acos
@Deprecated public final Field<BigDecimal> acos()
Deprecated.- Specified by:
acosin interfaceField<T>- See Also:
DSL.acos(Field)
-
asin
@Deprecated public final Field<BigDecimal> asin()
Deprecated.- Specified by:
asinin interfaceField<T>- See Also:
DSL.asin(Field)
-
atan
@Deprecated public final Field<BigDecimal> atan()
Deprecated.- Specified by:
atanin interfaceField<T>- See Also:
DSL.atan(Field)
-
atan2
@Deprecated public final Field<BigDecimal> atan2(Number y)
Deprecated.- Specified by:
atan2in interfaceField<T>- See Also:
DSL.atan2(Field, Number)
-
atan2
@Deprecated public final Field<BigDecimal> atan2(Field<? extends Number> y)
Deprecated.- Specified by:
atan2in interfaceField<T>- See Also:
DSL.atan2(Field, Field)
-
cos
@Deprecated public final Field<BigDecimal> cos()
Deprecated.- Specified by:
cosin interfaceField<T>- See Also:
DSL.cos(Field)
-
sin
@Deprecated public final Field<BigDecimal> sin()
Deprecated.- Specified by:
sinin interfaceField<T>- See Also:
DSL.sin(Field)
-
tan
@Deprecated public final Field<BigDecimal> tan()
Deprecated.- Specified by:
tanin interfaceField<T>- See Also:
DSL.tan(Field)
-
cot
@Deprecated public final Field<BigDecimal> cot()
Deprecated.- Specified by:
cotin interfaceField<T>- See Also:
DSL.cot(Field)
-
sinh
@Deprecated public final Field<BigDecimal> sinh()
Deprecated.- Specified by:
sinhin interfaceField<T>- See Also:
DSL.sinh(Field)
-
cosh
@Deprecated public final Field<BigDecimal> cosh()
Deprecated.- Specified by:
coshin interfaceField<T>- See Also:
DSL.cosh(Field)
-
tanh
@Deprecated public final Field<BigDecimal> tanh()
Deprecated.- Specified by:
tanhin interfaceField<T>- See Also:
DSL.tanh(Field)
-
coth
@Deprecated public final Field<BigDecimal> coth()
Deprecated.- Specified by:
cothin interfaceField<T>- See Also:
DSL.coth(Field)
-
deg
@Deprecated public final Field<BigDecimal> deg()
Deprecated.- Specified by:
degin interfaceField<T>- See Also:
DSL.deg(Field)
-
rad
@Deprecated public final Field<BigDecimal> rad()
Deprecated.- Specified by:
radin interfaceField<T>- See Also:
DSL.rad(Field)
-
count
@Deprecated public final Field<Integer> count()
Deprecated.- Specified by:
countin interfaceField<T>- See Also:
DSL.count(Field)
-
countDistinct
@Deprecated public final Field<Integer> countDistinct()
Deprecated.- Specified by:
countDistinctin interfaceField<T>- See Also:
DSL.countDistinct(Field)
-
max
@Deprecated public final Field<T> max()
Deprecated.- Specified by:
maxin interfaceField<T>- See Also:
DSL.max(Field)
-
min
@Deprecated public final Field<T> min()
Deprecated.- Specified by:
minin interfaceField<T>- See Also:
DSL.min(Field)
-
sum
@Deprecated public final Field<BigDecimal> sum()
Deprecated.- Specified by:
sumin interfaceField<T>- See Also:
DSL.sum(Field)
-
avg
@Deprecated public final Field<BigDecimal> avg()
Deprecated.- Specified by:
avgin interfaceField<T>- See Also:
DSL.avg(Field)
-
median
@Deprecated public final Field<BigDecimal> median()
Deprecated.- Specified by:
medianin interfaceField<T>- See Also:
DSL.median(Field)
-
stddevPop
@Deprecated public final Field<BigDecimal> stddevPop()
Deprecated.- Specified by:
stddevPopin interfaceField<T>- See Also:
DSL.stddevPop(Field)
-
stddevSamp
@Deprecated public final Field<BigDecimal> stddevSamp()
Deprecated.- Specified by:
stddevSampin interfaceField<T>- See Also:
DSL.stddevSamp(Field)
-
varPop
@Deprecated public final Field<BigDecimal> varPop()
Deprecated.- Specified by:
varPopin interfaceField<T>- See Also:
DSL.varPop(Field)
-
varSamp
@Deprecated public final Field<BigDecimal> varSamp()
Deprecated.- Specified by:
varSampin interfaceField<T>- See Also:
DSL.varSamp(Field)
-
countOver
@Deprecated public final WindowPartitionByStep<Integer> countOver()
Deprecated.- Specified by:
countOverin interfaceField<T>- See Also:
DSL.count(Field),WindowOverStep.over()
-
maxOver
@Deprecated public final WindowPartitionByStep<T> maxOver()
Deprecated.- Specified by:
maxOverin interfaceField<T>- See Also:
DSL.max(Field),WindowOverStep.over()
-
minOver
@Deprecated public final WindowPartitionByStep<T> minOver()
Deprecated.- Specified by:
minOverin interfaceField<T>- See Also:
DSL.min(Field),WindowOverStep.over()
-
sumOver
@Deprecated public final WindowPartitionByStep<BigDecimal> sumOver()
Deprecated.- Specified by:
sumOverin interfaceField<T>- See Also:
DSL.sum(Field),WindowOverStep.over()
-
avgOver
@Deprecated public final WindowPartitionByStep<BigDecimal> avgOver()
Deprecated.- Specified by:
avgOverin interfaceField<T>- See Also:
DSL.avg(Field),WindowOverStep.over()
-
firstValue
@Deprecated public final WindowIgnoreNullsStep<T> firstValue()
Deprecated.- Specified by:
firstValuein interfaceField<T>- See Also:
DSL.firstValue(Field),WindowOverStep.over()
-
lastValue
@Deprecated public final WindowIgnoreNullsStep<T> lastValue()
Deprecated.- Specified by:
lastValuein interfaceField<T>- See Also:
DSL.lastValue(Field),WindowOverStep.over()
-
lead
@Deprecated public final WindowIgnoreNullsStep<T> lead()
Deprecated.- Specified by:
leadin interfaceField<T>- See Also:
DSL.lead(Field),WindowOverStep.over()
-
lead
@Deprecated public final WindowIgnoreNullsStep<T> lead(int offset)
Deprecated.- Specified by:
leadin interfaceField<T>- See Also:
DSL.lead(Field, int),WindowOverStep.over()
-
lead
@Deprecated public final WindowIgnoreNullsStep<T> lead(int offset, T defaultValue)
Deprecated.- Specified by:
leadin interfaceField<T>- See Also:
DSL.lead(Field, int, Object),WindowOverStep.over()
-
lead
@Deprecated public final WindowIgnoreNullsStep<T> lead(int offset, Field<T> defaultValue)
Deprecated.- Specified by:
leadin interfaceField<T>- See Also:
DSL.lead(Field, int, Field),WindowOverStep.over()
-
lag
@Deprecated public final WindowIgnoreNullsStep<T> lag()
Deprecated.- Specified by:
lagin interfaceField<T>- See Also:
DSL.lag(Field),WindowOverStep.over()
-
lag
@Deprecated public final WindowIgnoreNullsStep<T> lag(int offset)
Deprecated.- Specified by:
lagin interfaceField<T>- See Also:
DSL.lag(Field, int),WindowOverStep.over()
-
lag
@Deprecated public final WindowIgnoreNullsStep<T> lag(int offset, T defaultValue)
Deprecated.- Specified by:
lagin interfaceField<T>- See Also:
DSL.lag(Field, int, Object),WindowOverStep.over()
-
lag
@Deprecated public final WindowIgnoreNullsStep<T> lag(int offset, Field<T> defaultValue)
Deprecated.- Specified by:
lagin interfaceField<T>- See Also:
DSL.lag(Field, int, Field),WindowOverStep.over()
-
stddevPopOver
@Deprecated public final WindowPartitionByStep<BigDecimal> stddevPopOver()
Deprecated.- Specified by:
stddevPopOverin interfaceField<T>- See Also:
DSL.stddevPop(Field),WindowOverStep.over()
-
stddevSampOver
@Deprecated public final WindowPartitionByStep<BigDecimal> stddevSampOver()
Deprecated.- Specified by:
stddevSampOverin interfaceField<T>- See Also:
DSL.stddevSamp(Field),WindowOverStep.over()
-
varPopOver
@Deprecated public final WindowPartitionByStep<BigDecimal> varPopOver()
Deprecated.- Specified by:
varPopOverin interfaceField<T>- See Also:
DSL.varPop(Field),WindowOverStep.over()
-
varSampOver
@Deprecated public final WindowPartitionByStep<BigDecimal> varSampOver()
Deprecated.- Specified by:
varSampOverin interfaceField<T>- See Also:
DSL.varSamp(Field),WindowOverStep.over()
-
upper
@Deprecated public final Field<String> upper()
Deprecated.Description copied from interface:FieldThis 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- Specified by:
upperin interfaceField<T>- See Also:
DSL.upper(Field)
-
lower
@Deprecated public final Field<String> lower()
Deprecated.Description copied from interface:FieldThis 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- Specified by:
lowerin interfaceField<T>- See Also:
DSL.lower(Field)
-
trim
@Deprecated public final Field<String> trim()
Deprecated.Description copied from interface:FieldThis 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- Specified by:
trimin interfaceField<T>- See Also:
DSL.trim(Field)
-
rtrim
@Deprecated public final Field<String> rtrim()
Deprecated.Description copied from interface:FieldThis 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- Specified by:
rtrimin interfaceField<T>- See Also:
DSL.rtrim(Field)
-
ltrim
@Deprecated public final Field<String> ltrim()
Deprecated.Description copied from interface:FieldThis 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- Specified by:
ltrimin interfaceField<T>- See Also:
DSL.ltrim(Field)
-
rpad
@Deprecated public final Field<String> rpad(Field<? extends Number> length)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
rpadin interfaceField<T>- See Also:
DSL.rpad(Field, Field)
-
rpad
@Deprecated public final Field<String> rpad(int length)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
rpadin interfaceField<T>- See Also:
DSL.rpad(Field, int)
-
rpad
@Deprecated public final Field<String> rpad(Field<? extends Number> length, Field<String> character)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
rpadin interfaceField<T>- See Also:
DSL.rpad(Field, Field, Field)
-
rpad
@Deprecated public final Field<String> rpad(int length, char character)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
rpadin interfaceField<T>- See Also:
DSL.rpad(Field, int, char)
-
lpad
@Deprecated public final Field<String> lpad(Field<? extends Number> length)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
lpadin interfaceField<T>- See Also:
DSL.lpad(Field, Field)
-
lpad
@Deprecated public final Field<String> lpad(int length)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
lpadin interfaceField<T>- See Also:
DSL.lpad(Field, int)
-
lpad
@Deprecated public final Field<String> lpad(Field<? extends Number> length, Field<String> character)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
lpadin interfaceField<T>- See Also:
DSL.lpad(Field, Field, Field)
-
lpad
@Deprecated public final Field<String> lpad(int length, char character)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
lpadin interfaceField<T>- See Also:
DSL.lpad(Field, int, char)
-
repeat
@Deprecated public final Field<String> repeat(Number count)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
repeatin interfaceField<T>- See Also:
DSL.repeat(Field, int)
-
repeat
@Deprecated public final Field<String> repeat(Field<? extends Number> count)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
repeatin interfaceField<T>- See Also:
DSL.repeat(Field, Field)
-
replace
@Deprecated public final Field<String> replace(Field<String> search)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
replacein interfaceField<T>- See Also:
DSL.replace(Field, Field)
-
replace
@Deprecated public final Field<String> replace(String search)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
replacein interfaceField<T>- See Also:
DSL.replace(Field, String)
-
replace
@Deprecated public final Field<String> replace(Field<String> search, Field<String> replace)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
replacein interfaceField<T>- See Also:
DSL.replace(Field, Field, Field)
-
replace
@Deprecated public final Field<String> replace(String search, String replace)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
replacein interfaceField<T>- See Also:
DSL.replace(Field, String, String)
-
position
@Deprecated public final Field<Integer> position(String search)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
positionin interfaceField<T>- See Also:
DSL.position(Field, String)
-
position
@Deprecated public final Field<Integer> position(Field<String> search)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
positionin interfaceField<T>- See Also:
DSL.position(Field, Field)
-
ascii
@Deprecated public final Field<Integer> ascii()
Deprecated.Description copied from interface:FieldThis 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- Specified by:
asciiin interfaceField<T>- See Also:
DSL.ascii(Field)
-
collate
public final Field<String> collate(String collation)
Description copied from interface:FieldApply a collation operator to this column expression.- Specified by:
collatein interfaceField<T>- See Also:
DSL.collation(String)
-
collate
public final Field<String> collate(Name collation)
Description copied from interface:FieldApply a collation operator to this column expression.- Specified by:
collatein interfaceField<T>- See Also:
DSL.collation(Name)
-
collate
public final Field<String> collate(Collation collation)
Description copied from interface:FieldApply a collation operator to this column expression.
-
concat
@Deprecated public final Field<String> concat(Field<?>... fields)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
concatin interfaceField<T>- See Also:
DSL.concat(Field...)
-
concat
@Deprecated public final Field<String> concat(String... values)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
concatin interfaceField<T>- See Also:
DSL.concat(String...)
-
concat
public final Field<String> concat(char... values)
Description copied from interface:FieldThis 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- Specified by:
concatin interfaceField<T>- See Also:
DSL.concat(String...)
-
substring
@Deprecated public final Field<String> substring(int startingPosition)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
substringin interfaceField<T>- See Also:
DSL.substring(Field, int)
-
substring
@Deprecated public final Field<String> substring(Field<? extends Number> startingPosition)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
substringin interfaceField<T>- See Also:
DSL.substring(Field, Field)
-
substring
@Deprecated public final Field<String> substring(int startingPosition, int length)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
substringin interfaceField<T>- See Also:
DSL.substring(Field, int, int)
-
substring
@Deprecated public final Field<String> substring(Field<? extends Number> startingPosition, Field<? extends Number> length)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
substringin interfaceField<T>- See Also:
DSL.substring(Field, Field, Field)
-
length
@Deprecated public final Field<Integer> length()
Deprecated.Description copied from interface:FieldThis 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- Specified by:
lengthin interfaceField<T>- See Also:
DSL.length(Field)
-
charLength
@Deprecated public final Field<Integer> charLength()
Deprecated.Description copied from interface:FieldThis 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- Specified by:
charLengthin interfaceField<T>- See Also:
DSL.charLength(Field)
-
bitLength
@Deprecated public final Field<Integer> bitLength()
Deprecated.Description copied from interface:FieldThis 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- Specified by:
bitLengthin interfaceField<T>- See Also:
DSL.bitLength(Field)
-
octetLength
@Deprecated public final Field<Integer> octetLength()
Deprecated.Description copied from interface:FieldThis 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- Specified by:
octetLengthin interfaceField<T>- See Also:
DSL.octetLength(Field)
-
extract
@Deprecated public final Field<Integer> extract(DatePart datePart)
Deprecated.- Specified by:
extractin interfaceField<T>- See Also:
DSL.extract(Field, DatePart)
-
greatest
@Deprecated @SafeVarargs public final Field<T> greatest(T... others)
Deprecated.- Specified by:
greatestin interfaceField<T>- See Also:
DSL.greatest(Field, Field...)
-
greatest
@Deprecated public final Field<T> greatest(Field<?>... others)
Deprecated.- Specified by:
greatestin interfaceField<T>- See Also:
DSL.greatest(Field, Field...)
-
least
@Deprecated @SafeVarargs public final Field<T> least(T... others)
Deprecated.- Specified by:
leastin interfaceField<T>- See Also:
DSL.least(Field, Field...)
-
least
@Deprecated public final Field<T> least(Field<?>... others)
Deprecated.- Specified by:
leastin interfaceField<T>- See Also:
DSL.least(Field, Field...)
-
nvl
@Deprecated public final Field<T> nvl(T defaultValue)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
nvlin interfaceField<T>- See Also:
DSL.nvl(Field, Object)
-
nvl
@Deprecated public final Field<T> nvl(Field<T> defaultValue)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
nvlin interfaceField<T>- See Also:
DSL.nvl(Field, Field)
-
nvl2
@Deprecated public final <Z> Field<Z> nvl2(Z valueIfNotNull, Z valueIfNull)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
nvl2in interfaceField<T>- See Also:
DSL.nvl2(Field, Object, Object)
-
nvl2
@Deprecated public final <Z> Field<Z> nvl2(Field<Z> valueIfNotNull, Field<Z> valueIfNull)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
nvl2in interfaceField<T>- See Also:
DSL.nvl2(Field, Field, Field)
-
nullif
@Deprecated public final Field<T> nullif(T other)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
nullifin interfaceField<T>- See Also:
DSL.nullif(Field, Object)
-
nullif
@Deprecated public final Field<T> nullif(Field<T> other)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
nullifin interfaceField<T>- See Also:
DSL.nullif(Field, Field)
-
decode
@Deprecated public final <Z> Field<Z> decode(T search, Z result)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
decodein interfaceField<T>- See Also:
DSL.decode(Object, Object, Object)
-
decode
@Deprecated public final <Z> Field<Z> decode(T search, Z result, Object... more)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
decodein interfaceField<T>- See Also:
DSL.decode(Object, Object, Object, Object...)
-
decode
@Deprecated public final <Z> Field<Z> decode(Field<T> search, Field<Z> result)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
decodein interfaceField<T>- See Also:
DSL.decode(Field, Field, Field)
-
decode
@Deprecated public final <Z> Field<Z> decode(Field<T> search, Field<Z> result, Field<?>... more)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
decodein interfaceField<T>- See Also:
DSL.decode(Field, Field, Field, Field...)
-
coalesce
@Deprecated @SafeVarargs public final Field<T> coalesce(T option, T... options)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
coalescein interfaceField<T>- See Also:
DSL.coalesce(Object, Object...)
-
coalesce
@Deprecated public final Field<T> coalesce(Field<T> option, Field<?>... options)
Deprecated.Description copied from interface:FieldThis 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- Specified by:
coalescein interfaceField<T>- See Also:
DSL.coalesce(Field, Field...)
-
getName
public final String getName()
Description copied from interface:NamedThe unqualified name of this object.
-
getQualifiedName
public Name getQualifiedName()
Description copied from interface:NamedThe qualified name of this object.- Specified by:
getQualifiedNamein interfaceNamed
-
getUnqualifiedName
public final Name getUnqualifiedName()
Description copied from interface:NamedThe unqualified name of this object.- Specified by:
getUnqualifiedNamein interfaceNamed
-
getComment
public final String getComment()
Description copied from interface:NamedThe comment on this object.- Specified by:
getCommentin interfaceNamed
-
hashCode
public int hashCode()
Description copied from interface:QueryPartGenerate a hash code from thisQueryPart.In general,
QueryParthash codes are the same as the hash codes generated fromQueryPart.toString(). This guarantees consistent behaviour withQueryPart.equals(Object)Some
QueryPartimplementations may choose to override this behaviour for improved performance, asQueryPart.toString()is an expensive operation, if called many times.
-
equals
public boolean equals(Object that)
Description copied from interface:QueryPartCheck 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.
-
toSQL
@Deprecated public final void toSQL(RenderContext context)
Deprecated.- 3.4.0 - [#2694] - UseQueryPartInternal.accept(Context)instead.Description copied from interface:QueryPartInternalRender thisQueryPartto a SQL string contained incontext.sql(). Thecontextwill contain additional information about how to render thisQueryPart, e.g. whether thisQueryPartshould be rendered as a declaration or reference, whether thisQueryPart's contained bind variables should be inlined or replaced by'?', etc.- Specified by:
toSQLin interfaceQueryPartInternal
-
bind
@Deprecated public final void bind(BindContext context) throws DataAccessException
Deprecated.- 3.4.0 - [#2694] - UseQueryPartInternal.accept(Context)instead.Description copied from interface:QueryPartInternalBind all parameters of thisQueryPartto a PreparedStatementThis method is for JOOQ INTERNAL USE only. Do not reference directly
- Specified by:
bindin interfaceQueryPartInternal- Parameters:
context- The context holding the next bind index and other information for variable binding- Throws:
DataAccessException- If something went wrong while binding a variable
-
declaresWindows
public boolean declaresWindows()
Subclasses may override this- Specified by:
declaresWindowsin interfaceQueryPartInternal
-
declaresCTE
public boolean declaresCTE()
Subclasses may override this- Specified by:
declaresCTEin interfaceQueryPartInternal
-
generatesCast
public boolean generatesCast()
Subclasses may override this- Specified by:
generatesCastin interfaceQueryPartInternal
-
toString
public String toString()
Description copied from interface:QueryPartRender a SQL string representation of thisQueryPart.For improved debugging, this renders a SQL string of this
QueryPartwith inlined bind variables. If thisQueryPartisAttachable, then the attachedConfigurationmay be used for rendering the SQL string, includingSQLDialectandSettings. Do note that mostQueryPartinstances are not attached to aConfiguration, and thus there is no guarantee that the SQL string will make sense in the context of a specific database.
-
create
@Deprecated protected final DSLContext create()
Deprecated.- 3.11.0 - [#6722] - UseAttachable.configuration()andConfiguration.dsl()instead.Internal convenience method
-
create
@Deprecated protected final DSLContext create(Configuration configuration)
Deprecated.- 3.11.0 - [#6722] - UseAttachable.configuration()andConfiguration.dsl()instead.Internal convenience method
-
create
@Deprecated protected final DSLContext create(Context<?> ctx)
Deprecated.- 3.11.0 - [#6722] - UseAttachable.configuration()andConfiguration.dsl()instead.Internal convenience method
-
translate
protected final DataAccessException translate(String sql, SQLException e)
Internal convenience method
-
-