org.apache.derby.impl.sql.catalog
Class SYSDUMMY1RowFactory

java.lang.Object
  extended by org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
      extended by org.apache.derby.impl.sql.catalog.SYSDUMMY1RowFactory

 class SYSDUMMY1RowFactory
extends CatalogRowFactory

Factory for creating a SYSDUMMY1 row.

Version:
0.01

Field Summary
protected static int SYSDUMMY1_COLUMN_COUNT
           
private static java.lang.String[] uuids
           
 
Fields inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
dvf, heapUUID, indexColumnPositions, indexNames, indexUniqueness, indexUUID, tableUUID
 
Constructor Summary
SYSDUMMY1RowFactory(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 parentDesc, DataDictionary dd)
          builds a tuple descriptor from a row
 ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent)
          Make a SYSDUMMY1 row
 
Methods inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getCreateHeapProperties, getCreateIndexProperties, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, 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

SYSDUMMY1_COLUMN_COUNT

protected static final int SYSDUMMY1_COLUMN_COUNT
See Also:
Constant Field Values

uuids

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

SYSDUMMY1RowFactory

SYSDUMMY1RowFactory(UUIDFactory uuidf,
                    ExecutionFactory ef,
                    DataValueFactory dvf)
Method Detail

makeRow

public ExecRow makeRow(TupleDescriptor td,
                       TupleDescriptor parent)
                throws StandardException
Make a SYSDUMMY1 row

Overrides:
makeRow in class CatalogRowFactory
Returns:
Row suitable for inserting into SYSSTATISTICS.
Throws:
StandardException - thrown on failure

buildDescriptor

public TupleDescriptor buildDescriptor(ExecRow row,
                                       TupleDescriptor parentDesc,
                                       DataDictionary dd)
                                throws StandardException
Description copied from class: CatalogRowFactory
builds a tuple descriptor from a row

Specified by:
buildDescriptor in class CatalogRowFactory
Throws:
StandardException

buildColumnList

public SystemColumn[] buildColumnList()
Builds a list of columns suitable for creating this Catalog.

Specified by:
buildColumnList in class CatalogRowFactory
Returns:
array of SystemColumn suitable for making this catalog.

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.