Class SYSDUMMY1RowFactory
- java.lang.Object
-
- org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
-
- org.apache.derby.impl.sql.catalog.SYSDUMMY1RowFactory
-
class SYSDUMMY1RowFactory extends CatalogRowFactory
Factory for creating a SYSDUMMY1 row.- Version:
- 0.01
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
SYSDUMMY1_COLUMN_COUNT
private static java.lang.String[]
uuids
-
Fields inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
dvf, heapUUID, indexColumnPositions, indexNames, indexUniqueness, indexUUID, tableUUID
-
-
Constructor Summary
Constructors Constructor Description SYSDUMMY1RowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemColumn[]
buildColumnList()
Builds a list of columns suitable for creating this Catalog.TupleDescriptor
buildDescriptor(ExecRow row, TupleDescriptor parentDesc, DataDictionary dd)
builds a tuple descriptor from a rowExecRow
makeRow(TupleDescriptor td, TupleDescriptor parent)
Make a SYSDUMMY1 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
-
SYSDUMMY1_COLUMN_COUNT
protected static final int SYSDUMMY1_COLUMN_COUNT
- See Also:
- Constant Field Values
-
uuids
private static final java.lang.String[] uuids
-
-
Constructor Detail
-
SYSDUMMY1RowFactory
SYSDUMMY1RowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf)
-
-
Method Detail
-
makeRow
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException
Make a SYSDUMMY1 row- Overrides:
makeRow
in classCatalogRowFactory
- Returns:
- Row suitable for inserting into SYSSTATISTICS.
- Throws:
StandardException
- thrown on failure
-
buildDescriptor
public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentDesc, DataDictionary dd) throws StandardException
Description copied from class:CatalogRowFactory
builds a tuple descriptor from a row- Specified by:
buildDescriptor
in classCatalogRowFactory
- Throws:
StandardException
-
buildColumnList
public SystemColumn[] buildColumnList()
Builds a list of columns suitable for creating this Catalog.- Specified by:
buildColumnList
in classCatalogRowFactory
- Returns:
- array of SystemColumn suitable for making this catalog.
-
-