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

pack-priv Class SYSFILESRowFactory

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

Factory for creating a SYSFILES row.
Version
0.1

Field Summary

Modifier and TypeField and Description
private static final String
private static final int
private static final String
private static final int
private static final int[][]
private static final String
private static final int
private static final String
private static final int
private static final int
pack-priv static final int
pack-priv 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 row
buildDescriptor
(ExecRow
a 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 descriptor out of a SYSFILES row

public ExecRow

Returns:

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

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

Make a SYSFILES row

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

Field Detail

GENERATION_ID_COL_NAMEback to summary
private static final String GENERATION_ID_COL_NAME
GENERATION_ID_COL_NUMback to summary
private static final int GENERATION_ID_COL_NUM
ID_COL_NAMEback to summary
private static final String ID_COL_NAME
ID_COL_NUMback to summary
private static final int ID_COL_NUM
indexColumnPositionsback to summary
private static final int[][] indexColumnPositions

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

NAME_COL_NAMEback to summary
private static final String NAME_COL_NAME
NAME_COL_NUMback to summary
private static final int NAME_COL_NUM
SCHEMA_ID_COL_NAMEback to summary
private static final String SCHEMA_ID_COL_NAME
SCHEMA_ID_COL_NUMback to summary
private static final int SCHEMA_ID_COL_NUM
SYSFILES_COLUMN_COUNTback to summary
private static final int SYSFILES_COLUMN_COUNT
SYSFILES_INDEX1_IDback to summary
pack-priv static final int SYSFILES_INDEX1_ID
SYSFILES_INDEX2_IDback to summary
pack-priv static final int SYSFILES_INDEX2_ID
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

SYSFILESRowFactoryback to summary
pack-priv SYSFILESRowFactory(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 descriptor out of a SYSFILES row

Parameters
row:ExecRow

a row

parentTupleDescriptor:TupleDescriptor

Null for this kind of descriptor.

dd:DataDictionary

dataDictionary

Returns:TupleDescriptor

a descriptor equivalent to a 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 SYSFILES row

Returns:ExecRow

Row suitable for inserting into SYSFILES

Exceptions
StandardException:
thrown on failure