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

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

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

Factory for creating a SYSCONGLOMERATES row.


Field Summary
private static java.lang.String[][] indexColumnNames
           
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
(package private) SYSCONGLOMERATESRowFactory(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)
          builds a tuple descriptor from a row
 org.apache.derby.iapi.sql.execute.ExecIndexRow buildEmptyIndexRow(int indexNumber, org.apache.derby.iapi.types.RowLocation rowLocation)
          Builds an empty index row.
protected  java.lang.String getConglomerateName(org.apache.derby.iapi.sql.execute.ExecRow row)
          Get the conglomerate's name of the row.
protected  org.apache.derby.catalog.UUID getConglomerateUUID(org.apache.derby.iapi.sql.execute.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  org.apache.derby.catalog.UUID getSchemaUUID(org.apache.derby.iapi.sql.execute.ExecRow row)
          Get the schema's UUID from the row.
protected  org.apache.derby.catalog.UUID getTableUUID(org.apache.derby.iapi.sql.execute.ExecRow row)
          Get the table's UUID from the row.
 org.apache.derby.iapi.sql.execute.ExecRow makeEmptyRow()
          Return an empty row for this conglomerate.
 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 SYSCONGLOMERATES 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, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique
 
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

SYSCONGLOMERATES_COLUMN_COUNT

protected static final int SYSCONGLOMERATES_COLUMN_COUNT
See Also:
Constant Field Values

SYSCONGLOMERATES_SCHEMAID

protected static final int SYSCONGLOMERATES_SCHEMAID
See Also:
Constant Field Values

SYSCONGLOMERATES_TABLEID

protected static final int SYSCONGLOMERATES_TABLEID
See Also:
Constant Field Values

SYSCONGLOMERATES_CONGLOMERATENUMBER

protected static final int SYSCONGLOMERATES_CONGLOMERATENUMBER
See Also:
Constant Field Values

SYSCONGLOMERATES_CONGLOMERATENAME

protected static final int SYSCONGLOMERATES_CONGLOMERATENAME
See Also:
Constant Field Values

SYSCONGLOMERATES_ISINDEX

protected static final int SYSCONGLOMERATES_ISINDEX
See Also:
Constant Field Values

SYSCONGLOMERATES_DESCRIPTOR

protected static final int SYSCONGLOMERATES_DESCRIPTOR
See Also:
Constant Field Values

SYSCONGLOMERATES_ISCONSTRAINT

protected static final int SYSCONGLOMERATES_ISCONSTRAINT
See Also:
Constant Field Values

SYSCONGLOMERATES_CONGLOMERATEID

protected static final int SYSCONGLOMERATES_CONGLOMERATEID
See Also:
Constant Field Values

SYSCONGLOMERATES_INDEX1_ID

protected static final int SYSCONGLOMERATES_INDEX1_ID
See Also:
Constant Field Values

SYSCONGLOMERATES_INDEX2_ID

protected static final int SYSCONGLOMERATES_INDEX2_ID
See Also:
Constant Field Values

SYSCONGLOMERATES_INDEX3_ID

protected static final int SYSCONGLOMERATES_INDEX3_ID
See Also:
Constant Field Values

uniqueness

private static final boolean[] uniqueness

indexColumnPositions

private static final int[][] indexColumnPositions

indexColumnNames

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

uuids

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

SYSCONGLOMERATESRowFactory

SYSCONGLOMERATESRowFactory(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 SYSCONGLOMERATES row


makeEmptyRow

public org.apache.derby.iapi.sql.execute.ExecRow makeEmptyRow()
                                                       throws org.apache.derby.iapi.error.StandardException
Description copied from class: org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
Return an empty row for this conglomerate.


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.


getCreateHeapProperties

public java.util.Properties getCreateHeapProperties()
Get the Properties associated with creating the heap.


getCreateIndexProperties

public java.util.Properties getCreateIndexProperties(int indexNumber)
Get the Properties associated with creating the specified index.


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
Description copied from class: org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
builds a tuple descriptor from a row


getConglomerateUUID

protected org.apache.derby.catalog.UUID getConglomerateUUID(org.apache.derby.iapi.sql.execute.ExecRow row)
                                                     throws org.apache.derby.iapi.error.StandardException
Get the conglomerate's UUID of the row.


getTableUUID

protected org.apache.derby.catalog.UUID getTableUUID(org.apache.derby.iapi.sql.execute.ExecRow row)
                                              throws org.apache.derby.iapi.error.StandardException
Get the table's UUID from the row.


getSchemaUUID

protected org.apache.derby.catalog.UUID getSchemaUUID(org.apache.derby.iapi.sql.execute.ExecRow row)
                                               throws org.apache.derby.iapi.error.StandardException
Get the schema's UUID from the row.


getConglomerateName

protected java.lang.String getConglomerateName(org.apache.derby.iapi.sql.execute.ExecRow row)
                                        throws org.apache.derby.iapi.error.StandardException
Get the conglomerate's name of the row.


buildColumnList

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