public interface Row3<T1,T2,T3> extends Row
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.
Modifier and Type | Method and Description |
---|---|
@NotNull BetweenAndStep3<T1,T2,T3> |
between(Field<T1> minValue1,
Field<T2> minValue2,
Field<T3> minValue3)
Check if this row value expression is within a range of two other row
value expressions.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
between(Record3<T1,T2,T3> minValue)
Check if this row value expression is within a range of two records.
|
@NotNull Condition |
between(Record3<T1,T2,T3> minValue,
Record3<T1,T2,T3> maxValue)
Check if this row value expression is within a range of two records.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
between(Row3<T1,T2,T3> minValue)
Check if this row value expression is within a range of two other row
value expressions.
|
@NotNull Condition |
between(Row3<T1,T2,T3> minValue,
Row3<T1,T2,T3> maxValue)
Check if this row value expression is within a range of two other row
value expressions.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
between(T1 minValue1,
T2 minValue2,
T3 minValue3)
Check if this row value expression is within a range of two other row
value expressions.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
betweenSymmetric(Field<T1> minValue1,
Field<T2> minValue2,
Field<T3> minValue3)
Check if this row value expression is within a symmetric range of two
other row value expressions.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
betweenSymmetric(Record3<T1,T2,T3> minValue)
Check if this row value expression is within a symmetric range of two
records.
|
@NotNull Condition |
betweenSymmetric(Record3<T1,T2,T3> minValue,
Record3<T1,T2,T3> maxValue)
Check if this row value expression is within a symmetric range of two
records.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
betweenSymmetric(Row3<T1,T2,T3> minValue)
Check if this row value expression is within a symmetric range of two
other row value expressions.
|
@NotNull Condition |
betweenSymmetric(Row3<T1,T2,T3> minValue,
Row3<T1,T2,T3> maxValue)
Check if this row value expression is within a symmetric range of two
other row value expressions.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
betweenSymmetric(T1 minValue1,
T2 minValue2,
T3 minValue3)
Check if this row value expression is within a symmetric range of two
other row value expressions.
|
@NotNull Condition |
compare(Comparator comparator,
Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression
using a dynamic comparator.
|
@NotNull Condition |
compare(Comparator comparator,
QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect
using a dynamic comparator.
|
@NotNull Condition |
compare(Comparator comparator,
Record3<T1,T2,T3> record)
Compare this row value expression with a record
using a dynamic comparator.
|
@NotNull Condition |
compare(Comparator comparator,
Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression
using a dynamic comparator.
|
@NotNull Condition |
compare(Comparator comparator,
Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect
using a dynamic comparator.
|
@NotNull Condition |
compare(Comparator comparator,
T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression
using a dynamic comparator.
|
@NotNull Condition |
eq(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
equality.
|
@NotNull Condition |
eq(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for equality.
|
@NotNull Condition |
eq(Record3<T1,T2,T3> record)
Compare this row value expression with a record for equality.
|
@NotNull Condition |
eq(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
equality.
|
@NotNull Condition |
eq(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for equality.
|
@NotNull Condition |
eq(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
equality.
|
@NotNull Condition |
equal(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
equality.
|
@NotNull Condition |
equal(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for equality.
|
@NotNull Condition |
equal(Record3<T1,T2,T3> record)
Compare this row value expression with a record for equality.
|
@NotNull Condition |
equal(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
equality.
|
@NotNull Condition |
equal(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for equality.
|
@NotNull Condition |
equal(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
equality.
|
@NotNull Field<T1> |
field1()
Get the first field.
|
@NotNull Field<T2> |
field2()
Get the second field.
|
@NotNull Field<T3> |
field3()
Get the third field.
|
@NotNull Condition |
ge(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
ge(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
ge(Record3<T1,T2,T3> record)
Compare this row value expression with a record for order.
|
@NotNull Condition |
ge(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
ge(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
ge(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
greaterOrEqual(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
greaterOrEqual(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
greaterOrEqual(Record3<T1,T2,T3> record)
Compare this row value expression with a record for order.
|
@NotNull Condition |
greaterOrEqual(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
greaterOrEqual(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
greaterOrEqual(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
greaterThan(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
greaterThan(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
greaterThan(Record3<T1,T2,T3> record)
Compare this row value expression with a record for order.
|
@NotNull Condition |
greaterThan(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
greaterThan(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
greaterThan(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
gt(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
gt(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
gt(Record3<T1,T2,T3> record)
Compare this row value expression with a record for order.
|
@NotNull Condition |
gt(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
gt(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
gt(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
in(Collection<? extends Row3<T1,T2,T3>> rows)
Compare this row value expression with a set of row value expressions for
equality.
|
@NotNull Condition |
in(Record3<T1,T2,T3>... record)
Compare this row value expression with a set of records for equality.
|
@NotNull Condition |
in(Result<? extends Record3<T1,T2,T3>> result)
Compare this row value expression with a set of records for
equality.
|
@NotNull Condition |
in(Row3<T1,T2,T3>... rows)
Compare this row value expression with a set of row value expressions for
equality.
|
@NotNull Condition |
in(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for equality.
|
@NotNull Condition |
isDistinctFrom(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
distinctness.
|
@NotNull Condition |
isDistinctFrom(Record3<T1,T2,T3> record)
Compare this row value expression with another row value expression for
distinctness.
|
@NotNull Condition |
isDistinctFrom(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
distinctness.
|
@NotNull Condition |
isDistinctFrom(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with another row value expression for
distinctness.
|
@NotNull Condition |
isDistinctFrom(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
distinctness.
|
@NotNull Condition |
isNotDistinctFrom(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
distinctness.
|
@NotNull Condition |
isNotDistinctFrom(Record3<T1,T2,T3> record)
Compare this row value expression with another row value expression for
distinctness.
|
@NotNull Condition |
isNotDistinctFrom(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
distinctness.
|
@NotNull Condition |
isNotDistinctFrom(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with another row value expression for
distinctness.
|
@NotNull Condition |
isNotDistinctFrom(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
distinctness.
|
@NotNull Condition |
le(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
le(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
le(Record3<T1,T2,T3> record)
Compare this row value expression with a record for order.
|
@NotNull Condition |
le(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
le(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
le(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
lessOrEqual(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
lessOrEqual(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
lessOrEqual(Record3<T1,T2,T3> record)
Compare this row value expression with a record for order.
|
@NotNull Condition |
lessOrEqual(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
lessOrEqual(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
lessOrEqual(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
lessThan(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
lessThan(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
lessThan(Record3<T1,T2,T3> record)
Compare this row value expression with a record for order.
|
@NotNull Condition |
lessThan(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
lessThan(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
lessThan(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
lt(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
lt(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
lt(Record3<T1,T2,T3> record)
Compare this row value expression with a record for order.
|
@NotNull Condition |
lt(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
lt(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for order.
|
@NotNull Condition |
lt(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
order.
|
@NotNull Condition |
ne(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
non-equality.
|
@NotNull Condition |
ne(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for non-equality.
|
@NotNull Condition |
ne(Record3<T1,T2,T3> record)
Compare this row value expression with a record for non-equality.
|
@NotNull Condition |
ne(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
non-equality.
|
@NotNull Condition |
ne(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for non-equality.
|
@NotNull Condition |
ne(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for
non-equality.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
notBetween(Field<T1> minValue1,
Field<T2> minValue2,
Field<T3> minValue3)
Check if this row value expression is not within a range of two other
row value expressions.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
notBetween(Record3<T1,T2,T3> minValue)
Check if this row value expression is within a range of two records.
|
@NotNull Condition |
notBetween(Record3<T1,T2,T3> minValue,
Record3<T1,T2,T3> maxValue)
Check if this row value expression is within a range of two records.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
notBetween(Row3<T1,T2,T3> minValue)
Check if this row value expression is not within a range of two other
row value expressions.
|
@NotNull Condition |
notBetween(Row3<T1,T2,T3> minValue,
Row3<T1,T2,T3> maxValue)
Check if this row value expression is not within a range of two other
row value expressions.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
notBetween(T1 minValue1,
T2 minValue2,
T3 minValue3)
Check if this row value expression is not within a range of two other
row value expressions.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
notBetweenSymmetric(Field<T1> minValue1,
Field<T2> minValue2,
Field<T3> minValue3)
Check if this row value expression is not within a symmetric range of two
other row value expressions.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
notBetweenSymmetric(Record3<T1,T2,T3> minValue)
Check if this row value expression is not within a symmetric range of two
records.
|
@NotNull Condition |
notBetweenSymmetric(Record3<T1,T2,T3> minValue,
Record3<T1,T2,T3> maxValue)
Check if this row value expression is not within a symmetric range of two
records.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
notBetweenSymmetric(Row3<T1,T2,T3> minValue)
Check if this row value expression is not within a symmetric range of two
other row value expressions.
|
@NotNull Condition |
notBetweenSymmetric(Row3<T1,T2,T3> minValue,
Row3<T1,T2,T3> maxValue)
Check if this row value expression is not within a symmetric range of two
other row value expressions.
|
@NotNull BetweenAndStep3<T1,T2,T3> |
notBetweenSymmetric(T1 minValue1,
T2 minValue2,
T3 minValue3)
Check if this row value expression is not within a symmetric range of two
other row value expressions.
|
@NotNull Condition |
notEqual(Field<T1> t1,
Field<T2> t2,
Field<T3> t3)
Compare this row value expression with another row value expression for
non-equality.
|
@NotNull Condition |
notEqual(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for non-equality.
|
@NotNull Condition |
notEqual(Record3<T1,T2,T3> record)
Compare this row value expression with a record for non-equality
|
@NotNull Condition |
notEqual(Row3<T1,T2,T3> row)
Compare this row value expression with another row value expression for
non-equality.
|
@NotNull Condition |
notEqual(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for non-equality.
|
@NotNull Condition |
notEqual(T1 t1,
T2 t2,
T3 t3)
Compare this row value expression with another row value expression for.
|
@NotNull Condition |
notIn(Collection<? extends Row3<T1,T2,T3>> rows)
Compare this row value expression with a set of row value expressions for
equality.
|
@NotNull Condition |
notIn(Record3<T1,T2,T3>... record)
Compare this row value expression with a set of records for non-equality.
|
@NotNull Condition |
notIn(Result<? extends Record3<T1,T2,T3>> result)
Compare this row value expression with a set of records for
equality.
|
@NotNull Condition |
notIn(Row3<T1,T2,T3>... rows)
Compare this row value expression with a set of row value expressions for
equality.
|
@NotNull Condition |
notIn(Select<? extends Record3<T1,T2,T3>> select)
Compare this row value expression with a subselect for non-equality.
|
@NotNull @Support @NotNull Condition compare(Comparator comparator, Row3<T1,T2,T3> row)
See the explicit comparison methods for details. Note, not all
Comparator
types are supported
@NotNull @Support @NotNull Condition compare(Comparator comparator, Record3<T1,T2,T3> record)
See the explicit comparison methods for details. Note, not all
Comparator
types are supported
@NotNull @Support @NotNull Condition compare(Comparator comparator, T1 t1, T2 t2, T3 t3)
See the explicit comparison methods for details. Note, not all
Comparator
types are supported
@NotNull @Support @NotNull Condition compare(Comparator comparator, Field<T1> t1, Field<T2> t2, Field<T3> t3)
See the explicit comparison methods for details. Note, not all
Comparator
types are supported
@NotNull @Support @NotNull Condition compare(Comparator comparator, Select<? extends Record3<T1,T2,T3>> select)
See the explicit comparison methods for details. Note, not all
Comparator
types are supported
@NotNull @Support @NotNull Condition compare(Comparator comparator, QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
See the explicit comparison methods for details. Note, not all
Comparator
types are supported
@NotNull @Support @NotNull Condition equal(Row3<T1,T2,T3> row)
Row equality comparison predicates can be emulated in those databases
that do not support such predicates natively:
(A, B) = (1, 2)
is equivalent to
A = 1 AND B = 2
@NotNull @Support @NotNull Condition equal(Record3<T1,T2,T3> record)
equal(Row3)
@NotNull @Support @NotNull Condition equal(T1 t1, T2 t2, T3 t3)
equal(Row3)
@NotNull @Support @NotNull Condition equal(Field<T1> t1, Field<T2> t2, Field<T3> t3)
equal(Row3)
@NotNull @Support @NotNull Condition equal(Select<? extends Record3<T1,T2,T3>> select)
equal(Row3)
@NotNull @Support @NotNull Condition equal(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition eq(Row3<T1,T2,T3> row)
equal(Row3)
@NotNull @Support @NotNull Condition eq(Record3<T1,T2,T3> record)
equal(Row3)
@NotNull @Support @NotNull Condition eq(T1 t1, T2 t2, T3 t3)
equal(Row3)
@NotNull @Support @NotNull Condition eq(Field<T1> t1, Field<T2> t2, Field<T3> t3)
equal(Row3)
@NotNull @Support @NotNull Condition eq(Select<? extends Record3<T1,T2,T3>> select)
equal(Row3)
@NotNull @Support @NotNull Condition eq(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition notEqual(Row3<T1,T2,T3> row)
Row non-equality comparison predicates can be emulated in those
databases that do not support such predicates natively:
(A, B) <> (1, 2)
is equivalent to
NOT(A = 1 AND B = 2)
@NotNull @Support @NotNull Condition notEqual(Record3<T1,T2,T3> record)
notEqual(Row3)
@NotNull @Support @NotNull Condition notEqual(T1 t1, T2 t2, T3 t3)
notEqual(Row3)
@NotNull @Support @NotNull Condition notEqual(Field<T1> t1, Field<T2> t2, Field<T3> t3)
notEqual(Row3)
@NotNull @Support @NotNull Condition notEqual(Select<? extends Record3<T1,T2,T3>> select)
notEqual(Row3)
@NotNull @Support @NotNull Condition notEqual(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition ne(Row3<T1,T2,T3> row)
notEqual(Row3)
@NotNull @Support @NotNull Condition ne(Record3<T1,T2,T3> record)
notEqual(Row3)
@NotNull @Support @NotNull Condition ne(T1 t1, T2 t2, T3 t3)
notEqual(Row3)
@NotNull @Support @NotNull Condition ne(Field<T1> t1, Field<T2> t2, Field<T3> t3)
notEqual(Row3)
@NotNull @Support @NotNull Condition ne(Select<? extends Record3<T1,T2,T3>> select)
notEqual(Row3)
@NotNull @Support @NotNull Condition ne(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition isDistinctFrom(Row3<T1,T2,T3> row)
@NotNull @Support @NotNull Condition isDistinctFrom(Record3<T1,T2,T3> record)
@NotNull @Support @NotNull Condition isDistinctFrom(T1 t1, T2 t2, T3 t3)
@NotNull @Support @NotNull Condition isDistinctFrom(Field<T1> t1, Field<T2> t2, Field<T3> t3)
@NotNull @Support @NotNull Condition isDistinctFrom(Select<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition isNotDistinctFrom(Row3<T1,T2,T3> row)
@NotNull @Support @NotNull Condition isNotDistinctFrom(Record3<T1,T2,T3> record)
@NotNull @Support @NotNull Condition isNotDistinctFrom(T1 t1, T2 t2, T3 t3)
@NotNull @Support @NotNull Condition isNotDistinctFrom(Field<T1> t1, Field<T2> t2, Field<T3> t3)
@NotNull @Support @NotNull Condition isNotDistinctFrom(Select<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition lessThan(Row3<T1,T2,T3> row)
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 to
A < 1 OR (A = 1 AND B < 2) OR (A = 1 AND B = 2 AND C < 3)
@NotNull @Support @NotNull Condition lessThan(Record3<T1,T2,T3> record)
lessThan(Row3)
@NotNull @Support @NotNull Condition lessThan(T1 t1, T2 t2, T3 t3)
lessThan(Row3)
@NotNull @Support @NotNull Condition lessThan(Field<T1> t1, Field<T2> t2, Field<T3> t3)
lessThan(Row3)
@NotNull @Support @NotNull Condition lessThan(Select<? extends Record3<T1,T2,T3>> select)
lessThan(Row3)
@NotNull @Support @NotNull Condition lessThan(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition lt(Row3<T1,T2,T3> row)
lessThan(Row3)
@NotNull @Support @NotNull Condition lt(Record3<T1,T2,T3> record)
lessThan(Row3)
@NotNull @Support @NotNull Condition lt(T1 t1, T2 t2, T3 t3)
lessThan(Row3)
@NotNull @Support @NotNull Condition lt(Field<T1> t1, Field<T2> t2, Field<T3> t3)
lessThan(Row3)
@NotNull @Support @NotNull Condition lt(Select<? extends Record3<T1,T2,T3>> select)
lessThan(Row3)
@NotNull @Support @NotNull Condition lt(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition lessOrEqual(Row3<T1,T2,T3> row)
Row order comparison predicates can be emulated in those
databases that do not support such predicates natively:
(A, B) <= (1, 2)
is equivalent to
A < 1 OR (A = 1 AND B < 2) OR (A = 1 AND B = 2)
@NotNull @Support @NotNull Condition lessOrEqual(Record3<T1,T2,T3> record)
lessOrEqual(Row3)
@NotNull @Support @NotNull Condition lessOrEqual(T1 t1, T2 t2, T3 t3)
lessOrEqual(Row3)
@NotNull @Support @NotNull Condition lessOrEqual(Field<T1> t1, Field<T2> t2, Field<T3> t3)
lessOrEqual(Row3)
@NotNull @Support @NotNull Condition lessOrEqual(Select<? extends Record3<T1,T2,T3>> select)
lessOrEqual(Row3)
@NotNull @Support @NotNull Condition lessOrEqual(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition le(Row3<T1,T2,T3> row)
lessOrEqual(Row3)
@NotNull @Support @NotNull Condition le(Record3<T1,T2,T3> record)
lessOrEqual(Row3)
@NotNull @Support @NotNull Condition le(T1 t1, T2 t2, T3 t3)
lessOrEqual(Row3)
@NotNull @Support @NotNull Condition le(Field<T1> t1, Field<T2> t2, Field<T3> t3)
lessOrEqual(Row3)
@NotNull @Support @NotNull Condition le(Select<? extends Record3<T1,T2,T3>> select)
lessOrEqual(Row3)
@NotNull @Support @NotNull Condition le(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition greaterThan(Row3<T1,T2,T3> row)
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 to
A > 1 OR (A = 1 AND B > 2) OR (A = 1 AND B = 2 AND C > 3)
@NotNull @Support @NotNull Condition greaterThan(Record3<T1,T2,T3> record)
greaterThan(Row3)
@NotNull @Support @NotNull Condition greaterThan(T1 t1, T2 t2, T3 t3)
greaterThan(Row3)
@NotNull @Support @NotNull Condition greaterThan(Field<T1> t1, Field<T2> t2, Field<T3> t3)
greaterThan(Row3)
@NotNull @Support @NotNull Condition greaterThan(Select<? extends Record3<T1,T2,T3>> select)
greaterThan(Row3)
@NotNull @Support @NotNull Condition greaterThan(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition gt(Row3<T1,T2,T3> row)
greaterThan(Row3)
@NotNull @Support @NotNull Condition gt(Record3<T1,T2,T3> record)
greaterThan(Row3)
@NotNull @Support @NotNull Condition gt(T1 t1, T2 t2, T3 t3)
greaterThan(Row3)
@NotNull @Support @NotNull Condition gt(Field<T1> t1, Field<T2> t2, Field<T3> t3)
greaterThan(Row3)
@NotNull @Support @NotNull Condition gt(Select<? extends Record3<T1,T2,T3>> select)
greaterThan(Row3)
@NotNull @Support @NotNull Condition gt(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition greaterOrEqual(Row3<T1,T2,T3> row)
Row order comparison predicates can be emulated in those
databases that do not support such predicates natively:
(A, B) >= (1, 2)
is equivalent to
A > 1 OR (A = 1 AND B > 2) OR (A = 1 AND B = 2)
@NotNull @Support @NotNull Condition greaterOrEqual(Record3<T1,T2,T3> record)
greaterOrEqual(Row3)
@NotNull @Support @NotNull Condition greaterOrEqual(T1 t1, T2 t2, T3 t3)
greaterOrEqual(Row3)
@NotNull @Support @NotNull Condition greaterOrEqual(Field<T1> t1, Field<T2> t2, Field<T3> t3)
greaterOrEqual(Row3)
@NotNull @Support @NotNull Condition greaterOrEqual(Select<? extends Record3<T1,T2,T3>> select)
greaterOrEqual(Row3)
@NotNull @Support @NotNull Condition greaterOrEqual(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull Condition ge(Row3<T1,T2,T3> row)
greaterOrEqual(Row3)
@NotNull @Support @NotNull Condition ge(Record3<T1,T2,T3> record)
greaterOrEqual(Row3)
@NotNull @Support @NotNull Condition ge(T1 t1, T2 t2, T3 t3)
greaterOrEqual(Row3)
@NotNull @Support @NotNull Condition ge(Field<T1> t1, Field<T2> t2, Field<T3> t3)
greaterOrEqual(Row3)
@NotNull @Support @NotNull Condition ge(Select<? extends Record3<T1,T2,T3>> select)
greaterOrEqual(Row3)
@NotNull @Support @NotNull Condition ge(QuantifiedSelect<? extends Record3<T1,T2,T3>> select)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> between(T1 minValue1, T2 minValue2, T3 minValue3)
between(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> between(Field<T1> minValue1, Field<T2> minValue2, Field<T3> minValue3)
between(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> between(Row3<T1,T2,T3> minValue)
between(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> between(Record3<T1,T2,T3> minValue)
between(Row3, Row3)
@NotNull @Support @NotNull Condition between(Row3<T1,T2,T3> minValue, Row3<T1,T2,T3> maxValue)
This is the same as calling between(minValue).and(maxValue)
The expression A BETWEEN B AND C
is equivalent to the
expression A >= B AND A <= C
for those SQL dialects that do
not properly support the BETWEEN
predicate for row value
expressions
@NotNull @Support @NotNull Condition between(Record3<T1,T2,T3> minValue, Record3<T1,T2,T3> maxValue)
This is the same as calling between(minValue).and(maxValue)
between(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> betweenSymmetric(T1 minValue1, T2 minValue2, T3 minValue3)
betweenSymmetric(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> betweenSymmetric(Field<T1> minValue1, Field<T2> minValue2, Field<T3> minValue3)
betweenSymmetric(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> betweenSymmetric(Row3<T1,T2,T3> minValue)
betweenSymmetric(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> betweenSymmetric(Record3<T1,T2,T3> minValue)
betweenSymmetric(Row3, Row3)
@NotNull @Support @NotNull Condition betweenSymmetric(Row3<T1,T2,T3> minValue, Row3<T1,T2,T3> maxValue)
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 the
BETWEEN
predicate for row value expressions
@NotNull @Support @NotNull Condition betweenSymmetric(Record3<T1,T2,T3> minValue, Record3<T1,T2,T3> maxValue)
This is the same as calling betweenSymmetric(minValue).and(maxValue)
betweenSymmetric(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> notBetween(T1 minValue1, T2 minValue2, T3 minValue3)
between(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> notBetween(Field<T1> minValue1, Field<T2> minValue2, Field<T3> minValue3)
notBetween(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> notBetween(Row3<T1,T2,T3> minValue)
notBetween(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> notBetween(Record3<T1,T2,T3> minValue)
notBetween(Row3, Row3)
@NotNull @Support @NotNull Condition notBetween(Row3<T1,T2,T3> minValue, Row3<T1,T2,T3> maxValue)
This is the same as calling notBetween(minValue).and(maxValue)
The expression A NOT BETWEEN B AND C
is equivalent to the
expression A < B OR A > C
for those SQL dialects that do
not properly support the BETWEEN
predicate for row value
expressions
@NotNull @Support @NotNull Condition notBetween(Record3<T1,T2,T3> minValue, Record3<T1,T2,T3> maxValue)
This is the same as calling notBetween(minValue).and(maxValue)
notBetween(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> notBetweenSymmetric(T1 minValue1, T2 minValue2, T3 minValue3)
notBetweenSymmetric(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> notBetweenSymmetric(Field<T1> minValue1, Field<T2> minValue2, Field<T3> minValue3)
notBetweenSymmetric(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> notBetweenSymmetric(Row3<T1,T2,T3> minValue)
notBetweenSymmetric(Row3, Row3)
@NotNull @Support @NotNull BetweenAndStep3<T1,T2,T3> notBetweenSymmetric(Record3<T1,T2,T3> minValue)
notBetweenSymmetric(Row3, Row3)
@NotNull @Support @NotNull Condition notBetweenSymmetric(Row3<T1,T2,T3> minValue, Row3<T1,T2,T3> maxValue)
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 the BETWEEN
predicate for row value expressions
@NotNull @Support @NotNull Condition notBetweenSymmetric(Record3<T1,T2,T3> minValue, Record3<T1,T2,T3> maxValue)
This is the same as calling notBetweenSymmetric(minValue).and(maxValue)
notBetweenSymmetric(Row3, Row3)
@NotNull @Support @NotNull Condition in(Collection<? extends Row3<T1,T2,T3>> rows)
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
use Settings.isInListPadding()
to produce less distinct SQL
strings (see also
[#5600]), or you
could avoid IN
lists, and replace them with:
IN
predicates on temporary tablesIN
predicates on unnested array bind variables@NotNull @Support @NotNull Condition in(Result<? extends Record3<T1,T2,T3>> result)
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
use Settings.isInListPadding()
to produce less distinct SQL
strings (see also
[#5600]), or you
could avoid IN
lists, and replace them with:
IN
predicates on temporary tablesIN
predicates on unnested array bind variables@NotNull @Support @NotNull Condition in(Row3<T1,T2,T3>... rows)
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
use Settings.isInListPadding()
to produce less distinct SQL
strings (see also
[#5600]), or you
could avoid IN
lists, and replace them with:
IN
predicates on temporary tablesIN
predicates on unnested array bind variablesin(Collection)
@NotNull @Support @NotNull Condition in(Record3<T1,T2,T3>... record)
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
use Settings.isInListPadding()
to produce less distinct SQL
strings (see also
[#5600]), or you
could avoid IN
lists, and replace them with:
IN
predicates on temporary tablesIN
predicates on unnested array bind variablesin(Collection)
@NotNull @Support @NotNull Condition in(Select<? extends Record3<T1,T2,T3>> select)
in(Collection)
@NotNull @Support @NotNull Condition notIn(Collection<? extends Row3<T1,T2,T3>> rows)
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 to
NOT(((A, B) = (1, 2)) OR ((A, B) = (3, 4)))
, which is
equivalent to NOT((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
use Settings.isInListPadding()
to produce less distinct SQL
strings (see also
[#5600]), or you
could avoid IN
lists, and replace them with:
NOT IN
predicates on temporary tablesNOT IN
predicates on unnested array bind variables@NotNull @Support @NotNull Condition notIn(Result<? extends Record3<T1,T2,T3>> result)
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 to
NOT(((A, B) = (1, 2)) OR ((A, B) = (3, 4)))
, which is
equivalent to NOT((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
use Settings.isInListPadding()
to produce less distinct SQL
strings (see also
[#5600]), or you
could avoid IN
lists, and replace them with:
NOT IN
predicates on temporary tablesNOT IN
predicates on unnested array bind variables@NotNull @Support @NotNull Condition notIn(Row3<T1,T2,T3>... rows)
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
use Settings.isInListPadding()
to produce less distinct SQL
strings (see also
[#5600]), or you
could avoid IN
lists, and replace them with:
NOT IN
predicates on temporary tablesNOT IN
predicates on unnested array bind variablesnotIn(Collection)
@NotNull @Support @NotNull Condition notIn(Record3<T1,T2,T3>... record)
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
use Settings.isInListPadding()
to produce less distinct SQL
strings (see also
[#5600]), or you
could avoid IN
lists, and replace them with:
NOT IN
predicates on temporary tablesNOT IN
predicates on unnested array bind variablesnotIn(Collection)
Copyright © 2020. All rights reserved.