-
- All Superinterfaces:
FieldOrRow
,QueryPart
,Row
,Serializable
public interface RowN extends Row
A row value expression.Row value expressions are mainly useful for use in predicates, when comparing several values in one go, which can be more elegant than expanding the row value expression predicate in other equivalent syntaxes. This is especially true for non-equality predicates. For instance, the following two predicates are equivalent in SQL:
(A, B) > (X, Y) (A > X) OR (A = X AND B > Y)
Example:
// Assuming import static org.jooq.impl.DSL.*; using(configuration) .select() .from(CUSTOMER) .where(row(CUSTOMER.FIRST_NAME, CUSTOMER.LAST_NAME).in( select(ACTOR.FIRST_NAME, ACTOR.LAST_NAME).from(ACTOR) )) .fetch();
Note: Not all databases support row value expressions, but many row value expression operations can be emulated on all databases. See relevant row value expression method Javadocs for details.
Instances can be created using
DSL.row(Object...)
and overloads.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull BetweenAndStepN
between(Object... minValues)
Check if this row value expression is within a range of two other row value expressions.@NotNull BetweenAndStepN
between(Field<?>... minValues)
Check if this row value expression is within a range of two other row value expressions.@NotNull BetweenAndStepN
between(Record minValue)
Check if this row value expression is within a range of two records.@NotNull Condition
between(Record minValue, Record maxValue)
Check if this row value expression is within a range of two records.@NotNull BetweenAndStepN
between(RowN minValue)
Check if this row value expression is within a range of two other row value expressions.@NotNull Condition
between(RowN minValue, RowN maxValue)
Check if this row value expression is within a range of two other row value expressions.@NotNull BetweenAndStepN
betweenSymmetric(Object... minValues)
Check if this row value expression is within a symmetric range of two other row value expressions.@NotNull BetweenAndStepN
betweenSymmetric(Field<?>... minValues)
Check if this row value expression is within a symmetric range of two other row value expressions.@NotNull BetweenAndStepN
betweenSymmetric(Record minValue)
Check if this row value expression is within a symmetric range of two records.@NotNull Condition
betweenSymmetric(Record minValue, Record maxValue)
Check if this row value expression is within a symmetric range of two records.@NotNull BetweenAndStepN
betweenSymmetric(RowN minValue)
Check if this row value expression is within a symmetric range of two other row value expressions.@NotNull Condition
betweenSymmetric(RowN minValue, RowN maxValue)
Check if this row value expression is within a symmetric range of two other row value expressions.@NotNull Condition
compare(Comparator comparator, Object... values)
Compare this row value expression with another row value expression using a dynamic comparator.@NotNull Condition
compare(Comparator comparator, Field<?>... values)
Compare this row value expression with another row value expression using a dynamic comparator.@NotNull Condition
compare(Comparator comparator, QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect using a dynamic comparator.@NotNull Condition
compare(Comparator comparator, Record record)
Compare this row value expression with a record using a dynamic comparator.@NotNull Condition
compare(Comparator comparator, RowN row)
Compare this row value expression with another row value expression using a dynamic comparator.@NotNull Condition
compare(Comparator comparator, Select<? extends Record> select)
Compare this row value expression with a subselect using a dynamic comparator.@NotNull Condition
eq(Object... values)
Compare this row value expression with another row value expression for equality.@NotNull Condition
eq(Field<?>... values)
Compare this row value expression with another row value expression for equality.@NotNull Condition
eq(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for equality.@NotNull Condition
eq(Record record)
Compare this row value expression with a record for equality.@NotNull Condition
eq(RowN row)
Compare this row value expression with another row value expression for equality.@NotNull Condition
eq(Select<? extends Record> select)
Compare this row value expression with a subselect for equality.@NotNull Condition
equal(Object... values)
Compare this row value expression with another row value expression for equality.@NotNull Condition
equal(Field<?>... values)
Compare this row value expression with another row value expression for equality.@NotNull Condition
equal(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for equality.@NotNull Condition
equal(Record record)
Compare this row value expression with a record for equality.@NotNull Condition
equal(RowN row)
Compare this row value expression with another row value expression for equality.@NotNull Condition
equal(Select<? extends Record> select)
Compare this row value expression with a subselect for equality.@NotNull Condition
ge(Object... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
ge(Field<?>... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
ge(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
ge(Record record)
Compare this row value expression with a record for order.@NotNull Condition
ge(RowN row)
Compare this row value expression with another row value expression for order.@NotNull Condition
ge(Select<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
greaterOrEqual(Object... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
greaterOrEqual(Field<?>... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
greaterOrEqual(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
greaterOrEqual(Record record)
Compare this row value expression with a record for order.@NotNull Condition
greaterOrEqual(RowN row)
Compare this row value expression with another row value expression for order.@NotNull Condition
greaterOrEqual(Select<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
greaterThan(Object... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
greaterThan(Field<?>... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
greaterThan(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
greaterThan(Record record)
Compare this row value expression with a record for order.@NotNull Condition
greaterThan(RowN row)
Compare this row value expression with another row value expression for order.@NotNull Condition
greaterThan(Select<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
gt(Object... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
gt(Field<?>... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
gt(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
gt(Record record)
Compare this row value expression with a record for order.@NotNull Condition
gt(RowN row)
Compare this row value expression with another row value expression for order.@NotNull Condition
gt(Select<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
in(Collection<? extends RowN> rows)
Compare this row value expression with a set of row value expressions for equality.@NotNull Condition
in(Record... record)
Compare this row value expression with a set of records for equality.@NotNull Condition
in(Result<? extends Record> result)
Compare this row value expression with a set of records for equality.@NotNull Condition
in(RowN... rows)
Compare this row value expression with a set of row value expressions for equality.@NotNull Condition
in(Select<? extends Record> select)
Compare this row value expression with a subselect for equality.@NotNull Condition
isDistinctFrom(Object... values)
Compare this row value expression with another row value expression for distinctness.@NotNull Condition
isDistinctFrom(Field<?>... values)
Compare this row value expression with another row value expression for distinctness.@NotNull Condition
isDistinctFrom(Record record)
Compare this row value expression with another row value expression for distinctness.@NotNull Condition
isDistinctFrom(RowN row)
Compare this row value expression with another row value expression for distinctness.@NotNull Condition
isDistinctFrom(Select<? extends Record> select)
Compare this row value expression with another row value expression for distinctness.@NotNull Condition
isNotDistinctFrom(Object... values)
Compare this row value expression with another row value expression for distinctness.@NotNull Condition
isNotDistinctFrom(Field<?>... values)
Compare this row value expression with another row value expression for distinctness.@NotNull Condition
isNotDistinctFrom(Record record)
Compare this row value expression with another row value expression for distinctness.@NotNull Condition
isNotDistinctFrom(RowN row)
Compare this row value expression with another row value expression for distinctness.@NotNull Condition
isNotDistinctFrom(Select<? extends Record> select)
Compare this row value expression with another row value expression for distinctness.@NotNull Condition
le(Object... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
le(Field<?>... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
le(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
le(Record record)
Compare this row value expression with a record for order.@NotNull Condition
le(RowN row)
Compare this row value expression with another row value expression for order.@NotNull Condition
le(Select<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
lessOrEqual(Object... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
lessOrEqual(Field<?>... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
lessOrEqual(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
lessOrEqual(Record record)
Compare this row value expression with a record for order.@NotNull Condition
lessOrEqual(RowN row)
Compare this row value expression with another row value expression for order.@NotNull Condition
lessOrEqual(Select<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
lessThan(Object... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
lessThan(Field<?>... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
lessThan(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
lessThan(Record record)
Compare this row value expression with a record for order.@NotNull Condition
lessThan(RowN row)
Compare this row value expression with another row value expression for order.@NotNull Condition
lessThan(Select<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
lt(Object... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
lt(Field<?>... values)
Compare this row value expression with another row value expression for order.@NotNull Condition
lt(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
lt(Record record)
Compare this row value expression with a record for order.@NotNull Condition
lt(RowN row)
Compare this row value expression with another row value expression for order.@NotNull Condition
lt(Select<? extends Record> select)
Compare this row value expression with a subselect for order.@NotNull Condition
ne(Object... values)
Compare this row value expression with another row value expression for non-equality.@NotNull Condition
ne(Field<?>... values)
Compare this row value expression with another row value expression for non-equality.@NotNull Condition
ne(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for non-equality.@NotNull Condition
ne(Record record)
Compare this row value expression with a record for non-equality.@NotNull Condition
ne(RowN row)
Compare this row value expression with another row value expression for non-equality.@NotNull Condition
ne(Select<? extends Record> select)
Compare this row value expression with a subselect for non-equality.@NotNull BetweenAndStepN
notBetween(Object... minValues)
Check if this row value expression is not within a range of two other row value expressions.@NotNull BetweenAndStepN
notBetween(Field<?>... minValues)
Check if this row value expression is not within a range of two other row value expressions.@NotNull BetweenAndStepN
notBetween(Record minValue)
Check if this row value expression is within a range of two records.@NotNull Condition
notBetween(Record minValue, Record maxValue)
Check if this row value expression is within a range of two records.@NotNull BetweenAndStepN
notBetween(RowN minValue)
Check if this row value expression is not within a range of two other row value expressions.@NotNull Condition
notBetween(RowN minValue, RowN maxValue)
Check if this row value expression is not within a range of two other row value expressions.@NotNull BetweenAndStepN
notBetweenSymmetric(Object... minValues)
Check if this row value expression is not within a symmetric range of two other row value expressions.@NotNull BetweenAndStepN
notBetweenSymmetric(Field<?>... minValues)
Check if this row value expression is not within a symmetric range of two other row value expressions.@NotNull BetweenAndStepN
notBetweenSymmetric(Record minValue)
Check if this row value expression is not within a symmetric range of two records.@NotNull Condition
notBetweenSymmetric(Record minValue, Record maxValue)
Check if this row value expression is not within a symmetric range of two records.@NotNull BetweenAndStepN
notBetweenSymmetric(RowN minValue)
Check if this row value expression is not within a symmetric range of two other row value expressions.@NotNull Condition
notBetweenSymmetric(RowN minValue, RowN maxValue)
Check if this row value expression is not within a symmetric range of two other row value expressions.@NotNull Condition
notEqual(Object... values)
Compare this row value expression with another row value expression for.@NotNull Condition
notEqual(Field<?>... values)
Compare this row value expression with another row value expression for non-equality.@NotNull Condition
notEqual(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for non-equality.@NotNull Condition
notEqual(Record record)
Compare this row value expression with a record for non-equality@NotNull Condition
notEqual(RowN row)
Compare this row value expression with another row value expression for non-equality.@NotNull Condition
notEqual(Select<? extends Record> select)
Compare this row value expression with a subselect for non-equality.@NotNull Condition
notIn(Collection<? extends RowN> rows)
Compare this row value expression with a set of row value expressions for equality.@NotNull Condition
notIn(Record... record)
Compare this row value expression with a set of records for non-equality.@NotNull Condition
notIn(Result<? extends Record> result)
Compare this row value expression with a set of records for equality.@NotNull Condition
notIn(RowN... rows)
Compare this row value expression with a set of row value expressions for equality.@NotNull Condition
notIn(Select<? extends Record> select)
Compare this row value expression with a subselect for non-equality.
-
-
-
Method Detail
-
compare
@NotNull @Support @NotNull Condition compare(Comparator comparator, RowN row)
Compare this row value expression with another row value expression using a dynamic comparator.See the explicit comparison methods for details. Note, not all
Comparator
types are supported
-
compare
@NotNull @Support @NotNull Condition compare(Comparator comparator, Record record)
Compare this row value expression with a record using a dynamic comparator.See the explicit comparison methods for details. Note, not all
Comparator
types are supported
-
compare
@NotNull @Support @NotNull Condition compare(Comparator comparator, Object... values)
Compare this row value expression with another row value expression using a dynamic comparator.See the explicit comparison methods for details. Note, not all
Comparator
types are supported
-
compare
@NotNull @Support @NotNull Condition compare(Comparator comparator, Field<?>... values)
Compare this row value expression with another row value expression using a dynamic comparator.See the explicit comparison methods for details. Note, not all
Comparator
types are supported
-
compare
@NotNull @Support @NotNull Condition compare(Comparator comparator, Select<? extends Record> select)
Compare this row value expression with a subselect using a dynamic comparator.See the explicit comparison methods for details. Note, not all
Comparator
types are supported
-
compare
@NotNull @Support @NotNull Condition compare(Comparator comparator, QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect using a dynamic comparator.See the explicit comparison methods for details. Note, not all
Comparator
types are supported
-
equal
@NotNull @Support @NotNull Condition equal(RowN row)
Compare this row value expression with another row value expression for equality.Row equality comparison predicates can be emulated in those databases that do not support such predicates natively:
(A, B) = (1, 2)
is equivalent toA = 1 AND B = 2
-
equal
@NotNull @Support @NotNull Condition equal(Record record)
Compare this row value expression with a record for equality.- See Also:
equal(RowN)
-
equal
@NotNull @Support @NotNull Condition equal(Object... values)
Compare this row value expression with another row value expression for equality.- See Also:
equal(RowN)
-
equal
@NotNull @Support @NotNull Condition equal(Field<?>... values)
Compare this row value expression with another row value expression for equality.- See Also:
equal(RowN)
-
equal
@NotNull @Support @NotNull Condition equal(Select<? extends Record> select)
Compare this row value expression with a subselect for equality.- See Also:
equal(RowN)
-
equal
@NotNull @Support @NotNull Condition equal(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for equality.
-
eq
@NotNull @Support @NotNull Condition eq(RowN row)
Compare this row value expression with another row value expression for equality.- See Also:
equal(RowN)
-
eq
@NotNull @Support @NotNull Condition eq(Record record)
Compare this row value expression with a record for equality.- See Also:
equal(RowN)
-
eq
@NotNull @Support @NotNull Condition eq(Object... values)
Compare this row value expression with another row value expression for equality.- See Also:
equal(RowN)
-
eq
@NotNull @Support @NotNull Condition eq(Field<?>... values)
Compare this row value expression with another row value expression for equality.- See Also:
equal(RowN)
-
eq
@NotNull @Support @NotNull Condition eq(Select<? extends Record> select)
Compare this row value expression with a subselect for equality.- See Also:
equal(RowN)
-
eq
@NotNull @Support @NotNull Condition eq(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for equality.
-
notEqual
@NotNull @Support @NotNull Condition notEqual(RowN row)
Compare this row value expression with another row value expression for non-equality.Row non-equality comparison predicates can be emulated in those databases that do not support such predicates natively:
(A, B) <> (1, 2)
is equivalent toNOT(A = 1 AND B = 2)
-
notEqual
@NotNull @Support @NotNull Condition notEqual(Record record)
Compare this row value expression with a record for non-equality- See Also:
notEqual(RowN)
-
notEqual
@NotNull @Support @NotNull Condition notEqual(Object... values)
Compare this row value expression with another row value expression for. non-equality- See Also:
notEqual(RowN)
-
notEqual
@NotNull @Support @NotNull Condition notEqual(Field<?>... values)
Compare this row value expression with another row value expression for non-equality.- See Also:
notEqual(RowN)
-
notEqual
@NotNull @Support @NotNull Condition notEqual(Select<? extends Record> select)
Compare this row value expression with a subselect for non-equality.- See Also:
notEqual(RowN)
-
notEqual
@NotNull @Support @NotNull Condition notEqual(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for non-equality.
-
ne
@NotNull @Support @NotNull Condition ne(RowN row)
Compare this row value expression with another row value expression for non-equality.- See Also:
notEqual(RowN)
-
ne
@NotNull @Support @NotNull Condition ne(Record record)
Compare this row value expression with a record for non-equality.- See Also:
notEqual(RowN)
-
ne
@NotNull @Support @NotNull Condition ne(Object... values)
Compare this row value expression with another row value expression for non-equality.- See Also:
notEqual(RowN)
-
ne
@NotNull @Support @NotNull Condition ne(Field<?>... values)
Compare this row value expression with another row value expression for non-equality.- See Also:
notEqual(RowN)
-
ne
@NotNull @Support @NotNull Condition ne(Select<? extends Record> select)
Compare this row value expression with a subselect for non-equality.- See Also:
notEqual(RowN)
-
ne
@NotNull @Support @NotNull Condition ne(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for non-equality.
-
isDistinctFrom
@NotNull @Support @NotNull Condition isDistinctFrom(RowN row)
Compare this row value expression with another row value expression for distinctness.
-
isDistinctFrom
@NotNull @Support @NotNull Condition isDistinctFrom(Record record)
Compare this row value expression with another row value expression for distinctness.
-
isDistinctFrom
@NotNull @Support @NotNull Condition isDistinctFrom(Object... values)
Compare this row value expression with another row value expression for distinctness.
-
isDistinctFrom
@NotNull @Support @NotNull Condition isDistinctFrom(Field<?>... values)
Compare this row value expression with another row value expression for distinctness.
-
isDistinctFrom
@NotNull @Support @NotNull Condition isDistinctFrom(Select<? extends Record> select)
Compare this row value expression with another row value expression for distinctness.
-
isNotDistinctFrom
@NotNull @Support @NotNull Condition isNotDistinctFrom(RowN row)
Compare this row value expression with another row value expression for distinctness.
-
isNotDistinctFrom
@NotNull @Support @NotNull Condition isNotDistinctFrom(Record record)
Compare this row value expression with another row value expression for distinctness.
-
isNotDistinctFrom
@NotNull @Support @NotNull Condition isNotDistinctFrom(Object... values)
Compare this row value expression with another row value expression for distinctness.
-
isNotDistinctFrom
@NotNull @Support @NotNull Condition isNotDistinctFrom(Field<?>... values)
Compare this row value expression with another row value expression for distinctness.
-
isNotDistinctFrom
@NotNull @Support @NotNull Condition isNotDistinctFrom(Select<? extends Record> select)
Compare this row value expression with another row value expression for distinctness.
-
lessThan
@NotNull @Support @NotNull Condition lessThan(RowN row)
Compare this row value expression with another row value expression for order.Row order comparison predicates can be emulated in those databases that do not support such predicates natively:
(A, B, C) < (1, 2, 3)
is equivalent toA < 1 OR (A = 1 AND B < 2) OR (A = 1 AND B = 2 AND C < 3)
-
lessThan
@NotNull @Support @NotNull Condition lessThan(Record record)
Compare this row value expression with a record for order.- See Also:
lessThan(RowN)
-
lessThan
@NotNull @Support @NotNull Condition lessThan(Object... values)
Compare this row value expression with another row value expression for order.- See Also:
lessThan(RowN)
-
lessThan
@NotNull @Support @NotNull Condition lessThan(Field<?>... values)
Compare this row value expression with another row value expression for order.- See Also:
lessThan(RowN)
-
lessThan
@NotNull @Support @NotNull Condition lessThan(Select<? extends Record> select)
Compare this row value expression with a subselect for order.- See Also:
lessThan(RowN)
-
lessThan
@NotNull @Support @NotNull Condition lessThan(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.
-
lt
@NotNull @Support @NotNull Condition lt(RowN row)
Compare this row value expression with another row value expression for order.- See Also:
lessThan(RowN)
-
lt
@NotNull @Support @NotNull Condition lt(Record record)
Compare this row value expression with a record for order.- See Also:
lessThan(RowN)
-
lt
@NotNull @Support @NotNull Condition lt(Object... values)
Compare this row value expression with another row value expression for order.- See Also:
lessThan(RowN)
-
lt
@NotNull @Support @NotNull Condition lt(Field<?>... values)
Compare this row value expression with another row value expression for order.- See Also:
lessThan(RowN)
-
lt
@NotNull @Support @NotNull Condition lt(Select<? extends Record> select)
Compare this row value expression with a subselect for order.- See Also:
lessThan(RowN)
-
lt
@NotNull @Support @NotNull Condition lt(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.
-
lessOrEqual
@NotNull @Support @NotNull Condition lessOrEqual(RowN row)
Compare this row value expression with another row value expression for order.Row order comparison predicates can be emulated in those databases that do not support such predicates natively:
(A, B) <= (1, 2)
is equivalent toA < 1 OR (A = 1 AND B < 2) OR (A = 1 AND B = 2)
-
lessOrEqual
@NotNull @Support @NotNull Condition lessOrEqual(Record record)
Compare this row value expression with a record for order.- See Also:
lessOrEqual(RowN)
-
lessOrEqual
@NotNull @Support @NotNull Condition lessOrEqual(Object... values)
Compare this row value expression with another row value expression for order.- See Also:
lessOrEqual(RowN)
-
lessOrEqual
@NotNull @Support @NotNull Condition lessOrEqual(Field<?>... values)
Compare this row value expression with another row value expression for order.- See Also:
lessOrEqual(RowN)
-
lessOrEqual
@NotNull @Support @NotNull Condition lessOrEqual(Select<? extends Record> select)
Compare this row value expression with a subselect for order.- See Also:
lessOrEqual(RowN)
-
lessOrEqual
@NotNull @Support @NotNull Condition lessOrEqual(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.
-
le
@NotNull @Support @NotNull Condition le(RowN row)
Compare this row value expression with another row value expression for order.- See Also:
lessOrEqual(RowN)
-
le
@NotNull @Support @NotNull Condition le(Record record)
Compare this row value expression with a record for order.- See Also:
lessOrEqual(RowN)
-
le
@NotNull @Support @NotNull Condition le(Object... values)
Compare this row value expression with another row value expression for order.- See Also:
lessOrEqual(RowN)
-
le
@NotNull @Support @NotNull Condition le(Field<?>... values)
Compare this row value expression with another row value expression for order.- See Also:
lessOrEqual(RowN)
-
le
@NotNull @Support @NotNull Condition le(Select<? extends Record> select)
Compare this row value expression with a subselect for order.- See Also:
lessOrEqual(RowN)
-
le
@NotNull @Support @NotNull Condition le(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.
-
greaterThan
@NotNull @Support @NotNull Condition greaterThan(RowN row)
Compare this row value expression with another row value expression for order.Row order comparison predicates can be emulated in those databases that do not support such predicates natively:
(A, B, C) > (1, 2, 3)
is equivalent toA > 1 OR (A = 1 AND B > 2) OR (A = 1 AND B = 2 AND C > 3)
-
greaterThan
@NotNull @Support @NotNull Condition greaterThan(Record record)
Compare this row value expression with a record for order.- See Also:
greaterThan(RowN)
-
greaterThan
@NotNull @Support @NotNull Condition greaterThan(Object... values)
Compare this row value expression with another row value expression for order.- See Also:
greaterThan(RowN)
-
greaterThan
@NotNull @Support @NotNull Condition greaterThan(Field<?>... values)
Compare this row value expression with another row value expression for order.- See Also:
greaterThan(RowN)
-
greaterThan
@NotNull @Support @NotNull Condition greaterThan(Select<? extends Record> select)
Compare this row value expression with a subselect for order.- See Also:
greaterThan(RowN)
-
greaterThan
@NotNull @Support @NotNull Condition greaterThan(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.
-
gt
@NotNull @Support @NotNull Condition gt(RowN row)
Compare this row value expression with another row value expression for order.- See Also:
greaterThan(RowN)
-
gt
@NotNull @Support @NotNull Condition gt(Record record)
Compare this row value expression with a record for order.- See Also:
greaterThan(RowN)
-
gt
@NotNull @Support @NotNull Condition gt(Object... values)
Compare this row value expression with another row value expression for order.- See Also:
greaterThan(RowN)
-
gt
@NotNull @Support @NotNull Condition gt(Field<?>... values)
Compare this row value expression with another row value expression for order.- See Also:
greaterThan(RowN)
-
gt
@NotNull @Support @NotNull Condition gt(Select<? extends Record> select)
Compare this row value expression with a subselect for order.- See Also:
greaterThan(RowN)
-
gt
@NotNull @Support @NotNull Condition gt(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.
-
greaterOrEqual
@NotNull @Support @NotNull Condition greaterOrEqual(RowN row)
Compare this row value expression with another row value expression for order.Row order comparison predicates can be emulated in those databases that do not support such predicates natively:
(A, B) >= (1, 2)
is equivalent toA > 1 OR (A = 1 AND B > 2) OR (A = 1 AND B = 2)
-
greaterOrEqual
@NotNull @Support @NotNull Condition greaterOrEqual(Record record)
Compare this row value expression with a record for order.- See Also:
greaterOrEqual(RowN)
-
greaterOrEqual
@NotNull @Support @NotNull Condition greaterOrEqual(Object... values)
Compare this row value expression with another row value expression for order.- See Also:
greaterOrEqual(RowN)
-
greaterOrEqual
@NotNull @Support @NotNull Condition greaterOrEqual(Field<?>... values)
Compare this row value expression with another row value expression for order.- See Also:
greaterOrEqual(RowN)
-
greaterOrEqual
@NotNull @Support @NotNull Condition greaterOrEqual(Select<? extends Record> select)
Compare this row value expression with a subselect for order.- See Also:
greaterOrEqual(RowN)
-
greaterOrEqual
@NotNull @Support @NotNull Condition greaterOrEqual(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.
-
ge
@NotNull @Support @NotNull Condition ge(RowN row)
Compare this row value expression with another row value expression for order.- See Also:
greaterOrEqual(RowN)
-
ge
@NotNull @Support @NotNull Condition ge(Record record)
Compare this row value expression with a record for order.- See Also:
greaterOrEqual(RowN)
-
ge
@NotNull @Support @NotNull Condition ge(Object... values)
Compare this row value expression with another row value expression for order.- See Also:
greaterOrEqual(RowN)
-
ge
@NotNull @Support @NotNull Condition ge(Field<?>... values)
Compare this row value expression with another row value expression for order.- See Also:
greaterOrEqual(RowN)
-
ge
@NotNull @Support @NotNull Condition ge(Select<? extends Record> select)
Compare this row value expression with a subselect for order.- See Also:
greaterOrEqual(RowN)
-
ge
@NotNull @Support @NotNull Condition ge(QuantifiedSelect<? extends Record> select)
Compare this row value expression with a subselect for order.
-
between
@NotNull @Support @NotNull BetweenAndStepN between(Object... minValues)
Check if this row value expression is within a range of two other row value expressions.- See Also:
between(RowN, RowN)
-
between
@NotNull @Support @NotNull BetweenAndStepN between(Field<?>... minValues)
Check if this row value expression is within a range of two other row value expressions.- See Also:
between(RowN, RowN)
-
between
@NotNull @Support @NotNull BetweenAndStepN between(RowN minValue)
Check if this row value expression is within a range of two other row value expressions.- See Also:
between(RowN, RowN)
-
between
@NotNull @Support @NotNull BetweenAndStepN between(Record minValue)
Check if this row value expression is within a range of two records.- See Also:
between(RowN, RowN)
-
between
@NotNull @Support @NotNull Condition between(RowN minValue, RowN maxValue)
Check if this row value expression is within a range of two other row value expressions.This is the same as calling
between(minValue).and(maxValue)
The expression
A BETWEEN B AND C
is equivalent to the expressionA >= B AND A <= C
for those SQL dialects that do not properly support theBETWEEN
predicate for row value expressions
-
between
@NotNull @Support @NotNull Condition between(Record minValue, Record maxValue)
Check if this row value expression is within a range of two records.This is the same as calling
between(minValue).and(maxValue)
- See Also:
between(RowN, RowN)
-
betweenSymmetric
@NotNull @Support @NotNull BetweenAndStepN betweenSymmetric(Object... minValues)
Check if this row value expression is within a symmetric range of two other row value expressions.- See Also:
betweenSymmetric(RowN, RowN)
-
betweenSymmetric
@NotNull @Support @NotNull BetweenAndStepN betweenSymmetric(Field<?>... minValues)
Check if this row value expression is within a symmetric range of two other row value expressions.- See Also:
betweenSymmetric(RowN, RowN)
-
betweenSymmetric
@NotNull @Support @NotNull BetweenAndStepN betweenSymmetric(RowN minValue)
Check if this row value expression is within a symmetric range of two other row value expressions.- See Also:
betweenSymmetric(RowN, RowN)
-
betweenSymmetric
@NotNull @Support @NotNull BetweenAndStepN betweenSymmetric(Record minValue)
Check if this row value expression is within a symmetric range of two records.- See Also:
betweenSymmetric(RowN, RowN)
-
betweenSymmetric
@NotNull @Support @NotNull Condition betweenSymmetric(RowN minValue, RowN maxValue)
Check if this row value expression is within a symmetric range of two other row value expressions.This is the same as calling
betweenSymmetric(minValue).and(maxValue)
The expression
A BETWEEN SYMMETRIC B AND C
is equivalent to the expression(A >= B AND A <= C) OR (A >= C AND A <= B)
for those SQL dialects that do not properly support theBETWEEN
predicate for row value expressions
-
betweenSymmetric
@NotNull @Support @NotNull Condition betweenSymmetric(Record minValue, Record maxValue)
Check if this row value expression is within a symmetric range of two records.This is the same as calling
betweenSymmetric(minValue).and(maxValue)
- See Also:
betweenSymmetric(RowN, RowN)
-
notBetween
@NotNull @Support @NotNull BetweenAndStepN notBetween(Object... minValues)
Check if this row value expression is not within a range of two other row value expressions.- See Also:
between(RowN, RowN)
-
notBetween
@NotNull @Support @NotNull BetweenAndStepN notBetween(Field<?>... minValues)
Check if this row value expression is not within a range of two other row value expressions.- See Also:
notBetween(RowN, RowN)
-
notBetween
@NotNull @Support @NotNull BetweenAndStepN notBetween(RowN minValue)
Check if this row value expression is not within a range of two other row value expressions.- See Also:
notBetween(RowN, RowN)
-
notBetween
@NotNull @Support @NotNull BetweenAndStepN notBetween(Record minValue)
Check if this row value expression is within a range of two records.- See Also:
notBetween(RowN, RowN)
-
notBetween
@NotNull @Support @NotNull Condition notBetween(RowN minValue, RowN maxValue)
Check if this row value expression is not within a range of two other row value expressions.This is the same as calling
notBetween(minValue).and(maxValue)
The expression
A NOT BETWEEN B AND C
is equivalent to the expressionA < B OR A > C
for those SQL dialects that do not properly support theBETWEEN
predicate for row value expressions
-
notBetween
@NotNull @Support @NotNull Condition notBetween(Record minValue, Record maxValue)
Check if this row value expression is within a range of two records.This is the same as calling
notBetween(minValue).and(maxValue)
- See Also:
notBetween(RowN, RowN)
-
notBetweenSymmetric
@NotNull @Support @NotNull BetweenAndStepN notBetweenSymmetric(Object... minValues)
Check if this row value expression is not within a symmetric range of two other row value expressions.- See Also:
notBetweenSymmetric(RowN, RowN)
-
notBetweenSymmetric
@NotNull @Support @NotNull BetweenAndStepN notBetweenSymmetric(Field<?>... minValues)
Check if this row value expression is not within a symmetric range of two other row value expressions.- See Also:
notBetweenSymmetric(RowN, RowN)
-
notBetweenSymmetric
@NotNull @Support @NotNull BetweenAndStepN notBetweenSymmetric(RowN minValue)
Check if this row value expression is not within a symmetric range of two other row value expressions.- See Also:
notBetweenSymmetric(RowN, RowN)
-
notBetweenSymmetric
@NotNull @Support @NotNull BetweenAndStepN notBetweenSymmetric(Record minValue)
Check if this row value expression is not within a symmetric range of two records.- See Also:
notBetweenSymmetric(RowN, RowN)
-
notBetweenSymmetric
@NotNull @Support @NotNull Condition notBetweenSymmetric(RowN minValue, RowN maxValue)
Check if this row value expression is not within a symmetric range of two other row value expressions.This is the same as calling
notBetweenSymmetric(minValue).and(maxValue)
The expression
A NOT BETWEEN SYMMETRIC B AND C
is equivalent to the expression(A < B OR A > C) AND (A < C OR A > B)
for those SQL dialects that do not properly support theBETWEEN
predicate for row value expressions
-
notBetweenSymmetric
@NotNull @Support @NotNull Condition notBetweenSymmetric(Record minValue, Record maxValue)
Check if this row value expression is not within a symmetric range of two records.This is the same as calling
notBetweenSymmetric(minValue).and(maxValue)
- See Also:
notBetweenSymmetric(RowN, RowN)
-
in
@NotNull @Support @NotNull Condition in(Collection<? extends RowN> rows)
Compare this row value expression with a set of row value expressions for equality.Row IN predicates can be emulated in those databases that do not support such predicates natively:
(A, B) IN ((1, 2), (3, 4))
is equivalent to((A, B) = (1, 2)) OR ((A, B) = (3, 4))
, which is equivalent to(A = 1 AND B = 2) OR (A = 3 AND B = 4)
Note that generating dynamic SQL with arbitrary-length
IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:IN
predicates on temporary tablesIN
predicates on unnested array bind variables
-
in
@NotNull @Support @NotNull Condition in(Result<? extends Record> result)
Compare this row value expression with a set of records for equality.Row IN predicates can be emulated in those databases that do not support such predicates natively:
(A, B) IN ((1, 2), (3, 4))
is equivalent to((A, B) = (1, 2)) OR ((A, B) = (3, 4))
, which is equivalent to(A = 1 AND B = 2) OR (A = 3 AND B = 4)
Note that generating dynamic SQL with arbitrary-length
IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:IN
predicates on temporary tablesIN
predicates on unnested array bind variables
-
in
@NotNull @Support @NotNull Condition in(RowN... rows)
Compare this row value expression with a set of row value expressions for equality.Note that generating dynamic SQL with arbitrary-length
IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:IN
predicates on temporary tablesIN
predicates on unnested array bind variables
- See Also:
in(Collection)
-
in
@NotNull @Support @NotNull Condition in(Record... record)
Compare this row value expression with a set of records for equality.Note that generating dynamic SQL with arbitrary-length
IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:IN
predicates on temporary tablesIN
predicates on unnested array bind variables
- See Also:
in(Collection)
-
in
@NotNull @Support @NotNull Condition in(Select<? extends Record> select)
Compare this row value expression with a subselect for equality.- See Also:
in(Collection)
-
notIn
@NotNull @Support @NotNull Condition notIn(Collection<? extends RowN> rows)
Compare this row value expression with a set of row value expressions for equality.Row NOT IN predicates can be emulated in those databases that do not support such predicates natively:
(A, B) NOT IN ((1, 2), (3, 4))
is equivalent toNOT(((A, B) = (1, 2)) OR ((A, B) = (3, 4)))
, which is equivalent toNOT((A = 1 AND B = 2) OR (A = 3 AND B = 4))
Note that generating dynamic SQL with arbitrary-length
NOT IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:NOT IN
predicates on temporary tablesNOT IN
predicates on unnested array bind variables
-
notIn
@NotNull @Support @NotNull Condition notIn(Result<? extends Record> result)
Compare this row value expression with a set of records for equality.Row NOT IN predicates can be emulated in those databases that do not support such predicates natively:
(A, B) NOT IN ((1, 2), (3, 4))
is equivalent toNOT(((A, B) = (1, 2)) OR ((A, B) = (3, 4)))
, which is equivalent toNOT((A = 1 AND B = 2) OR (A = 3 AND B = 4))
Note that generating dynamic SQL with arbitrary-length
NOT IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:NOT IN
predicates on temporary tablesNOT IN
predicates on unnested array bind variables
-
notIn
@NotNull @Support @NotNull Condition notIn(RowN... rows)
Compare this row value expression with a set of row value expressions for equality.Note that generating dynamic SQL with arbitrary-length
NOT IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:NOT IN
predicates on temporary tablesNOT IN
predicates on unnested array bind variables
- See Also:
notIn(Collection)
-
notIn
@NotNull @Support @NotNull Condition notIn(Record... record)
Compare this row value expression with a set of records for non-equality.Note that generating dynamic SQL with arbitrary-length
NOT IN
predicates can cause cursor cache contention in some databases that use unique SQL strings as a statement identifier (e.g.SQLDialect.ORACLE
). In order to prevent such problems, you could useSettings.isInListPadding()
to produce less distinct SQL strings (see also [#5600]), or you could avoidIN
lists, and replace them with:NOT IN
predicates on temporary tablesNOT IN
predicates on unnested array bind variables
- See Also:
notIn(Collection)
-
notIn
@NotNull @Support @NotNull Condition notIn(Select<? extends Record> select)
Compare this row value expression with a subselect for non-equality.- See Also:
notIn(Collection)
-
-