Class ValidateCheckConstraintResultSet

  • All Implemented Interfaces:
    java.lang.Cloneable, CursorResultSet, NoPutResultSet, ResultSet, RowLocationRetRowSource, RowSource

    final class ValidateCheckConstraintResultSet
    extends TableScanResultSet
    implements CursorResultSet, java.lang.Cloneable
    Special result set used when checking deferred CHECK constraints. Activated by a special --DERBY_PROPERTY validateCheckConstraint=<baseTableUUIDString> override on a SELECT query, cf DeferredConstraintsMemory#validateCheck. It relies on having a correct row location set prior to invoking getNewtRowCore, cf. the special code path in ProjectRestrictResultSet#getNextRowCore activated by #validatingCheckConstraint.
    • Constructor Detail

      • ValidateCheckConstraintResultSet

        ValidateCheckConstraintResultSet​(long conglomId,
                                         StaticCompiledOpenConglomInfo scoci,
                                         Activation activation,
                                         int resultRowTemplate,
                                         int resultSetNumber,
                                         GeneratedMethod startKeyGetter,
                                         int startSearchOperator,
                                         GeneratedMethod stopKeyGetter,
                                         int stopSearchOperator,
                                         boolean sameStartStopPosition,
                                         Qualifier[][] qualifiers,
                                         java.lang.String tableName,
                                         java.lang.String userSuppliedOptimizerOverrides,
                                         java.lang.String indexName,
                                         boolean isConstraint,
                                         boolean forUpdate,
                                         int colRefItem,
                                         int indexColItem,
                                         int lockMode,
                                         boolean tableLocked,
                                         int isolationLevel,
                                         int rowsPerRead,
                                         boolean oneRowScan,
                                         double optimizerEstimatedRowCount,
                                         double optimizerEstimatedCost)
                                  throws StandardException
        Throws:
        StandardException