org.jooq
Interface ConditionProvider

All Known Subinterfaces:
DeleteQuery<R>, SelectQuery, SimpleSelectQuery<R>, UpdateQuery<R>

public interface ConditionProvider

A common interface for all objects holding conditions (e.g. queries)

Author:
Lukas Eder

Method Summary
 void addConditions(Collection<Condition> conditions)
          Adds new conditions to the query, connecting them to existing conditions with Operator.AND
 void addConditions(Condition... conditions)
          Adds new conditions to the query, connecting them to existing conditions with Operator.AND
 void addConditions(Operator operator, Collection<Condition> conditions)
          Adds new conditions to the query, connecting them to existing conditions with the provided operator
 void addConditions(Operator operator, Condition... conditions)
          Adds new conditions to the query, connecting them to existing conditions with the provided operator
 

Method Detail

addConditions

void addConditions(Condition... conditions)
Adds new conditions to the query, connecting them to existing conditions with Operator.AND

Parameters:
conditions - The condition

addConditions

void addConditions(Collection<Condition> conditions)
Adds new conditions to the query, connecting them to existing conditions with Operator.AND

Parameters:
conditions - The condition

addConditions

void addConditions(Operator operator,
                   Condition... conditions)
Adds new conditions to the query, connecting them to existing conditions with the provided operator

Parameters:
conditions - The condition

addConditions

void addConditions(Operator operator,
                   Collection<Condition> conditions)
Adds new conditions to the query, connecting them to existing conditions with the provided operator

Parameters:
conditions - The condition


Copyright © 2012. All Rights Reserved.