org.melati.poem
Class CachedTailoredQuery
java.lang.Object
  
org.melati.poem.TailoredQuery
      
org.melati.poem.PreparedTailoredQuery
          
org.melati.poem.CachedTailoredQuery
public class CachedTailoredQuery
- extends PreparedTailoredQuery
 
A cached instance of a PreparedTailoredQuery.
- Author:
 
  - WilliamC At paneris.org
 
 
 
 
 
 
 
 
 
CachedTailoredQuery
public CachedTailoredQuery(String modifier,
                           Column[] selectedColumns,
                           Table[] otherTables,
                           String whereClause,
                           String orderByClause)
- Full Constructor.
- Parameters:
 modifier - SQL modifier eg DISTINCTselectedColumns - An array of columns we know we needotherTables - Tables other than ours whose modification 
                    state needs to be taken into accountwhereClause - Raw SQLorderByClause - Raw ORDER BY clause
 
CachedTailoredQuery
public CachedTailoredQuery(Column[] selectedColumns,
                           Table[] otherTables,
                           String whereClause,
                           String orderByClause)
- Constructor with modifier null.
- Parameters:
 selectedColumns - An array of columns we know we needotherTables - Tables other than ours whose modification 
                    state needs to be taken into accountwhereClause - Raw SQLorderByClause - Raw ORDER BY clause
 
upToDate
protected boolean upToDate()
- Returns:
 - whether the underlying tables have changed since last run.
 
 
selection
public Enumeration selection()
- The results of the query.
- Overrides:
 selection in class PreparedTailoredQuery
 
- Returns:
 - the results (a TailoredResultSetEnumeration) as an Enumeration.
 - See Also:
 TailoredQuery.selection()
 
 
selection_firstRaw
public Enumeration selection_firstRaw()
- 
- Overrides:
 selection_firstRaw in class PreparedTailoredQuery
 
- Returns:
 - an enumeration of the Columns in the first row of a ResultSet
 the first row of this 
TailoredQuery - See Also:
 TailoredQuery.selection_firstRaw()
 
 
Copyright © 2000-2010 PanEris. All Rights Reserved.