Top Description Fields Constructors Methods
org.apache.derby.impl.sql.catalog

public Class SYSDEPENDSRowFactory

extends CatalogRowFactory
Class Inheritance
Imports
java.sql.Types, org.apache.derby.catalog.DependableFinder, .TypeDescriptor, .UUID, org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.reference.SQLState, org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.iapi.services.uuid.UUIDFactory, org.apache.derby.iapi.sql.dictionary.CatalogRowFactory, .DataDictionary, .DependencyDescriptor, .SystemColumn, .TupleDescriptor, org.apache.derby.iapi.sql.execute.ExecRow, .ExecutionFactory, org.apache.derby.iapi.types.DataValueDescriptor, .DataValueFactory, .SQLChar, .UserType

Factory for creating a SYSDEPENDSS row.

Field Summary

Modifier and TypeField and Description
private static final int[][]
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
private static final String
private static final boolean[]
private static final String[]
Inherited from org.apache.derby.iapi.sql.dictionary.CatalogRowFactory:
dvfheapUUIDindexNamesindexUniquenessindexUUIDtableUUID

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public SystemColumn[]

Returns:

array of SystemColumn suitable for making this catalog.
buildColumnList
()

Implements abstract org.apache.derby.iapi.sql.dictionary.CatalogRowFactory.buildColumnList.

Builds a list of columns suitable for creating this Catalog.

public TupleDescriptor
buildDescriptor(ExecRow
a SYSDEPENDSS row
row
,
TupleDescriptor
Null for this kind of descriptor.
parentTupleDescriptor
,
DataDictionary
dataDictionary
dd
)

Implements abstract org.apache.derby.iapi.sql.dictionary.CatalogRowFactory.buildDescriptor.

Make a ConstraintDescriptor out of a SYSDEPENDS row

public ExecRow

Returns:

Row suitable for inserting into SYSDEPENDS.
makeRow
(TupleDescriptor
DependencyDescriptor. If its null then we want to make an empty row.
td
,
TupleDescriptor parent)

Overrides org.apache.derby.iapi.sql.dictionary.CatalogRowFactory.makeRow.

Make a SYSDEPENDS row

Inherited from org.apache.derby.iapi.sql.dictionary.CatalogRowFactory:
generateIndexNamegetCanonicalHeapNamegetCanonicalHeapUUIDgetCanonicalIndexUUIDgetCanonicalTableUUIDgetCatalogNamegetCreateHeapPropertiesgetCreateIndexPropertiesgetDataValueFactorygetExecutionFactorygetHeapColumnCountgetIndexColumnCountgetIndexColumnPositionsgetIndexNamegetNumIndexesgetPrimaryKeyIndexNumbergetUUIDFactoryinitInfoisIndexUniquemakeEmptyRowmakeEmptyRowForCurrentVersion

Field Detail

indexColumnPositionsback to summary
private static final int[][] indexColumnPositions

Hides org.apache.derby.iapi.sql.dictionary.CatalogRowFactory.indexColumnPositions.

SYSDEPENDS_COLUMN_COUNTback to summary
protected static final int SYSDEPENDS_COLUMN_COUNT
SYSDEPENDS_DEPENDENTIDback to summary
protected static final int SYSDEPENDS_DEPENDENTID
SYSDEPENDS_DEPENDENTTYPEback to summary
protected static final int SYSDEPENDS_DEPENDENTTYPE
SYSDEPENDS_INDEX1_IDback to summary
protected static final int SYSDEPENDS_INDEX1_ID
SYSDEPENDS_INDEX2_IDback to summary
protected static final int SYSDEPENDS_INDEX2_ID
SYSDEPENDS_PROVIDERIDback to summary
protected static final int SYSDEPENDS_PROVIDERID
SYSDEPENDS_PROVIDERTYPEback to summary
protected static final int SYSDEPENDS_PROVIDERTYPE
TABLENAME_STRINGback to summary
private static final String TABLENAME_STRING
uniquenessback to summary
private static final boolean[] uniqueness
uuidsback to summary
private static final String[] uuids

Constructor Detail

SYSDEPENDSRowFactoryback to summary
pack-priv SYSDEPENDSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf)

Method Detail

buildColumnListback to summary
public SystemColumn[] buildColumnList() throws StandardException

Implements abstract org.apache.derby.iapi.sql.dictionary.CatalogRowFactory.buildColumnList.

Builds a list of columns suitable for creating this Catalog.

Returns:SystemColumn[]

array of SystemColumn suitable for making this catalog.

buildDescriptorback to summary
public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException

Implements abstract org.apache.derby.iapi.sql.dictionary.CatalogRowFactory.buildDescriptor.

Make a ConstraintDescriptor out of a SYSDEPENDS row

Parameters
row:ExecRow

a SYSDEPENDSS row

parentTupleDescriptor:TupleDescriptor

Null for this kind of descriptor.

dd:DataDictionary

dataDictionary

Exceptions
StandardException:
thrown on failure
makeRowback to summary
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException

Overrides org.apache.derby.iapi.sql.dictionary.CatalogRowFactory.makeRow.

Make a SYSDEPENDS row

Parameters
td:TupleDescriptor

DependencyDescriptor. If its null then we want to make an empty row.

Returns:ExecRow

Row suitable for inserting into SYSDEPENDS.

Exceptions
StandardException:
thrown on failure