|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.melati.poem.CachedQuery
org.melati.poem.CachedCount
org.melati.poem.CachedExists
public class CachedExists
A cached instance of an SQL count > 0 query.
| Field Summary |
|---|
| Fields inherited from class org.melati.poem.CachedQuery |
|---|
rows, statements, table |
| Constructor Summary | |
|---|---|
CachedExists(Table table,
java.lang.String whereClause)
|
|
CachedExists(Table table,
java.lang.String whereClause,
Table[] otherTables)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
exists()
|
| Methods inherited from class org.melati.poem.CachedCount |
|---|
count |
| Methods inherited from class org.melati.poem.CachedQuery |
|---|
compute, extract, getTable, setQuery, statements, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CachedExists(Table table,
java.lang.String whereClause,
Table[] otherTables)
table - the Table we are dealing withwhereClause - SQL snippetotherTables - Array of other tables referred to in whereClause, if any
public CachedExists(Table table,
java.lang.String whereClause)
table - the Table we are dealing withwhereClause - SQL snippet| Method Detail |
|---|
public boolean exists()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||