Class SYSFILESRowFactory
java.lang.Object
org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
org.apache.derby.impl.sql.catalog.SYSFILESRowFactory
Factory for creating a SYSFILES row.
- Version:
- 0.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final intprivate static final Stringprivate static final intprivate static final int[][]private static final Stringprivate static final intprivate static final Stringprivate static final intprivate static final int(package private) static final int(package private) static final intprivate static final Stringprivate static final boolean[]private static final String[]Fields inherited from class CatalogRowFactory
dvf, heapUUID, indexNames, indexUniqueness, indexUUID, tableUUID -
Constructor Summary
ConstructorsConstructorDescriptionSYSFILESRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) ////////////////////////////////////////////////////////////////////////// -
Method Summary
Modifier and TypeMethodDescriptionBuilds a list of columns suitable for creating this Catalog.buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) Make a descriptor out of a SYSFILES rowmakeRow(TupleDescriptor td, TupleDescriptor parent) Make a SYSFILES rowMethods inherited from class CatalogRowFactory
generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getCreateHeapProperties, getCreateIndexProperties, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique, makeEmptyRow, makeEmptyRowForCurrentVersion
-
Field Details
-
TABLENAME_STRING
- See Also:
-
SYSFILES_COLUMN_COUNT
private static final int SYSFILES_COLUMN_COUNT- See Also:
-
ID_COL_NUM
private static final int ID_COL_NUM- See Also:
-
ID_COL_NAME
- See Also:
-
SCHEMA_ID_COL_NUM
private static final int SCHEMA_ID_COL_NUM- See Also:
-
SCHEMA_ID_COL_NAME
- See Also:
-
NAME_COL_NUM
private static final int NAME_COL_NUM- See Also:
-
NAME_COL_NAME
- See Also:
-
GENERATION_ID_COL_NUM
private static final int GENERATION_ID_COL_NUM- See Also:
-
GENERATION_ID_COL_NAME
- See Also:
-
SYSFILES_INDEX1_ID
static final int SYSFILES_INDEX1_ID- See Also:
-
SYSFILES_INDEX2_ID
static final int SYSFILES_INDEX2_ID- See Also:
-
indexColumnPositions
private static final int[][] indexColumnPositions -
uniqueness
private static final boolean[] uniqueness -
uuids
-
-
Constructor Details
-
SYSFILESRowFactory
SYSFILESRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) //////////////////////////////////////////////////////////////////////////
-
-
Method Details
-
makeRow
Make a SYSFILES row- Overrides:
makeRowin classCatalogRowFactory- Returns:
- Row suitable for inserting into SYSFILES
- Throws:
StandardException- thrown on failure
-
buildDescriptor
public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException Make a descriptor out of a SYSFILES row- Specified by:
buildDescriptorin classCatalogRowFactory- Parameters:
row- a rowparentTupleDescriptor- Null for this kind of descriptor.dd- dataDictionary- Returns:
- a descriptor equivalent to a row
- Throws:
StandardException- thrown on failure
-
buildColumnList
Builds a list of columns suitable for creating this Catalog.- Specified by:
buildColumnListin classCatalogRowFactory- Returns:
- array of SystemColumn suitable for making this catalog.
- Throws:
StandardException
-