|
||||||||||
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.SYSCOLUMNSRowFactory
Factory for creating a SYSCOLUMNS row.
Field Summary | |
protected static java.lang.String |
COLUMNDEFAULTID_STRING
|
private SystemColumn[] |
columnList
|
protected static java.lang.String |
COLUMNNAME_STRING
|
private static java.lang.String[][] |
indexColumnNames
|
private static int[][] |
indexColumnPositions
|
static java.lang.String |
OLD_REFERENCEID_NAME
Old name for REFERENCEID, used by upgrade |
protected static java.lang.String |
REFERENCEDID_STRING
|
protected static int |
SYSCOLUMNS_AUTOINCREMENTINC
|
protected static int |
SYSCOLUMNS_AUTOINCREMENTSTART
|
protected static int |
SYSCOLUMNS_AUTOINCREMENTVALUE
|
protected static int |
SYSCOLUMNS_COLUMN_COUNT
|
protected static int |
SYSCOLUMNS_COLUMNDATATYPE
|
protected static int |
SYSCOLUMNS_COLUMNDEFAULT
|
protected static int |
SYSCOLUMNS_COLUMNDEFAULTID
|
protected static int |
SYSCOLUMNS_COLUMNNAME
|
protected static int |
SYSCOLUMNS_COLUMNNUMBER
|
protected static int |
SYSCOLUMNS_INDEX1_ID
|
protected static int |
SYSCOLUMNS_INDEX2_ID
|
protected static int |
SYSCOLUMNS_REFERENCEID
|
protected static int |
SYSCOLUMNS_TABLEID
|
(package 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 | |
SYSCOLUMNSRowFactory(UUIDFactory uuidf,
ExecutionFactory ef,
DataValueFactory dvf,
boolean convertIdToLower)
|
|
SYSCOLUMNSRowFactory(UUIDFactory uuidf,
ExecutionFactory ef,
DataValueFactory dvf,
boolean convertIdToLower,
java.lang.String myName)
|
Method Summary | |
SystemColumn[] |
buildColumnList()
Builds a list of columns suitable for creating this Catalog. |
TupleDescriptor |
buildDescriptor(ExecRow row,
TupleDescriptor parentTupleDescriptor,
DataDictionary dd)
Make a ColumnDescriptor out of a SYSCOLUMNS row |
ExecIndexRow |
buildEmptyIndexRow(int indexNumber,
RowLocation rowLocation)
Builds an empty index 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. |
int |
getPrimaryKeyIndexNumber()
Get the index number for the primary key index on this catalog. |
ExecRow |
makeRow(TupleDescriptor td,
TupleDescriptor parent)
Make a SYSCOLUMNS row |
Methods inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory |
checkIndexNumber, convertIdCase, generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnNames, getIndexColumnPositions, getIndexName, getNumIndexes, getUUIDFactory, initInfo, isIndexUnique, makeEmptyRow |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final java.lang.String TABLENAME_STRING
public static final java.lang.String OLD_REFERENCEID_NAME
protected static final int SYSCOLUMNS_COLUMN_COUNT
protected static final int SYSCOLUMNS_TABLEID
protected static final int SYSCOLUMNS_REFERENCEID
protected static final int SYSCOLUMNS_COLUMNNAME
protected static final int SYSCOLUMNS_COLUMNNUMBER
protected static final int SYSCOLUMNS_COLUMNDATATYPE
protected static final int SYSCOLUMNS_COLUMNDEFAULT
protected static final int SYSCOLUMNS_COLUMNDEFAULTID
protected static final int SYSCOLUMNS_AUTOINCREMENTVALUE
protected static final int SYSCOLUMNS_AUTOINCREMENTSTART
protected static final int SYSCOLUMNS_AUTOINCREMENTINC
protected static final int SYSCOLUMNS_INDEX1_ID
protected static final int SYSCOLUMNS_INDEX2_ID
protected static final java.lang.String REFERENCEDID_STRING
protected static final java.lang.String COLUMNNAME_STRING
protected static final java.lang.String COLUMNDEFAULTID_STRING
private static final boolean[] uniqueness
private static final java.lang.String[] uuids
private static final int[][] indexColumnPositions
private static final java.lang.String[][] indexColumnNames
private SystemColumn[] columnList
Constructor Detail |
public SYSCOLUMNSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf, boolean convertIdToLower)
public SYSCOLUMNSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf, boolean convertIdToLower, java.lang.String myName)
Method Detail |
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException
makeRow
in class CatalogRowFactory
StandardException
- thrown on failurepublic java.util.Properties getCreateHeapProperties()
getCreateHeapProperties
in class CatalogRowFactory
public java.util.Properties getCreateIndexProperties(int indexNumber)
getCreateIndexProperties
in class CatalogRowFactory
indexNumber
- The specified index number.
public ExecIndexRow buildEmptyIndexRow(int indexNumber, RowLocation rowLocation) throws StandardException
buildEmptyIndexRow
in class CatalogRowFactory
indexNumber
- Index to build empty row for.rowLocation
- Row location for last column of index row
StandardException
- thrown on failurepublic TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException
buildDescriptor
in class CatalogRowFactory
row
- a SYSCOLUMNS rowparentTupleDescriptor
- The UniqueTupleDescriptor for the object that is tied
to this columndd
- dataDictionary
StandardException
- thrown on failurepublic int getPrimaryKeyIndexNumber()
getPrimaryKeyIndexNumber
in class CatalogRowFactory
public SystemColumn[] buildColumnList()
buildColumnList
in class CatalogRowFactory
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |