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

Fields inherited from interface com.iplanet.jato.model.ModelExecutionContext
OPERATION_DELETE, OPERATION_EXECUTE, OPERATION_INSERT, OPERATION_RETRIEVE, OPERATION_UPDATE
 
Fields inherited from interface com.iplanet.jato.model.DatasetModelExecutionContext
DATASET_OFFSET_BEGINNING, DATASET_OFFSET_END, DATASET_SIZE_ALL_INCREMENTAL, DATASET_SIZE_ALL_PREFETCH
 
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 com.iplanet.jato.model.sql.DatasetSQLModelExecutionContext
getConnection, getStatement, setConnection, setStatement
 
Methods inherited from class com.iplanet.jato.model.DatasetModelExecutionContextImpl
getDatasetOffset, getDatasetSize, setDatasetOffset, setDatasetSize
 
Methods inherited from class com.iplanet.jato.model.ModelExecutionContextBase
getOperationName, setOperationName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.iplanet.jato.model.ModelExecutionContext
getOperationName
 

Constructor Detail

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