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

pack-priv Class SYSDUMMY1RowFactory

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

Factory for creating a SYSDUMMY1 row.
Version
0.01

Field Summary

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

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 row, TupleDescriptor parentDesc, DataDictionary dd)

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

builds a tuple descriptor from a row

public ExecRow

Returns:

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

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

Make a SYSDUMMY1 row

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

Field Detail

SYSDUMMY1_COLUMN_COUNTback to summary
protected static final int SYSDUMMY1_COLUMN_COUNT
uuidsback to summary
private static final String[] uuids

Constructor Detail

SYSDUMMY1RowFactoryback to summary
pack-priv SYSDUMMY1RowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf)

Method Detail

buildColumnListback to summary
public SystemColumn[] buildColumnList()

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 parentDesc, DataDictionary dd) throws StandardException

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

Doc from org.apache.derby.iapi.sql.dictionary.CatalogRowFactory.buildDescriptor.

builds a tuple descriptor from a row

makeRowback to summary
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException

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

Make a SYSDUMMY1 row

Returns:ExecRow

Row suitable for inserting into SYSSTATISTICS.

Exceptions
StandardException:
thrown on failure