|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.iapi.sql.dictionary.CatalogRowFactory
org.apache.derby.impl.sql.catalog.SYSCONGLOMERATESRowFactory
public class SYSCONGLOMERATESRowFactory
Factory for creating a SYSCONGLOMERATES row.
| Field Summary | |
|---|---|
private static int[][] |
indexColumnPositions
|
protected static int |
SYSCONGLOMERATES_COLUMN_COUNT
|
protected static int |
SYSCONGLOMERATES_CONGLOMERATEID
|
protected static int |
SYSCONGLOMERATES_CONGLOMERATENAME
|
protected static int |
SYSCONGLOMERATES_CONGLOMERATENUMBER
|
protected static int |
SYSCONGLOMERATES_DESCRIPTOR
|
protected static int |
SYSCONGLOMERATES_INDEX1_ID
|
protected static int |
SYSCONGLOMERATES_INDEX2_ID
|
protected static int |
SYSCONGLOMERATES_INDEX3_ID
|
protected static int |
SYSCONGLOMERATES_ISCONSTRAINT
|
protected static int |
SYSCONGLOMERATES_ISINDEX
|
protected static int |
SYSCONGLOMERATES_SCHEMAID
|
protected static int |
SYSCONGLOMERATES_TABLEID
|
private static java.lang.String |
TABLENAME_STRING
|
private static boolean[] |
uniqueness
|
private static java.lang.String[] |
uuids
|
| Fields inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory |
|---|
dvf, heapUUID, indexNames, indexUniqueness, indexUUID, tableUUID |
| Constructor Summary | |
|---|---|
SYSCONGLOMERATESRowFactory(UUIDFactory uuidf,
ExecutionFactory ef,
DataValueFactory dvf)
|
|
| Method Summary | |
|---|---|
SystemColumn[] |
buildColumnList()
Builds a list of columns suitable for creating this Catalog. |
TupleDescriptor |
buildDescriptor(ExecRow row,
TupleDescriptor parentTupleDescriptor,
DataDictionary dd)
builds a tuple descriptor from a row |
protected java.lang.String |
getConglomerateName(ExecRow row)
Get the conglomerate's name of the row. |
protected UUID |
getConglomerateUUID(ExecRow row)
Get the conglomerate's UUID of the row. |
java.util.Properties |
getCreateHeapProperties()
Get the Properties associated with creating the heap. |
java.util.Properties |
getCreateIndexProperties(int indexNumber)
Get the Properties associated with creating the specified index. |
protected UUID |
getSchemaUUID(ExecRow row)
Get the schema's UUID from the row. |
protected UUID |
getTableUUID(ExecRow row)
Get the table's UUID from the row. |
ExecRow |
makeEmptyRow()
Return an empty row for this conglomerate. |
ExecRow |
makeRow(TupleDescriptor td,
TupleDescriptor parent)
Make a SYSCONGLOMERATES row |
| Methods inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory |
|---|
generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String TABLENAME_STRING
protected static final int SYSCONGLOMERATES_COLUMN_COUNT
protected static final int SYSCONGLOMERATES_SCHEMAID
protected static final int SYSCONGLOMERATES_TABLEID
protected static final int SYSCONGLOMERATES_CONGLOMERATENUMBER
protected static final int SYSCONGLOMERATES_CONGLOMERATENAME
protected static final int SYSCONGLOMERATES_ISINDEX
protected static final int SYSCONGLOMERATES_DESCRIPTOR
protected static final int SYSCONGLOMERATES_ISCONSTRAINT
protected static final int SYSCONGLOMERATES_CONGLOMERATEID
protected static final int SYSCONGLOMERATES_INDEX1_ID
protected static final int SYSCONGLOMERATES_INDEX2_ID
protected static final int SYSCONGLOMERATES_INDEX3_ID
private static final boolean[] uniqueness
private static final int[][] indexColumnPositions
private static final java.lang.String[] uuids
| Constructor Detail |
|---|
SYSCONGLOMERATESRowFactory(UUIDFactory uuidf,
ExecutionFactory ef,
DataValueFactory dvf)
| Method Detail |
|---|
public ExecRow makeRow(TupleDescriptor td,
TupleDescriptor parent)
throws StandardException
makeRow in class CatalogRowFactoryStandardException - thrown on failure
public ExecRow makeEmptyRow()
throws StandardException
CatalogRowFactory
makeEmptyRow in class CatalogRowFactoryStandardExceptionpublic java.util.Properties getCreateHeapProperties()
getCreateHeapProperties in class CatalogRowFactorypublic java.util.Properties getCreateIndexProperties(int indexNumber)
getCreateIndexProperties in class CatalogRowFactoryindexNumber - The specified index number.
public TupleDescriptor buildDescriptor(ExecRow row,
TupleDescriptor parentTupleDescriptor,
DataDictionary dd)
throws StandardException
CatalogRowFactory
buildDescriptor in class CatalogRowFactoryrow - a SYSCOLUMNS rowparentTupleDescriptor - Null for this kind of descriptor.dd - dataDictionary
StandardException - thrown on failure
protected UUID getConglomerateUUID(ExecRow row)
throws StandardException
row - The row from sysconglomerates
StandardException - thrown on failure
protected UUID getTableUUID(ExecRow row)
throws StandardException
row - The row from sysconglomerates
StandardException - thrown on failure
protected UUID getSchemaUUID(ExecRow row)
throws StandardException
row - The row from sysconglomerates
StandardException - thrown on failure
protected java.lang.String getConglomerateName(ExecRow row)
throws StandardException
row - The row from sysconglomerates
StandardException - thrown on failure
public SystemColumn[] buildColumnList()
throws StandardException
buildColumnList in class CatalogRowFactoryStandardException
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||