|
Transfer version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
transfer.com.sql.Query
public class Query
Object for maintaining a SQL query state
| Constructor Summary | |
|---|---|
init(QueryExecutionPool queryExecPool)
Constructor |
|
| Method Summary | |
|---|---|
void |
appendSQL(string sql)
append some sql |
private array |
createArrayList()
use arraylists, as we want to pass by reference |
QueryExecution |
createExecution()
create a query execution for this query |
struct |
getCurrentEvaluationBlock()
gets the latest eval block |
private array |
getQueryCollection()
|
private QueryExecutionPool |
getQueryExecutionPool()
|
private any |
getSQLBuffer()
|
void |
mapParam(string name, string type)
maps a parameter |
private void |
populateNextEvaluation()
populates the next evaluation |
private void |
populateNextQuery()
sets up the next query block |
private void |
setQueryCollection(array QueryCollection)
|
private void |
setQueryExecutionPool(QueryExecutionPool QueryExecutionPool)
|
private void |
setSQLBuffer(any SQLBuffer)
|
void |
start()
Start a new query |
void |
stop()
stop building your query execution |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(QueryExecutionPool queryExecPool)
queryExecPool - the query execution pool| Method Detail |
|---|
public void appendSQL(string sql)
sql - private array createArrayList()
public QueryExecution createExecution()
public struct getCurrentEvaluationBlock()
private array getQueryCollection()
private QueryExecutionPool getQueryExecutionPool()
private any getSQLBuffer()
public void mapParam(string name, string type)
name - the name of the parametertype - the type of the param, string, numeric, GUID, UUID, boolean, dateprivate void populateNextEvaluation()
private void populateNextQuery()
private void setQueryCollection(array QueryCollection)
QueryCollectionprivate void setQueryExecutionPool(QueryExecutionPool QueryExecutionPool)
QueryExecutionPoolprivate void setSQLBuffer(any SQLBuffer)
SQLBufferpublic void start()
public void stop()
|
Transfer version 1.1 | ||||
| FRAMES | |||||