Class SYSCHECKSRowFactory
java.lang.Object
org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
org.apache.derby.impl.sql.catalog.SYSCHECKSRowFactory
Factory for creating a SYSCHECKS row.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int[][]
private static final int
private static final int
private static final int
(package private) static final int
private static final int
private static final String
private static final boolean[]
private static final String[]
Fields inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
dvf, heapUUID, indexNames, indexUniqueness, indexUUID, tableUUID
-
Constructor Summary
ConstructorsConstructorDescriptionSYSCHECKSRowFactory
(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) -
Method Summary
Modifier and TypeMethodDescriptionBuilds a list of columns suitable for creating this Catalog.buildDescriptor
(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) Make a ViewDescriptor out of a SYSCHECKS rowmakeRow
(TupleDescriptor td, TupleDescriptor parent) Make a SYSCHECKS rowMethods inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getCreateHeapProperties, getCreateIndexProperties, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique, makeEmptyRow, makeEmptyRowForCurrentVersion
-
Field Details
-
TABLENAME_STRING
- See Also:
-
SYSCHECKS_COLUMN_COUNT
private static final int SYSCHECKS_COLUMN_COUNT- See Also:
-
SYSCHECKS_CONSTRAINTID
private static final int SYSCHECKS_CONSTRAINTID- See Also:
-
SYSCHECKS_CHECKDEFINITION
private static final int SYSCHECKS_CHECKDEFINITION- See Also:
-
SYSCHECKS_REFERENCEDCOLUMNS
private static final int SYSCHECKS_REFERENCEDCOLUMNS- See Also:
-
SYSCHECKS_INDEX1_ID
static final int SYSCHECKS_INDEX1_ID- See Also:
-
uniqueness
private static final boolean[] uniqueness -
indexColumnPositions
private static final int[][] indexColumnPositions -
uuids
-
-
Constructor Details
-
SYSCHECKSRowFactory
SYSCHECKSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf)
-
-
Method Details
-
makeRow
Make a SYSCHECKS row- Overrides:
makeRow
in classCatalogRowFactory
- Parameters:
td
- CheckConstraintDescriptorImpl- Returns:
- Row suitable for inserting into SYSCHECKS.
- Throws:
StandardException
- thrown on failure
-
buildDescriptor
public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException Make a ViewDescriptor out of a SYSCHECKS row- Specified by:
buildDescriptor
in classCatalogRowFactory
- Parameters:
row
- a SYSCHECKS rowparentTupleDescriptor
- Null for this kind of descriptor.dd
- dataDictionary- Throws:
StandardException
- thrown on failure
-
buildColumnList
Builds a list of columns suitable for creating this Catalog.- Specified by:
buildColumnList
in classCatalogRowFactory
- Returns:
- array of SystemColumn suitable for making this catalog.
- Throws:
StandardException
-