Class SYSCONGLOMERATESRowFactory
java.lang.Object
org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
org.apache.derby.impl.sql.catalog.SYSCONGLOMERATESRowFactory
Factory for creating a SYSCONGLOMERATES row.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int[][]protected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected 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
ConstructorsConstructorDescriptionSYSCONGLOMERATESRowFactory(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) builds a tuple descriptor from a rowprotected StringGet the conglomerate's name of the row.protected UUIDGet the conglomerate's UUID of the row.Get the Properties associated with creating the heap.getCreateIndexProperties(int indexNumber) Get the Properties associated with creating the specified index.protected UUIDgetSchemaUUID(ExecRow row) Get the schema's UUID from the row.protected UUIDgetTableUUID(ExecRow row) Get the table's UUID from the row.Return an empty row for this conglomerate.makeRow(TupleDescriptor td, TupleDescriptor parent) Make a SYSCONGLOMERATES rowMethods inherited from class CatalogRowFactory
generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique, makeEmptyRowForCurrentVersion
-
Field Details
-
TABLENAME_STRING
- See Also:
-
SYSCONGLOMERATES_COLUMN_COUNT
protected static final int SYSCONGLOMERATES_COLUMN_COUNT- See Also:
-
SYSCONGLOMERATES_SCHEMAID
protected static final int SYSCONGLOMERATES_SCHEMAID- See Also:
-
SYSCONGLOMERATES_TABLEID
protected static final int SYSCONGLOMERATES_TABLEID- See Also:
-
SYSCONGLOMERATES_CONGLOMERATENUMBER
protected static final int SYSCONGLOMERATES_CONGLOMERATENUMBER- See Also:
-
SYSCONGLOMERATES_CONGLOMERATENAME
protected static final int SYSCONGLOMERATES_CONGLOMERATENAME- See Also:
-
SYSCONGLOMERATES_ISINDEX
protected static final int SYSCONGLOMERATES_ISINDEX- See Also:
-
SYSCONGLOMERATES_DESCRIPTOR
protected static final int SYSCONGLOMERATES_DESCRIPTOR- See Also:
-
SYSCONGLOMERATES_ISCONSTRAINT
protected static final int SYSCONGLOMERATES_ISCONSTRAINT- See Also:
-
SYSCONGLOMERATES_CONGLOMERATEID
protected static final int SYSCONGLOMERATES_CONGLOMERATEID- See Also:
-
SYSCONGLOMERATES_INDEX1_ID
protected static final int SYSCONGLOMERATES_INDEX1_ID- See Also:
-
SYSCONGLOMERATES_INDEX2_ID
protected static final int SYSCONGLOMERATES_INDEX2_ID- See Also:
-
SYSCONGLOMERATES_INDEX3_ID
protected static final int SYSCONGLOMERATES_INDEX3_ID- See Also:
-
uniqueness
private static final boolean[] uniqueness -
indexColumnPositions
private static final int[][] indexColumnPositions -
uuids
-
-
Constructor Details
-
SYSCONGLOMERATESRowFactory
SYSCONGLOMERATESRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf)
-
-
Method Details
-
makeRow
Make a SYSCONGLOMERATES row- Overrides:
makeRowin classCatalogRowFactory- Returns:
- Row suitable for inserting into SYSCONGLOMERATES.
- Throws:
StandardException- thrown on failure
-
makeEmptyRow
Description copied from class:CatalogRowFactoryReturn an empty row for this conglomerate.- Overrides:
makeEmptyRowin classCatalogRowFactory- Throws:
StandardException
-
getCreateHeapProperties
Get the Properties associated with creating the heap.- Overrides:
getCreateHeapPropertiesin classCatalogRowFactory- Returns:
- The Properties associated with creating the heap.
-
getCreateIndexProperties
Get the Properties associated with creating the specified index.- Overrides:
getCreateIndexPropertiesin classCatalogRowFactory- Parameters:
indexNumber- The specified index number.- Returns:
- The Properties associated with creating the specified index.
-
buildDescriptor
public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException Description copied from class:CatalogRowFactorybuilds a tuple descriptor from a row- Specified by:
buildDescriptorin classCatalogRowFactory- Parameters:
row- a SYSCOLUMNS rowparentTupleDescriptor- Null for this kind of descriptor.dd- dataDictionary- Returns:
- a conglomerate descriptor equivalent to a SYSCONGOMERATES row
- Throws:
StandardException- thrown on failure
-
getConglomerateUUID
Get the conglomerate's UUID of the row.- Parameters:
row- The row from sysconglomerates- Returns:
- UUID The conglomerates UUID
- Throws:
StandardException- thrown on failure
-
getTableUUID
Get the table's UUID from the row.- Parameters:
row- The row from sysconglomerates- Returns:
- UUID The table's UUID
- Throws:
StandardException- thrown on failure
-
getSchemaUUID
Get the schema's UUID from the row.- Parameters:
row- The row from sysconglomerates- Returns:
- UUID The schema's UUID
- Throws:
StandardException- thrown on failure
-
getConglomerateName
Get the conglomerate's name of the row.- Parameters:
row- The row from sysconglomerates- Returns:
- String The conglomerates name
- 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
-