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 int
protected static final int
protected static final int
static final int
static final int
static final int
private static final String
private static final boolean[]
private static final String[]
Fields inherited from class org.apache.derby.iapi.sql.dictionary.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 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 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:
makeRow
in 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:
buildDescriptor
in 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:
buildColumnList
in classCatalogRowFactory
- Returns:
- array of SystemColumn suitable for making this catalog.
- Throws:
StandardException
-