Class SYSSCHEMASRowFactory
java.lang.Object
org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
org.apache.derby.impl.sql.catalog.SYSSCHEMASRowFactory
Factory for creating a SYSSCHEMAS row.
- Version:
- 0.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int[][]static final intprotected static final intprotected static final intstatic final intstatic final intstatic 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
ConstructorsConstructorDescriptionSYSSCHEMASRowFactory(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 an Tuple Descriptor out of a SYSSCHEMAS rowmakeRow(TupleDescriptor td, TupleDescriptor parent) Make a SYSSCHEMAS 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:
-
SYSSCHEMAS_COLUMN_COUNT
public static final int SYSSCHEMAS_COLUMN_COUNT- See Also:
-
SYSSCHEMAS_SCHEMAID
public static final int SYSSCHEMAS_SCHEMAID- See Also:
-
SYSSCHEMAS_SCHEMANAME
public static final int SYSSCHEMAS_SCHEMANAME- See Also:
-
SYSSCHEMAS_SCHEMAAID
public static final int SYSSCHEMAS_SCHEMAAID- See Also:
-
SYSSCHEMAS_INDEX1_ID
protected static final int SYSSCHEMAS_INDEX1_ID- See Also:
-
SYSSCHEMAS_INDEX2_ID
protected static final int SYSSCHEMAS_INDEX2_ID- See Also:
-
indexColumnPositions
private static final int[][] indexColumnPositions -
uniqueness
private static final boolean[] uniqueness -
uuids
-
-
Constructor Details
-
SYSSCHEMASRowFactory
SYSSCHEMASRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) //////////////////////////////////////////////////////////////////////////
-
-
Method Details
-
makeRow
Make a SYSSCHEMAS row- Overrides:
makeRowin classCatalogRowFactory- Returns:
- Row suitable for inserting into SYSSCHEMAS.
- Throws:
StandardException- thrown on failure
-
buildDescriptor
public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException Make an Tuple Descriptor out of a SYSSCHEMAS row- Specified by:
buildDescriptorin classCatalogRowFactory- Parameters:
row- a SYSSCHEMAS rowparentTupleDescriptor- unuseddd- dataDictionary- Returns:
- a descriptor equivalent to a SYSSCHEMAS 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
-