Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.impl.sql.catalog
Class SYSFILESRowFactory  view SYSFILESRowFactory download SYSFILESRowFactory.java

java.lang.Object
  extended byorg.apache.derby.iapi.sql.dictionary.CatalogRowFactory
      extended byorg.apache.derby.impl.sql.catalog.SYSFILESRowFactory

public class SYSFILESRowFactory
extends org.apache.derby.iapi.sql.dictionary.CatalogRowFactory

Factory for creating a SYSFILES row.

Version:
0.1

Field Summary
protected static java.lang.String GENERATION_ID_COL_NAME
           
protected static int GENERATION_ID_COL_NUM
           
protected static java.lang.String ID_COL_NAME
           
protected static int ID_COL_NUM
           
private static java.lang.String[][] indexColumnNames
           
private static int[][] indexColumnPositions
           
protected static java.lang.String NAME_COL_NAME
           
protected static int NAME_COL_NUM
           
protected static java.lang.String SCHEMA_ID_COL_NAME
           
protected static int SCHEMA_ID_COL_NUM
           
protected static int SYSFILES_COLUMN_COUNT
           
protected static int SYSFILES_INDEX1_ID
           
protected static int SYSFILES_INDEX2_ID
           
protected 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
SYSFILESRowFactory(org.apache.derby.iapi.services.uuid.UUIDFactory uuidf, org.apache.derby.iapi.sql.execute.ExecutionFactory ef, org.apache.derby.iapi.types.DataValueFactory dvf, boolean convertIdToLower)
           
 
Method Summary
 org.apache.derby.iapi.sql.dictionary.SystemColumn[] buildColumnList()
          Builds a list of columns suitable for creating this Catalog.
 org.apache.derby.iapi.sql.dictionary.TupleDescriptor buildDescriptor(org.apache.derby.iapi.sql.execute.ExecRow row, org.apache.derby.iapi.sql.dictionary.TupleDescriptor parentTupleDescriptor, org.apache.derby.iapi.sql.dictionary.DataDictionary dd)
          Make a descriptor out of a SYSFILES row
 org.apache.derby.iapi.sql.execute.ExecIndexRow buildEmptyIndexRow(int indexNumber, org.apache.derby.iapi.types.RowLocation rowLocation)
          Builds an empty index row.
 org.apache.derby.iapi.sql.execute.ExecRow makeRow(org.apache.derby.iapi.sql.dictionary.TupleDescriptor td, org.apache.derby.iapi.sql.dictionary.TupleDescriptor parent)
          Make a SYSFILES row
 
Methods inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
checkIndexNumber, convertIdCase, generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getCreateHeapProperties, getCreateIndexProperties, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnNames, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique, makeEmptyRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLENAME_STRING

protected static final java.lang.String TABLENAME_STRING
See Also:
Constant Field Values

SYSFILES_COLUMN_COUNT

protected static final int SYSFILES_COLUMN_COUNT
See Also:
Constant Field Values

ID_COL_NUM

protected static final int ID_COL_NUM
See Also:
Constant Field Values

ID_COL_NAME

protected static final java.lang.String ID_COL_NAME
See Also:
Constant Field Values

SCHEMA_ID_COL_NUM

protected static final int SCHEMA_ID_COL_NUM
See Also:
Constant Field Values

SCHEMA_ID_COL_NAME

protected static final java.lang.String SCHEMA_ID_COL_NAME
See Also:
Constant Field Values

NAME_COL_NUM

protected static final int NAME_COL_NUM
See Also:
Constant Field Values

NAME_COL_NAME

protected static final java.lang.String NAME_COL_NAME
See Also:
Constant Field Values

GENERATION_ID_COL_NUM

protected static final int GENERATION_ID_COL_NUM
See Also:
Constant Field Values

GENERATION_ID_COL_NAME

protected static final java.lang.String GENERATION_ID_COL_NAME
See Also:
Constant Field Values

SYSFILES_INDEX1_ID

protected static final int SYSFILES_INDEX1_ID
See Also:
Constant Field Values

SYSFILES_INDEX2_ID

protected static final int SYSFILES_INDEX2_ID
See Also:
Constant Field Values

indexColumnPositions

private static final int[][] indexColumnPositions

indexColumnNames

private static final java.lang.String[][] indexColumnNames

uniqueness

private static final boolean[] uniqueness

uuids

private static final java.lang.String[] uuids
Constructor Detail

SYSFILESRowFactory

public SYSFILESRowFactory(org.apache.derby.iapi.services.uuid.UUIDFactory uuidf,
                          org.apache.derby.iapi.sql.execute.ExecutionFactory ef,
                          org.apache.derby.iapi.types.DataValueFactory dvf,
                          boolean convertIdToLower)
Method Detail

makeRow

public org.apache.derby.iapi.sql.execute.ExecRow makeRow(org.apache.derby.iapi.sql.dictionary.TupleDescriptor td,
                                                         org.apache.derby.iapi.sql.dictionary.TupleDescriptor parent)
                                                  throws org.apache.derby.iapi.error.StandardException
Make a SYSFILES row


buildEmptyIndexRow

public org.apache.derby.iapi.sql.execute.ExecIndexRow buildEmptyIndexRow(int indexNumber,
                                                                         org.apache.derby.iapi.types.RowLocation rowLocation)
                                                                  throws org.apache.derby.iapi.error.StandardException
Builds an empty index row.


buildDescriptor

public org.apache.derby.iapi.sql.dictionary.TupleDescriptor buildDescriptor(org.apache.derby.iapi.sql.execute.ExecRow row,
                                                                            org.apache.derby.iapi.sql.dictionary.TupleDescriptor parentTupleDescriptor,
                                                                            org.apache.derby.iapi.sql.dictionary.DataDictionary dd)
                                                                     throws org.apache.derby.iapi.error.StandardException
Make a descriptor out of a SYSFILES row


buildColumnList

public org.apache.derby.iapi.sql.dictionary.SystemColumn[] buildColumnList()
Builds a list of columns suitable for creating this Catalog.