com.iplanet.jato.model.sql
Class SelectQueryExecutionContext
java.lang.Object
|
+--com.iplanet.jato.model.ModelExecutionContextBase
|
+--com.iplanet.jato.model.DatasetModelExecutionContextImpl
|
+--com.iplanet.jato.model.sql.DatasetSQLModelExecutionContext
|
+--com.iplanet.jato.model.sql.SelectQueryExecutionContext
- All Implemented Interfaces:
- DatasetModelExecutionContext, ModelExecutionContext, SQLModelExecutionContext
- public class SelectQueryExecutionContext
- extends DatasetSQLModelExecutionContext
Execution context tailored for use with SELECT SQL queries. Note: this class
currently adds no behavior above that provided by its base class. In the
future, this class will provide methods that allow a model's SELECT
statement to be customized for execution. These features are currently
awaiting support from the QueryModelBase
class. We recommend
that for semantic consistency, developers use this class when executing
SQL SELECTs instead of DatasetSQLModelExecutionContext
.
- Version:
- JATO/1.2.2 $Id: SelectQueryExecutionContext.java,v 1.7 2002/03/16 03:26:33 todd Exp $
- See Also:
DatasetSQLModelExecutionContext
Constructor Summary |
SelectQueryExecutionContext()
Default constructor |
SelectQueryExecutionContext(java.sql.Connection connection)
Constructs an instance using the specified connection object
The operation name is implicitly set to
ModelExecutionContext.OPERATION_RETRIEVE . |
SelectQueryExecutionContext(java.sql.Connection connection,
int datasetOffset,
int datasetSize)
Constructs an instance using the specified connection object, dataset
offset and size |
SelectQueryExecutionContext(java.sql.Statement statement)
Constructs an instance using the specified statement object
The operation name is implicitly set to
ModelExecutionContext.OPERATION_RETRIEVE . |
SelectQueryExecutionContext(java.sql.Statement statement,
int datasetOffset,
int datasetSize)
Constructs an instance using the specified statement object, dataset
offset and size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectQueryExecutionContext
public SelectQueryExecutionContext()
- Default constructor
SelectQueryExecutionContext
public SelectQueryExecutionContext(java.sql.Connection connection)
- Constructs an instance using the specified connection object
The operation name is implicitly set to
ModelExecutionContext.OPERATION_RETRIEVE
.
The dataset offset is implicitly set to
DatasetModelExecutionContext.DATASET_OFFSET_BEGINNING
.
The dataset size is implicitly set to
DatasetModelExecutionContext.DATASET_SIZE_ALL_INCREMENTAL
.
SelectQueryExecutionContext
public SelectQueryExecutionContext(java.sql.Connection connection,
int datasetOffset,
int datasetSize)
- Constructs an instance using the specified connection object, dataset
offset and size
SelectQueryExecutionContext
public SelectQueryExecutionContext(java.sql.Statement statement)
- Constructs an instance using the specified statement object
The operation name is implicitly set to
ModelExecutionContext.OPERATION_RETRIEVE
.
The dataset offset is implicitly set to
DatasetModelExecutionContext.DATASET_OFFSET_BEGINNING
.
The dataset size is implicitly set to
DatasetModelExecutionContext.DATASET_SIZE_ALL_INCREMENTAL
.
SelectQueryExecutionContext
public SelectQueryExecutionContext(java.sql.Statement statement,
int datasetOffset,
int datasetSize)
- Constructs an instance using the specified statement object, dataset
offset and size