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

public Class SYSSCHEMASRowFactory

extends CatalogRowFactory
Class Inheritance
Imports
org.apache.derby.iapi.types.DataTypeDescriptor, .SQLChar, .SQLVarchar, .TypeId, .DataValueDescriptor, .TypeId, .DataValueFactory, .RowLocation, org.apache.derby.iapi.sql.dictionary.SystemColumn, .CatalogRowFactory, .DataDescriptorGenerator, .DataDictionary, .SchemaDescriptor, .TupleDescriptor, org.apache.derby.catalog.TypeDescriptor, .UUID, org.apache.derby.iapi.sql.execute.ExecutionFactory, .ExecIndexRow, .ExecRow, org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.services.monitor.Monitor, org.apache.derby.iapi.services.uuid.UUIDFactory, org.apache.derby.shared.common.sanity.SanityManager

Factory for creating a SYSSCHEMAS row.
Version
0.1

Field Summary

Modifier and TypeField and Description
private static final int[][]
public static final int
protected static final int
protected static final int
public static final int
public static final int
public 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

Returns:

a descriptor equivalent to a SYSSCHEMAS row
buildDescriptor
(ExecRow
a SYSSCHEMAS row
row
,
TupleDescriptor
unused
parentTupleDescriptor
,
DataDictionary
dataDictionary
dd
)

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

Make an Tuple Descriptor out of a SYSSCHEMAS row

public ExecRow

Returns:

Row suitable for inserting into SYSSCHEMAS.
makeRow
(TupleDescriptor td, TupleDescriptor parent)

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

Make a SYSSCHEMAS 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.

SYSSCHEMAS_COLUMN_COUNTback to summary
public static final int SYSSCHEMAS_COLUMN_COUNT
SYSSCHEMAS_INDEX1_IDback to summary
protected static final int SYSSCHEMAS_INDEX1_ID
SYSSCHEMAS_INDEX2_IDback to summary
protected static final int SYSSCHEMAS_INDEX2_ID
SYSSCHEMAS_SCHEMAAIDback to summary
public static final int SYSSCHEMAS_SCHEMAAID
SYSSCHEMAS_SCHEMAIDback to summary
public static final int SYSSCHEMAS_SCHEMAID
SYSSCHEMAS_SCHEMANAMEback to summary
public static final int SYSSCHEMAS_SCHEMANAME
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

SYSSCHEMASRowFactoryback to summary
pack-priv SYSSCHEMASRowFactory(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 an Tuple Descriptor out of a SYSSCHEMAS row

Parameters
row:ExecRow

a SYSSCHEMAS row

parentTupleDescriptor:TupleDescriptor

unused

dd:DataDictionary

dataDictionary

Returns:TupleDescriptor

a descriptor equivalent to a SYSSCHEMAS row

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 SYSSCHEMAS row

Returns:ExecRow

Row suitable for inserting into SYSSCHEMAS.

Exceptions
StandardException:
thrown on failure