Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » components » language » markup » xsp » [javadoc | source]
org.apache.cocoon.components.language.markup.xsp
public class: EsqlQuery [javadoc | source]
java.lang.Object
   org.apache.cocoon.components.language.markup.xsp.EsqlQuery
This helper class takes care of contstructing queries and cursor positioning (paging) for all different kinds of databases based on the orginal esql.xsl
Nested Class Summary:
class  EsqlQuery.EsqlGroup   
Constructor:
 public EsqlQuery(ResultSet aResultSet) 
 public EsqlQuery(EsqlConnection connection,
    String query) 
Method from org.apache.cocoon.components.language.markup.xsp.EsqlQuery Summary:
adjustCounts,   createStatement,   execute,   execute,   execute,   getCallableStatement,   getCurrentRow,   getMaxRows,   getMoreResults,   getPreparedStatement,   getQueryString,   getResultCount,   getResultRows,   getResultSet,   getResultSetMetaData,   getSkipRows,   getStatement,   getUpdateCount,   getUpdateCountCount,   groupLevelExists,   groupLevelMinusMinus,   groupLevelPlusPlus,   hasGroupingVarChanged,   hasResultSet,   keepGoing,   nextRow,   prepareCall,   prepareStatement,   rowCount,   setGroupingVar,   setKeepGoing,   setMaxRows,   setSkipRows
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.components.language.markup.xsp.EsqlQuery Detail:
 protected  void adjustCounts() throws SQLException 
    update counters for result sets and update counts
 public Statement createStatement() throws SQLException 
 public boolean execute() throws SQLException 
 public boolean execute(int resultSetFromObject) throws SQLException 
 public boolean execute(boolean needsQuery) throws SQLException 
    some brain dead DBMSs (Informix) don't like their callable statements to be 'execute'd but require 'executeQuery' instead.
 public CallableStatement getCallableStatement() 
 public int getCurrentRow() 
 public int getMaxRows() 
 public boolean getMoreResults() throws SQLException 
    retrieve next result, check whether it is an result set or an update count. Set instance vars accordingly and update counters.
 public PreparedStatement getPreparedStatement() 
 public String getQueryString() 
 public int getResultCount() 
 public  void getResultRows() throws SQLException 
 public ResultSet getResultSet() 
 public ResultSetMetaData getResultSetMetaData() 
 public int getSkipRows() 
 public Statement getStatement() 
 public int getUpdateCount() throws SQLException 
 public int getUpdateCountCount() 
 public boolean groupLevelExists() 
 public  void groupLevelMinusMinus() 
 public  void groupLevelPlusPlus() 
 public boolean hasGroupingVarChanged() throws SQLException 
 public boolean hasResultSet() 
 public boolean keepGoing() 
 public boolean nextRow() throws SQLException 
 public CallableStatement prepareCall() throws SQLException 
 public PreparedStatement prepareStatement() throws SQLException 
 public int rowCount() throws SQLException 
 public  void setGroupingVar(String key) throws SQLException 
 public  void setKeepGoing(boolean still) 
 public  void setMaxRows(int i) 
 public  void setSkipRows(int i)