public interface Condition extends QueryPart
Modifier and Type | Method and Description |
---|---|
Condition |
and(Condition other)
Combine this condition with another one using the
Operator.AND
operator. |
Condition |
and(Field<java.lang.Boolean> other)
Combine this condition with another one using the
Operator.AND
operator. |
Condition |
and(java.lang.String sql)
Combine this condition with another one using the
Operator.AND
operator. |
Condition |
and(java.lang.String sql,
java.lang.Object... bindings)
Combine this condition with another one using the
Operator.AND
operator. |
Condition |
and(java.lang.String sql,
QueryPart... parts)
Combine this condition with another one using the
Operator.AND
operator. |
Condition |
andExists(Select<?> select)
Combine this condition with an EXISTS clause using the
Operator.AND operator. |
Condition |
andNot(Condition other)
Combine this condition with a negated other one using the
Operator.AND operator. |
Condition |
andNot(Field<java.lang.Boolean> other)
Combine this condition with a negated other one using the
Operator.AND operator. |
Condition |
andNotExists(Select<?> select)
Combine this condition with a NOT EXIST clause using the
Operator.AND operator. |
Condition |
not()
Invert this condition
This is the same as calling
DSL.not(Condition) |
Condition |
or(Condition other)
Combine this condition with another one using the
Operator.OR
operator. |
Condition |
or(Field<java.lang.Boolean> other)
Combine this condition with another one using the
Operator.OR
operator. |
Condition |
or(java.lang.String sql)
Combine this condition with another one using the
Operator.OR
operator. |
Condition |
or(java.lang.String sql,
java.lang.Object... bindings)
Combine this condition with another one using the
Operator.OR
operator. |
Condition |
or(java.lang.String sql,
QueryPart... parts)
Combine this condition with another one using the
Operator.OR
operator. |
Condition |
orExists(Select<?> select)
Combine this condition with an EXISTS clause using the
Operator.OR operator. |
Condition |
orNot(Condition other)
Combine this condition with a negated other one using the
Operator.OR operator. |
Condition |
orNot(Field<java.lang.Boolean> other)
Combine this condition with a negated other one using the
Operator.OR operator. |
Condition |
orNotExists(Select<?> select)
Combine this condition with a NOT EXIST clause using the
Operator.OR operator. |
@Support Condition and(Condition other)
Operator.AND
operator.other
- The other condition@Support Condition and(Field<java.lang.Boolean> other)
Operator.AND
operator.other
- The other condition@Support @PlainSQL Condition and(java.lang.String sql)
Operator.AND
operator.
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The other conditionDSL.condition(String)
@Support @PlainSQL Condition and(java.lang.String sql, java.lang.Object... bindings)
Operator.AND
operator.
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The other conditionbindings
- The bindingsDSL.condition(String, Object...)
@Support @PlainSQL Condition and(java.lang.String sql, QueryPart... parts)
Operator.AND
operator.
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsDSL.condition(String, QueryPart...)
@Support Condition andNot(Condition other)
Operator.AND
operator.other
- The other condition@Support Condition andNot(Field<java.lang.Boolean> other)
Operator.AND
operator.other
- The other condition@Support Condition andExists(Select<?> select)
Operator.AND
operator.select
- The EXISTS's subquery@Support Condition andNotExists(Select<?> select)
Operator.AND
operator.select
- The EXISTS's subquery@Support Condition or(Condition other)
Operator.OR
operator.other
- The other condition@Support Condition or(Field<java.lang.Boolean> other)
Operator.OR
operator.other
- The other condition@Support @PlainSQL Condition or(java.lang.String sql)
Operator.OR
operator.
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The other conditionDSL.condition(String)
@Support @PlainSQL Condition or(java.lang.String sql, java.lang.Object... bindings)
Operator.OR
operator.
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The other conditionbindings
- The bindingsDSL.condition(String, Object...)
@Support @PlainSQL Condition or(java.lang.String sql, QueryPart... parts)
Operator.OR
operator.
NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
sql
- The SQL clause, containing {numbered placeholders} where query
parts can be injectedparts
- The QueryPart
objects that are rendered at the
{numbered placeholder} locationsDSL.condition(String, Object...)
@Support Condition orNot(Condition other)
Operator.OR
operator.other
- The other condition@Support Condition orNot(Field<java.lang.Boolean> other)
Operator.OR
operator.other
- The other condition@Support Condition orExists(Select<?> select)
Operator.OR
operator.select
- The EXISTS's subquery@Support Condition orNotExists(Select<?> select)
Operator.OR
operator.select
- The EXISTS's subquery@Support Condition not()
This is the same as calling DSL.not(Condition)
Copyright © 2015. All Rights Reserved.