📄 resultsetfactory.java
字号:
@param resultSetNumber The resultSetNumber for the ResultSet @param subqueryNumber The subquery number for this subquery. @param pointOfAttachment The point of attachment for this subquery. @param optimizerEstimatedRowCount Estimated total # of rows by optimizer @param optimizerEstimatedCost Estimated total cost by optimizer @return the once operation as a result set. @exception StandardException thrown when unable to create the result set */ NoPutResultSet getOnceResultSet(NoPutResultSet source, Activation activation, GeneratedMethod emptyRowFun, int cardinalityCheck, int resultSetNumber, int subqueryNumber, int pointOfAttachment, double optimizerEstimatedRowCount, double optimizerEstimatedCost) throws StandardException; /** A row result set forms a result set on a single, known row value. It is used to turn constant rows into result sets for use in the result set paradigm. The row can be constructed when it is requested from the result set. @param activation the activation for this result set, against which the row operation is performed to create the result set. @param row a reference to a method in the activation that creates the expected row. <verbatim> ExecRow row() throws StandardException; </verbatim> @param canCacheRow True if execution can cache the input row after it has gotten it. If the input row is constructed soley of constants or parameters, it is ok to cache this row rather than recreating it each time it is requested. @param resultSetNumber The resultSetNumber for the ResultSet @param optimizerEstimatedRowCount Estimated total # of rows by optimizer @param optimizerEstimatedCost Estimated total cost by optimizer @param closeCleanup any cleanup the activation needs to do on close. @return the row as a result set. @exception StandardException thrown when unable to create the result set */ NoPutResultSet getRowResultSet(Activation activation, GeneratedMethod row, boolean canCacheRow, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardException; /** A VTI result set wraps a user supplied result set. @param activation the activation for this result set, against which the row operation is performed to create the result set. @param row a reference to a method in the activation that creates the expected row. <verbatim> ExecRow row() throws StandardException; </verbatim> @param resultSetNumber The resultSetNumber for the ResultSet @param constructor The GeneratedMethod for the user's constructor @param javaClassName The java class name for the VTI @param erdNumber int for referenced column BitSet (so it can be turned back into an object) @param version2 Whether or not VTI is a version 2 VTI. @param isTarget Whether or not VTI is a target VTI. @param optimizerEstimatedRowCount Estimated total # of rows by optimizer @param optimizerEstimatedCost Estimated total cost by optimizer @param closeCleanup any cleanup the activation needs to do on close. @return the row as a result set. @exception StandardException thrown when unable to create the result set */ public NoPutResultSet getVTIResultSet(Activation activation, GeneratedMethod row, int resultSetNumber, GeneratedMethod constructor, String javaClassName, Qualifier[][] pushedQualifiers, int erdNumber, boolean version2, boolean reuseablePs, int ctcNumber, boolean isTarget, int scanIsolationLevel, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardException; /** A hash result set forms a result set on a hash table built on a scan of a table. The rows are put into the hash table on the 1st open. <p> @param conglomId the conglomerate of the table to be scanned. @param scociItem The saved item for the static conglomerate info. @param activation the activation for this result set, which provides the context for the row allocation operation. @param resultRowAllocator a reference to a method in the activation that creates a holder for the rows from the scan. <verbatim> ExecRow rowAllocator() throws StandardException; </verbatim> @param resultSetNumber The resultSetNumber for the ResultSet @param startKeyGetter a reference to a method in the activation that gets the start key indexable row for the scan. Null means there is no start key. <verbatim> ExecIndexRow startKeyGetter() throws StandardException; </verbatim> @param startSearchOperator The start search operator for opening the scan @param stopKeyGetter a reference to a method in the activation that gets the stop key indexable row for the scan. Null means there is no stop key. <verbatim> ExecIndexRow stopKeyGetter() throws StandardException; </verbatim> @param stopSearchOperator The stop search operator for opening the scan @param sameStartStopPosition Re-use the startKeyGetter for the stopKeyGetter (Exact match search.) @param scanQualifiers the array of Qualifiers for the scan. Null or an array length of zero means there are no qualifiers. @param nextQualifiers the array of Qualifiers for the look up into the hash table. @param initialCapacity The initialCapacity for the HashTable. @param loadFactor The loadFactor for the HashTable. @param maxCapacity The maximum size for the HashTable. @param hashKeyColumn The 0-based column # for the hash key. @param tableName The full name of the table @param indexName The name of the index, if one used to access table. @param isConstraint If index, if used, is a backing index for a constraint. @param forUpdate True means open for update @param colRefItem An saved item for a bitSet of columns that are referenced in the underlying table. -1 if no item. @param lockMode The lock granularity to use (see TransactionController in access) @param tableLocked Whether or not the table is marked as using table locking (in sys.systables) @param isolationLevel Isolation level (specified or not) to use on scans @param optimizerEstimatedRowCount Estimated total # of rows by optimizer @param optimizerEstimatedCost Estimated total cost by optimizer @param closeCleanup any cleanup the activation needs to do on close. @return the table scan operation as a result set. @exception StandardException thrown when unable to create the result set */ NoPutResultSet getHashScanResultSet( long conglomId, int scociItem, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qualifier[][] scanQualifiers, Qualifier[][] nextQualifiers, int initialCapacity, float loadFactor, int maxCapacity, int hashKeyColumn, String tableName, String indexName, boolean isConstraint, boolean forUpdate, int colRefItem, int indexColItem, int lockMode, boolean tableLocked, int isolationLevel, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardException; /** A distinct scan result set pushes duplicate elimination into the scan. <p> @param conglomId the conglomerate of the table to be scanned. @param scociItem The saved item for the static conglomerate info. @param activation the activation for this result set, which provides the context for the row allocation operation. @param resultRowAllocator a reference to a method in the activation that creates a holder for the rows from the scan. <verbatim> ExecRow rowAllocator() throws StandardException; </verbatim> @param resultSetNumber The resultSetNumber for the ResultSet @param hashKeyColumn The 0-based column # for the hash key. @param tableName The full name of the table @param indexName The name of the index, if one used to access table. @param isConstraint If index, if used, is a backing index for a constraint. @param colRefItem An saved item for a bitSet of columns that are referenced in the underlying table. -1 if no item. @param lockMode The lock granularity to use (see TransactionController in access) @param tableLocked Whether or not the table is marked as using table locking (in sys.systables) @param isolationLevel Isolation level (specified or not) to use on scans @param optimizerEstimatedRowCount Estimated total # of rows by optimizer @param optimizerEstimatedCost Estimated total cost by optimizer @param closeCleanup any cleanup the activation needs to do on close. @return the table scan operation as a result set. @exception StandardException thrown when unable to create the result set */ NoPutResultSet getDistinctScanResultSet( long conglomId, int scociItem, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, int hashKeyColumn, String tableName, String indexName, boolean isConstraint, int colRefItem, int lockMode, boolean tableLocked, int isolationLevel, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardException; /** A table scan result set forms a result set on a scan of a table. The rows can be constructed as they are requested from the result set. <p> This form of the table scan operation is simple, and is to be used when there are no predicates to be passed down to the scan to limit its scope on the target table. @param conglomId the conglomerate of the table to be scanned. @param scociItem The saved item for the static conglomerate info. @param activation the activation for this result set, which provides the context for the row allocation operation. @param resultRowAllocator a reference to a method in the activation that creates a holder for the result row of the scan. May be a partial row. <verbatim> ExecRow rowAllocator() throws StandardException; </verbatim> @param resultSetNumber The resultSetNumber for the ResultSet @param startKeyGetter a reference to a method in the activation that gets the start key indexable row for the scan. Null means there is no start key. <verbatim> ExecIndexRow startKeyGetter() throws StandardException; </verbatim> @param startSearchOperator The start search operator for opening the scan @param stopKeyGetter a reference to a method in the activation that gets the stop key indexable row for the scan. Null means there is no stop key. <verbatim> ExecIndexRow stopKeyGetter() throws StandardException; </verbatim> @param stopSearchOperator The stop search operator for opening the scan @param sameStartStopPosition Re-use the startKeyGetter for the stopKeyGetter (Exact match search.) @param qualifiers the array of Qualifiers for the scan. Null or an array length of zero means there are no qualifiers. @param tableName The full name of the table @param indexName The name of the index, if one used to access table. @param isConstraint If index, if used, is a backing index for a constraint. @param forUpdate True means open for update @param colRefItem An saved item for a bitSet of columns that are referenced in the underlying table. -1 if no item. @param lockMode The lock granularity to use (see TransactionController in access) @param tableLocked Whether or not the table is marked as using table locking (in sys.systables) @param isolationLevel Isolation level (specified or not) to use on scans @param oneRowScan Whether or not this is a 1 row scan. @param optimizerEstimatedRowCount Estimated total # of rows by optimizer @param optimizerEstimatedCost Estimated total cost by optimizer @param closeCleanup any cleanup the activation needs to do on close. @return the table scan operation as a result set. @exception StandardException thrown when unable to create the result set */ NoPutResultSet getTableScanResultSet( long conglomId, int scociItem, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -