| Package | Description |
|---|---|
| net.aditsu.depeche |
| Modifier and Type | Method and Description |
|---|---|
SQLCondition |
SQLCondition.and(SQLCondition cond)
Returns a new condition representing "this AND cond"
|
SQLCondition |
Provider.filter(KeyInfo keyInfo,
Key key)
Creates a condition to match a list of columns with a list of values (using "=" or "IS NULL" accordingly)
|
SQLCondition |
Provider.filter(String name,
Serializable value)
Creates a condition representing "name = value";
null values are handled separately using "IS NULL"
|
SQLCondition |
Provider.filter(String name,
String op,
Serializable value)
Creates a condition representing "name op value"
|
SQLCondition |
Provider.filterIn(String name,
Collection<? extends Serializable> values)
Creates a condition representing "name IN (values)"
|
SQLCondition |
Join.getCondition() |
SQLCondition |
InFilterCondition.getSQLCondition(Provider p) |
SQLCondition |
FilterCondition.getSQLCondition(Provider p) |
SQLCondition |
KeyFilterCondition.getSQLCondition(Provider p) |
abstract SQLCondition |
Condition.getSQLCondition(Provider p) |
SQLCondition |
Provider.joinCondition(String table1,
KeyInfo kinfo1,
String table2,
KeyInfo kinfo2)
Creates a join condition matching the given keys between two tables, quoting the fields
|
SQLCondition |
Provider.joinCondition(String fld1,
String fld2)
Creates a join condition "fld1 = fld2", quoting the fields
|
SQLCondition |
Provider.joinCondition(String table1,
String fld1,
String table2,
String fld2)
Creates a join condition "table1.fld1 = table2.fld2", quoting the fields
|
SQLCondition |
SQLCondition.not()
Returns a new condition representing "NOT this"
|
SQLCondition |
SQLCondition.or(SQLCondition cond)
Returns a new condition representing "this OR cond"
|
| Modifier and Type | Method and Description |
|---|---|
SQLCondition |
SQLCondition.and(SQLCondition cond)
Returns a new condition representing "this AND cond"
|
Query |
Query.exclude(SQLCondition cond)
Adds the negation of a SQL condition to this query (using "AND" with an existing condition)
and returns a new query
|
Query |
Query.filter(SQLCondition cond)
Adds a SQL condition to this query (using "AND" with an existing condition) and returns a new query
|
SQLCondition |
SQLCondition.or(SQLCondition cond)
Returns a new condition representing "this OR cond"
|
| Constructor and Description |
|---|
Join(JoinType type,
String table,
SQLCondition cond) |