public class SYSFOREIGNKEYSRowFactory extends CatalogRowFactory
Modifier and Type | Field | Description |
---|---|---|
private static int[][] |
indexColumnPositions |
|
protected static int |
SYSFOREIGNKEYS_COLUMN_COUNT |
|
protected static int |
SYSFOREIGNKEYS_CONGLOMERATEID |
|
protected static int |
SYSFOREIGNKEYS_CONSTRAINTID |
|
protected static int |
SYSFOREIGNKEYS_CONSTRAINTID_WIDTH |
|
protected static int |
SYSFOREIGNKEYS_DELETERULE |
|
protected static int |
SYSFOREIGNKEYS_INDEX1_ID |
|
protected static int |
SYSFOREIGNKEYS_INDEX2_ID |
|
protected static int |
SYSFOREIGNKEYS_KEYCONSTRAINTID |
|
protected static int |
SYSFOREIGNKEYS_UPDATERULE |
|
private static java.lang.String |
TABLENAME_STRING |
|
private static boolean[] |
uniqueness |
|
private static java.lang.String[] |
uuids |
dvf, heapUUID, indexNames, indexUniqueness, indexUUID, tableUUID
Constructor | Description |
---|---|
SYSFOREIGNKEYSRowFactory(UUIDFactory uuidf,
ExecutionFactory ef,
DataValueFactory dvf) |
Modifier and Type | Method | Description |
---|---|---|
SystemColumn[] |
buildColumnList() |
Builds a list of columns suitable for creating this Catalog.
|
TupleDescriptor |
buildDescriptor(ExecRow row,
TupleDescriptor parentTupleDescriptor,
DataDictionary dd) |
Make a ViewDescriptor out of a SYSFOREIGNKEYS row
|
(package private) int |
getRefActionAsInt(java.lang.String raRuleString) |
|
(package private) java.lang.String |
getRefActionAsString(int raRule) |
|
ExecRow |
makeRow(TupleDescriptor td,
TupleDescriptor parent) |
Make a SYSFOREIGNKEYS row
|
generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getCreateHeapProperties, getCreateIndexProperties, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique, makeEmptyRow, makeEmptyRowForCurrentVersion
private static final java.lang.String TABLENAME_STRING
protected static final int SYSFOREIGNKEYS_COLUMN_COUNT
protected static final int SYSFOREIGNKEYS_CONSTRAINTID
protected static final int SYSFOREIGNKEYS_CONGLOMERATEID
protected static final int SYSFOREIGNKEYS_KEYCONSTRAINTID
protected static final int SYSFOREIGNKEYS_DELETERULE
protected static final int SYSFOREIGNKEYS_UPDATERULE
protected static final int SYSFOREIGNKEYS_CONSTRAINTID_WIDTH
protected static final int SYSFOREIGNKEYS_INDEX1_ID
protected static final int SYSFOREIGNKEYS_INDEX2_ID
private static final int[][] indexColumnPositions
private static final boolean[] uniqueness
private static final java.lang.String[] uuids
SYSFOREIGNKEYSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf)
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException
makeRow
in class CatalogRowFactory
StandardException
- thrown on failurepublic TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException
buildDescriptor
in class CatalogRowFactory
row
- a SYSFOREIGNKEYS rowparentTupleDescriptor
- Null for this kind of descriptor.dd
- dataDictionaryStandardException
- thrown on failurepublic SystemColumn[] buildColumnList() throws StandardException
buildColumnList
in class CatalogRowFactory
StandardException
int getRefActionAsInt(java.lang.String raRuleString)
java.lang.String getRefActionAsString(int raRule)
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.