org.jooq
Interface DeleteConditionStep<R extends Record>

All Superinterfaces:
Adapter, Attachable, Delete<R>, DeleteFinalStep<R>, Query, QueryPart, Serializable

public interface DeleteConditionStep<R extends Record>
extends DeleteFinalStep<R>

This type is used for the Delete's DSL API.

Example:

 Factory create = new Factory();

 create.delete(table)
       .where(field1.greaterThan(100))
       .execute();
 

Author:
Lukas Eder

Method Summary
 DeleteConditionStep<R> and(Condition condition)
          Combine the currently assembled conditions with another one using the Operator.AND operator
 DeleteConditionStep<R> and(String sql)
          Combine the currently assembled conditions with another one using the Operator.AND operator NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity.
 DeleteConditionStep<R> and(String sql, Object... bindings)
          Combine the currently assembled conditions with another one using the Operator.AND operator NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity.
 DeleteConditionStep<R> andExists(Select<?> select)
          Combine the currently assembled conditions with an EXISTS clause using the Operator.AND operator
 DeleteConditionStep<R> andNot(Condition condition)
          Combine the currently assembled conditions with a negated other one using the Operator.AND operator
 DeleteConditionStep<R> andNotExists(Select<?> select)
          Combine the currently assembled conditions with a NOT EXISTS clause using the Operator.AND operator
 DeleteConditionStep<R> or(Condition condition)
          Combine the currently assembled conditions with another one using the Operator.OR operator
 DeleteConditionStep<R> or(String sql)
          Combine the currently assembled conditions with another one using the Operator.OR operator NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity.
 DeleteConditionStep<R> or(String sql, Object... bindings)
          Combine the currently assembled conditions with another one using the Operator.OR operator NOTE: When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity.
 DeleteConditionStep<R> orExists(Select<?> select)
          Combine the currently assembled conditions with an EXISTS clause using the Operator.OR operator
 DeleteConditionStep<R> orNot(Condition condition)
          Combine the currently assembled conditions with a negated other one using the Operator.OR operator
 DeleteConditionStep<R> orNotExists(Select<?> select)
          Combine the currently assembled conditions with a NOT EXISTS clause using the Operator.OR operator
 
Methods inherited from interface org.jooq.Query
bind, bind, execute, getBindValues, getParam, getParams, getSQL, getSQL
 
Methods inherited from interface org.jooq.Attachable
attach
 
Methods inherited from interface org.jooq.Adapter
internalAPI
 

Method Detail

and

DeleteConditionStep<R> and(Condition condition)
Combine the currently assembled conditions with another one using the Operator.AND operator


and

DeleteConditionStep<R> and(String sql)
Combine the currently assembled conditions with another one using the 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!

See Also:
Factory.condition(String)

and

DeleteConditionStep<R> and(String sql,
                           Object... bindings)
Combine the currently assembled conditions with another one using the 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!

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

andNot

DeleteConditionStep<R> andNot(Condition condition)
Combine the currently assembled conditions with a negated other one using the Operator.AND operator


andExists

DeleteConditionStep<R> andExists(Select<?> select)
Combine the currently assembled conditions with an EXISTS clause using the Operator.AND operator


andNotExists

DeleteConditionStep<R> andNotExists(Select<?> select)
Combine the currently assembled conditions with a NOT EXISTS clause using the Operator.AND operator


or

DeleteConditionStep<R> or(Condition condition)
Combine the currently assembled conditions with another one using the Operator.OR operator


or

DeleteConditionStep<R> or(String sql)
Combine the currently assembled conditions with another one using the 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!

See Also:
Factory.condition(String)

or

DeleteConditionStep<R> or(String sql,
                          Object... bindings)
Combine the currently assembled conditions with another one using the 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!

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

orNot

DeleteConditionStep<R> orNot(Condition condition)
Combine the currently assembled conditions with a negated other one using the Operator.OR operator


orExists

DeleteConditionStep<R> orExists(Select<?> select)
Combine the currently assembled conditions with an EXISTS clause using the Operator.OR operator


orNotExists

DeleteConditionStep<R> orNotExists(Select<?> select)
Combine the currently assembled conditions with a NOT EXISTS clause using the Operator.OR operator



Copyright © 2012. All Rights Reserved.