Package | Description |
---|---|
net.aditsu.depeche |
Modifier and Type | Method and Description |
---|---|
KeyInfo |
FKey.getFKeyInfo()
Returns a KeyInfo object listing the foreign key columns within this foreign key
|
KeyInfo |
UniqueConstraint.getKeyInfo()
Returns a KeyInfo object listing the columns within this unique constraint
|
KeyInfo |
FKey.getPKeyInfo()
Returns a KeyInfo object listing the primary key columns within this foreign key
|
KeyInfo |
TableInfo.getPKeyInfo()
Returns a KeyInfo object listing this table's primary key columns
|
Modifier and Type | Method and Description |
---|---|
Query |
Query.exclude(KeyInfo keyInfo,
Key key)
Adds a condition to NOT match a list of columns with a list of values, and returns a new query
|
LocalQuery |
LocalQuery.exclude(KeyInfo keyInfo,
Key key) |
DynamicQuery |
DynamicQuery.exclude(KeyInfo keyInfo,
Key key)
Adds a condition to NOT match a list of columns with a list of values, and returns a new query
|
Query |
Query.filter(KeyInfo keyInfo,
Key key)
Adds a condition to match a list of columns with a list of values, and returns a new query
|
LocalQuery |
LocalQuery.filter(KeyInfo keyInfo,
Key key) |
DynamicQuery |
DynamicQuery.filter(KeyInfo keyInfo,
Key key)
Adds a condition to match a list of columns with a list of values, and returns a new query
|
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)
|
Query |
Query.filter(Record rec,
KeyInfo cols) |
LocalQuery |
LocalQuery.filter(Record rec,
KeyInfo cols) |
DynamicQuery |
DynamicQuery.filter(Record rec,
KeyInfo cols)
Adds a condition to match a list of columns with a list of corresponding values from a Record,
and returns a new query
|
Key |
Record.getKey(KeyInfo kinfo)
Returns this record's field values for the given KeyInfo, in a Key object
|
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
|
void |
Record.setKey(KeyInfo kinfo,
Key key)
Sets several field values into this record, using the field names from the
given KeyInfo object and the values from the given Key object
|
void |
MutableTableInfo.setPKeyInfo(KeyInfo pkey) |
Constructor and Description |
---|
KeyFilterCondition(KeyInfo keyInfo,
Key key) |