org.jooq
Interface SelectConditionStep

All Superinterfaces:
Adapter, Attachable, FieldLike, FieldProvider, Query, QueryPart, Select<Record>, SelectFinalStep, SelectGroupByStep, SelectHavingStep, SelectLimitStep, SelectOrderByStep, Serializable, TableLike<Record>

public interface SelectConditionStep
extends SelectGroupByStep

The step in a Select query, where additional conditions can be added to the where clause.

This is the step in query construction, where you can add conditions to a query. This step is optional. If you add conditions, you can proceed to the optional SelectGroupByStep.

Author:
Lukas Eder

Method Summary
 SelectConditionStep and(Condition condition)
          Combine the currently assembled conditions with another one using the Operator.AND operator and proceed to the next step.
 SelectConditionStep and(String sql)
          Combine the currently assembled conditions with another one using the Operator.AND operator and proceed to the next step.
 SelectConditionStep and(String sql, Object... bindings)
          Combine the currently assembled conditions with another one using the Operator.AND operator and proceed to the next step.
 SelectConditionStep andExists(Select<?> select)
          Combine the currently assembled conditions with an EXISTS clause using the Operator.AND operator and proceed to the next step.
 SelectConditionStep andNot(Condition condition)
          Combine the currently assembled conditions with a negated other one using the Operator.AND operator and proceed to the next step.
 SelectConditionStep andNotExists(Select<?> select)
          Combine the currently assembled conditions with a NOT EXISTS clause using the Operator.AND operator and proceed to the next step.
 SelectConditionStep or(Condition condition)
          Combine the currently assembled conditions with another one using the Operator.OR operator and proceed to the next step.
 SelectConditionStep or(String sql)
          Combine the currently assembled conditions with another one using the Operator.OR operator and proceed to the next step.
 SelectConditionStep or(String sql, Object... bindings)
          Combine the currently assembled conditions with another one using the Operator.OR operator and proceed to the next step.
 SelectConditionStep orExists(Select<?> select)
          Combine the currently assembled conditions with an EXISTS clause using the Operator.OR operator and proceed to the next step.
 SelectConditionStep orNot(Condition condition)
          Combine the currently assembled conditions with a negated other one using the Operator.OR operator and proceed to the next step.
 SelectConditionStep orNotExists(Select<?> select)
          Combine the currently assembled conditions with a NOT EXISTS clause using the Operator.OR operator and proceed to the next step.
 
Methods inherited from interface org.jooq.SelectGroupByStep
groupBy, groupBy
 
Methods inherited from interface org.jooq.SelectHavingStep
having, having, having, having
 
Methods inherited from interface org.jooq.SelectOrderByStep
orderBy, orderBy, orderBy
 
Methods inherited from interface org.jooq.SelectLimitStep
limit, limit
 
Methods inherited from interface org.jooq.SelectFinalStep
forShare, forUpdate, getQuery
 
Methods inherited from interface org.jooq.Select
except, fetch, fetch, fetch, fetch, fetchAny, fetchLazy, fetchMap, fetchMap, fetchOne, fetchOne, fetchOne, fetchOne, getRecordType, getResult, getSelect, intersect, union, unionAll
 
Methods inherited from interface org.jooq.Query
execute
 
Methods inherited from interface org.jooq.TableLike
asTable, asTable
 
Methods inherited from interface org.jooq.QueryPart
getSQL
 
Methods inherited from interface org.jooq.Attachable
attach, getConfiguration
 
Methods inherited from interface org.jooq.Adapter
internalAPI
 
Methods inherited from interface org.jooq.FieldLike
asField, asField
 
Methods inherited from interface org.jooq.FieldProvider
getField, getField, getField, getFields, getIndex
 

Method Detail

and

SelectConditionStep and(Condition condition)
Combine the currently assembled conditions with another one using the Operator.AND operator and proceed to the next step.


and

SelectConditionStep and(String sql)
Combine the currently assembled conditions with another one using the Operator.AND operator and proceed to the next step.

See Also:
Factory.plainSQLCondition(String)

and

SelectConditionStep and(String sql,
                        Object... bindings)
Combine the currently assembled conditions with another one using the Operator.AND operator and proceed to the next step.

See Also:
Factory.plainSQLCondition(String, Object...)

andNot

SelectConditionStep andNot(Condition condition)
Combine the currently assembled conditions with a negated other one using the Operator.AND operator and proceed to the next step.


andExists

SelectConditionStep andExists(Select<?> select)
Combine the currently assembled conditions with an EXISTS clause using the Operator.AND operator and proceed to the next step.


andNotExists

SelectConditionStep andNotExists(Select<?> select)
Combine the currently assembled conditions with a NOT EXISTS clause using the Operator.AND operator and proceed to the next step.


or

SelectConditionStep or(Condition condition)
Combine the currently assembled conditions with another one using the Operator.OR operator and proceed to the next step.


or

SelectConditionStep or(String sql)
Combine the currently assembled conditions with another one using the Operator.OR operator and proceed to the next step.

See Also:
Factory.plainSQLCondition(String)

or

SelectConditionStep or(String sql,
                       Object... bindings)
Combine the currently assembled conditions with another one using the Operator.OR operator and proceed to the next step.

See Also:
Factory.plainSQLCondition(String, Object...)

orNot

SelectConditionStep orNot(Condition condition)
Combine the currently assembled conditions with a negated other one using the Operator.OR operator and proceed to the next step.


orExists

SelectConditionStep orExists(Select<?> select)
Combine the currently assembled conditions with an EXISTS clause using the Operator.OR operator and proceed to the next step.


orNotExists

SelectConditionStep orNotExists(Select<?> select)
Combine the currently assembled conditions with a NOT EXISTS clause using the Operator.OR operator and proceed to the next step.



Copyright © 2011. All Rights Reserved.