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 SYSVIEWSRowFactory  view SYSVIEWSRowFactory download SYSVIEWSRowFactory.java

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

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

Factory for creating a SYSVIEWS row.


Field Summary
private static java.lang.String[][] indexColumnNames
           
private static int[][] indexColumnPositions
           
protected static int SYSVIEWS_CHECKOPTION
           
protected static int SYSVIEWS_COLUMN_COUNT
           
protected static int SYSVIEWS_COMPILATION_SCHEMAID
           
protected static int SYSVIEWS_INDEX1_ID
           
protected static int SYSVIEWS_TABLEID
           
protected static int SYSVIEWS_TABLEID_WIDTH
           
protected static int SYSVIEWS_VIEWDEFINITION
           
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
SYSVIEWSRowFactory(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 ViewDescriptor out of a SYSVIEWS row
 org.apache.derby.iapi.sql.execute.ExecIndexRow buildEmptyIndexRow(int indexNumber, org.apache.derby.iapi.types.RowLocation rowLocation)
          Builds an empty index row.
 int heapColumnCount()
           
 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 SYSVIEWS 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

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

SYSVIEWS_COLUMN_COUNT

protected static final int SYSVIEWS_COLUMN_COUNT
See Also:
Constant Field Values

SYSVIEWS_TABLEID

protected static final int SYSVIEWS_TABLEID
See Also:
Constant Field Values

SYSVIEWS_VIEWDEFINITION

protected static final int SYSVIEWS_VIEWDEFINITION
See Also:
Constant Field Values

SYSVIEWS_CHECKOPTION

protected static final int SYSVIEWS_CHECKOPTION
See Also:
Constant Field Values

SYSVIEWS_COMPILATION_SCHEMAID

protected static final int SYSVIEWS_COMPILATION_SCHEMAID
See Also:
Constant Field Values

SYSVIEWS_TABLEID_WIDTH

protected static final int SYSVIEWS_TABLEID_WIDTH
See Also:
Constant Field Values

SYSVIEWS_INDEX1_ID

protected static final int SYSVIEWS_INDEX1_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

SYSVIEWSRowFactory

public SYSVIEWSRowFactory(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 SYSVIEWS 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 ViewDescriptor out of a SYSVIEWS row


buildColumnList

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


heapColumnCount

public int heapColumnCount()