org.hydrateframework.sql
Class QueryMap

java.lang.Object
  extended by org.hydrateframework.sql.AbstractParameterStatement
      extended by org.hydrateframework.sql.ParsedQuery
          extended by org.hydrateframework.sql.QueryMap
All Implemented Interfaces:
java.sql.PreparedStatement, java.sql.Statement, MappedStatement, NamedParameterStatement

public class QueryMap
extends ParsedQuery
implements MappedStatement

Version:
@(#)$Revision: 1.8 $
Author:
David Chamberlin

Nested Class Summary
 
Nested classes/interfaces inherited from class org.hydrateframework.sql.ParsedQuery
ParsedQuery.QueryClause, ParsedQuery.QueryClauseText, ParsedQuery.SqlInfo
 
Nested classes/interfaces inherited from class org.hydrateframework.sql.AbstractParameterStatement
AbstractParameterStatement.Parameter
 
Field Summary
 
Fields inherited from class org.hydrateframework.sql.ParsedQuery
CLAUSE_DELETE, CLAUSE_DELETESET, CLAUSE_DELETEWHERE, CLAUSE_INSERT, CLAUSE_INSERTSET, CLAUSE_INSERTVALUES, CLAUSE_INSERTWHERE, CLAUSE_SELECT, CLAUSE_SELECTLIST, CLAUSE_SELECTPARAM, CLAUSE_SELECTWHERE, CLAUSE_STMTMASK, CLAUSE_UPDATE, CLAUSE_UPDATESET, CLAUSE_UPDATEVALUES, CLAUSE_UPDATEWHERE, KEYGEN_INSERT
 
Fields inherited from class org.hydrateframework.sql.AbstractParameterStatement
conn, generatedIds, NULL, paramList, rewriteSqlOnQuery, statementType, updateBatchSize, updateStrategy
 
Fields inherited from interface org.hydrateframework.sql.NamedParameterStatement
STMT_DELETE, STMT_INSERT, STMT_NONE, STMT_SELECT, STMT_UPDATE, STRATEGY_BATCH, STRATEGY_NOPREPARE
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Constructor Summary
QueryMap(ObjectContext ctx, java.lang.String name)
           
QueryMap(ObjectContext ctx, java.lang.String name, int bldType)
           
QueryMap(ObjectContext ctx, java.lang.String name, int bldType, java.lang.String[][] substitutions)
           
QueryMap(ObjectContext ctx, java.lang.String name, java.lang.String[][] substitutions)
           
 
Method Summary
 Assembler[] getAssemblers()
           
 
Methods inherited from class org.hydrateframework.sql.ParsedQuery
addBatch, addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, execute, executeBatch, executeForDelete, executeForInsert, executeForUpdate, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMetaData, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, makeSql, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setConnection, setCursorName, setDate, setDate, setDelete, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setGenerateKey, setInsert, setInt, setLong, setMaxFieldSize, setMaxRows, setNull, setNull, setObject, setObject, setObject, setQueryTimeout, setRef, setSelect, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setUpdate, setUpdateBufferClass, setURL
 
Methods inherited from class org.hydrateframework.sql.AbstractParameterStatement
clearParameters, getParameterCount, getParameterName, getParameterNames, getParameterType, getUpdateStrategy, setBoolean, setDate, setDouble, setInt, setLong, setNull, setObject, setStatementUsage, setString, setUpdateStrategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hydrateframework.sql.NamedParameterStatement
executeForDelete, executeForInsert, executeForUpdate, getParameterCount, getParameterName, getParameterNames, getParameterType, getUpdateStrategy, setBoolean, setDate, setDouble, setInt, setLong, setNull, setObject, setStatementUsage, setString, setUpdateStrategy
 
Methods inherited from interface java.sql.PreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
 
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 

Constructor Detail

QueryMap

public QueryMap(ObjectContext ctx,
                java.lang.String name)
         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

QueryMap

public QueryMap(ObjectContext ctx,
                java.lang.String name,
                int bldType)
         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

QueryMap

public QueryMap(ObjectContext ctx,
                java.lang.String name,
                java.lang.String[][] substitutions)
         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

QueryMap

public QueryMap(ObjectContext ctx,
                java.lang.String name,
                int bldType,
                java.lang.String[][] substitutions)
         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException
Method Detail

getAssemblers

public Assembler[] getAssemblers()
                          throws java.sql.SQLException
Specified by:
getAssemblers in interface MappedStatement
Throws:
java.sql.SQLException


Copyright © 2000 The Hydrate Project. All Rights Reserved.