| java.lang.Object org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl org.apache.derby.impl.sql.execute.NoPutResultSetImpl org.apache.derby.impl.sql.execute.DependentResultSet
DependentResultSet | class DependentResultSet extends NoPutResultSetImpl implements CursorResultSet(Code) | | DependentResultSet should be used by only ON DELETE CASCADE/ON DELETE SET NULL ref
actions implementation to gather the rows from the dependent tables.
Idea is to scan the foreign key index for the rows in
the source table matelized temporary result set. Scanning of foreign key index gives us the
rows that needs to be deleted on dependent tables. Using the row location
we got from the index , base row is fetched.
|
Constructor Summary | |
| DependentResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qualifier[][] qualifiers, String tableName, String userSuppliedOptimizerOverrides, String indexName, boolean isConstraint, boolean forUpdate, int colRefItem, int lockMode, boolean tableLocked, int isolationLevel, int rowsPerRead, boolean oneRowScan, double optimizerEstimatedRowCount, double optimizerEstimatedCost, String parentResultSetId, long fkIndexConglomId, int fkColArrayItem, int rltItem) |
coarserLock | public boolean coarserLock(Code) | | |
conglomId | protected long conglomId(Code) | | |
deferred | boolean deferred(Code) | | |
firstScan | protected boolean firstScan(Code) | | |
fkColArray | int[] fkColArray(Code) | | |
forUpdate | public boolean forUpdate(Code) | | |
isConstraint | public boolean isConstraint(Code) | | |
isKeyed | protected boolean isKeyed(Code) | | |
isolationLevel | public int isolationLevel(Code) | | |
lockMode | public int lockMode(Code) | | |
numFkColumns | int numFkColumns(Code) | | |
oneRowScan | public boolean oneRowScan(Code) | | |
rowsPerRead | public int rowsPerRead(Code) | | |
rowsThisScan | protected long rowsThisScan(Code) | | |
runTimeStatisticsOn | protected boolean runTimeStatisticsOn(Code) | | |
sArrayIndex | int sArrayIndex(Code) | | |
scanControllerOpened | protected boolean scanControllerOpened(Code) | | |
sourceOpened | int[] sourceOpened(Code) | | |
startSearchOperator | protected int startSearchOperator(Code) | | |
stopSearchOperator | protected int stopSearchOperator(Code) | | |
userSuppliedOptimizerOverrides | public String userSuppliedOptimizerOverrides(Code) | | |
DependentResultSet | DependentResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qualifier[][] qualifiers, String tableName, String userSuppliedOptimizerOverrides, String indexName, boolean isConstraint, boolean forUpdate, int colRefItem, int lockMode, boolean tableLocked, int isolationLevel, int rowsPerRead, boolean oneRowScan, double optimizerEstimatedRowCount, double optimizerEstimatedCost, String parentResultSetId, long fkIndexConglomId, int fkColArrayItem, int rltItem) throws StandardException(Code) | | |
getTimeSpent | public long getTimeSpent(int type)(Code) | | |
printQualifiers | public String printQualifiers()(Code) | | Return an array of Qualifiers as a String
|
|
|