|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.iapi.sql.dictionary.CatalogRowFactory
org.apache.derby.impl.sql.catalog.SYSCONSTRAINTSRowFactory
public class SYSCONSTRAINTSRowFactory
Factory for creating a SYSCONTRAINTS row.
Field Summary | |
---|---|
private static int[][] |
indexColumnPositions
|
protected static int |
SYSCONSTRAINTS_COLUMN_COUNT
|
protected static int |
SYSCONSTRAINTS_CONSTRAINTID
|
protected static int |
SYSCONSTRAINTS_CONSTRAINTNAME
|
protected static int |
SYSCONSTRAINTS_INDEX1_ID
|
protected static int |
SYSCONSTRAINTS_INDEX2_ID
|
protected static int |
SYSCONSTRAINTS_INDEX3_ID
|
protected static int |
SYSCONSTRAINTS_REFERENCECOUNT
|
protected static int |
SYSCONSTRAINTS_SCHEMAID
|
protected static int |
SYSCONSTRAINTS_STATE
|
protected static int |
SYSCONSTRAINTS_TABLEID
|
protected static int |
SYSCONSTRAINTS_TYPE
|
private static java.lang.String |
TABLENAME_STRING
|
private static boolean[] |
uniqueness
|
private static java.lang.String[] |
uuids
|
Fields inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory |
---|
dvf, heapUUID, indexNames, indexUniqueness, indexUUID, tableUUID |
Constructor Summary | |
---|---|
SYSCONSTRAINTSRowFactory(UUIDFactory uuidf,
ExecutionFactory ef,
DataValueFactory dvf)
|
Method Summary | |
---|---|
SystemColumn[] |
buildColumnList()
Builds a list of columns suitable for creating this Catalog. |
TupleDescriptor |
buildDescriptor(ExecRow row,
TupleDescriptor parentTupleDescriptor,
DataDictionary dd)
Make a ConstraintDescriptor out of a SYSCONSTRAINTS row |
protected UUID |
getConstraintId(ExecRow row)
Get the constraint ID of the row. |
protected java.lang.String |
getConstraintName(ExecRow row)
Get the constraint name of the row. |
protected int |
getConstraintType(ExecRow row)
Get the constraint type out of the row. |
protected UUID |
getSchemaId(ExecRow row)
Get the schema ID of the row. |
protected UUID |
getTableId(ExecRow row)
Get the table ID of the row. |
ExecRow |
makeRow(TupleDescriptor td,
TupleDescriptor parent)
Make a SYSCONTRAINTS row |
Methods 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String TABLENAME_STRING
protected static final int SYSCONSTRAINTS_COLUMN_COUNT
protected static final int SYSCONSTRAINTS_CONSTRAINTID
protected static final int SYSCONSTRAINTS_TABLEID
protected static final int SYSCONSTRAINTS_CONSTRAINTNAME
protected static final int SYSCONSTRAINTS_TYPE
protected static final int SYSCONSTRAINTS_SCHEMAID
protected static final int SYSCONSTRAINTS_STATE
protected static final int SYSCONSTRAINTS_REFERENCECOUNT
protected static final int SYSCONSTRAINTS_INDEX1_ID
protected static final int SYSCONSTRAINTS_INDEX2_ID
protected static final int SYSCONSTRAINTS_INDEX3_ID
private static final boolean[] uniqueness
private static final int[][] indexColumnPositions
private static final java.lang.String[] uuids
Constructor Detail |
---|
SYSCONSTRAINTSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf)
Method Detail |
---|
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 SYSCONSTRAINTS rowparentTupleDescriptor
- Subconstraint descriptor with auxiliary info.dd
- dataDictionary
StandardException
- thrown on failureprotected UUID getConstraintId(ExecRow row) throws StandardException
row
- The row from sysconstraints
StandardException
- thrown on failureprotected java.lang.String getConstraintName(ExecRow row) throws StandardException
row
- The row from sysconstraints
StandardException
- thrown on failureprotected UUID getSchemaId(ExecRow row) throws StandardException
row
- The row from sysconstraints
StandardException
- thrown on failureprotected UUID getTableId(ExecRow row) throws StandardException
row
- The row from sysconstraints
StandardException
- thrown on failureprotected int getConstraintType(ExecRow row) throws StandardException
row
- The row from sysconstraints
StandardException
- thrown on failurepublic SystemColumn[] buildColumnList()
buildColumnList
in class CatalogRowFactory
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |