org.apache.derby.impl.sql.catalog
Class SYSCONSTRAINTSRowFactory
- java.lang.Object
-
- org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
-
- org.apache.derby.impl.sql.catalog.SYSCONSTRAINTSRowFactory
-
public class SYSCONSTRAINTSRowFactory extends CatalogRowFactory
Factory for creating a SYSCONTRAINTS row.
-
-
Field Summary
Fields Modifier and Type Field and Description static intSYSCONSTRAINTS_STATE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description SystemColumn[]buildColumnList()Builds a list of columns suitable for creating this Catalog.TupleDescriptorbuildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd)Make a ConstraintDescriptor out of a SYSCONSTRAINTS rowExecRowmakeRow(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, makeEmptyRowForCurrentVersion
-
-
-
-
Field Detail
-
SYSCONSTRAINTS_STATE
public static final int SYSCONSTRAINTS_STATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
makeRow
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException
Make a SYSCONTRAINTS row- Overrides:
makeRowin classCatalogRowFactory- Returns:
- Row suitable for inserting into SYSCONTRAINTS.
- Throws:
StandardException- thrown on failure
-
buildDescriptor
public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException
Make a ConstraintDescriptor out of a SYSCONSTRAINTS row- Specified by:
buildDescriptorin classCatalogRowFactory- Parameters:
row- a SYSCONSTRAINTS rowparentTupleDescriptor- Subconstraint descriptor with auxiliary info.dd- dataDictionary- Throws:
StandardException- thrown on failure
-
buildColumnList
public SystemColumn[] buildColumnList()
Builds a list of columns suitable for creating this Catalog.- Specified by:
buildColumnListin classCatalogRowFactory- Returns:
- array of SystemColumn suitable for making this catalog.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG