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

java.lang.Object
  extended byorg.apache.derby.impl.sql.catalog.TabInfoImpl
All Implemented Interfaces:
org.apache.derby.iapi.sql.dictionary.TabInfo

public class TabInfoImpl
extends java.lang.Object
implements org.apache.derby.iapi.sql.dictionary.TabInfo

A poor mans structure used in DataDictionaryImpl.java. Used to save heapId, name pairs for non core tables.


Field Summary
private  boolean computedStreamStorableHeapColIds
           
private  org.apache.derby.iapi.sql.dictionary.CatalogRowFactory crf
           
private  org.apache.derby.iapi.sql.execute.ExecutionFactory executionFactory
           
private  long heapConglomerate
           
private  boolean heapSet
           
private  IndexInfoImpl[] indexes
           
private  java.lang.String name
           
private  int numIndexesSet
           
private  int[] streamStorableHeapColIds
           
private  org.apache.derby.catalog.UUID uuid
           
 
Fields inherited from interface org.apache.derby.iapi.sql.dictionary.TabInfo
ROWNOTDUPLICATE
 
Constructor Summary
TabInfoImpl(org.apache.derby.iapi.sql.dictionary.CatalogRowFactory crf)
          Constructor
 
Method Summary
 int deleteRow(org.apache.derby.iapi.store.access.TransactionController tc, org.apache.derby.iapi.sql.execute.ExecIndexRow key, int indexNumber)
          LOCKING: row locking if there there is a key
 int deleteRows(org.apache.derby.iapi.store.access.TransactionController tc, org.apache.derby.iapi.sql.execute.ExecIndexRow startKey, int startOp, org.apache.derby.iapi.store.access.Qualifier[][] qualifier, org.apache.derby.iapi.sql.execute.TupleFilter filter, org.apache.derby.iapi.sql.execute.ExecIndexRow stopKey, int stopOp, int indexNumber)
          LOCKING: row locking if there is both a start and stop key; otherwise table locking
 int getBaseColumnPosition(int indexNumber, int colNumber)
          Get the base column position for a column within a catalog given the (0-based) index number for this catalog and the (0-based) column number for the column within the index.
 org.apache.derby.iapi.sql.dictionary.CatalogRowFactory getCatalogRowFactory()
          Get the CatalogRowFactory for this TabInfo.
 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.
 long getHeapConglomerate()
          Get the conglomerate for the heap.
 int getIndexColumnCount(int indexNumber)
          Get the column count for the specified index number.
 long getIndexConglomerate(int indexID)
          Get the conglomerate for the specified index.
 java.lang.String getIndexName(int indexId)
          Get the index name.
private  org.apache.derby.iapi.sql.execute.ExecIndexRow getIndexRowFromHeapRow(org.apache.derby.iapi.sql.dictionary.IndexRowGenerator irg, org.apache.derby.iapi.types.RowLocation rl, org.apache.derby.iapi.sql.execute.ExecRow heapRow)
          Get an index row based on a row from the heap.
 org.apache.derby.iapi.sql.dictionary.IndexRowGenerator getIndexRowGenerator(int indexNumber)
          Get the IndexRowGenerator for the specified index number.
 int getNumberOfIndexes()
          Get the number of indexes on this catalog.
 org.apache.derby.iapi.sql.execute.ExecRow getRow(org.apache.derby.iapi.store.access.TransactionController tc, org.apache.derby.iapi.store.access.ConglomerateController heapCC, org.apache.derby.iapi.sql.execute.ExecIndexRow key, int indexNumber)
          Given a key row, return the first matching heap row.
 org.apache.derby.iapi.sql.execute.ExecRow getRow(org.apache.derby.iapi.store.access.TransactionController tc, org.apache.derby.iapi.sql.execute.ExecIndexRow key, int indexNumber)
          Given a key row, return the first matching heap row.
private  org.apache.derby.iapi.sql.execute.RowChanger getRowChanger(org.apache.derby.iapi.store.access.TransactionController tc, int[] changedCols, org.apache.derby.iapi.sql.execute.ExecRow baseRow)
          Gets a row changer for this catalog.
private  org.apache.derby.iapi.sql.execute.ExecRow getRowInternal(org.apache.derby.iapi.store.access.TransactionController tc, org.apache.derby.iapi.store.access.ConglomerateController heapCC, org.apache.derby.iapi.sql.execute.ExecIndexRow key, int indexNumber, org.apache.derby.iapi.types.RowLocation[] rl)
           
 org.apache.derby.iapi.types.RowLocation getRowLocation(org.apache.derby.iapi.store.access.TransactionController tc, org.apache.derby.iapi.sql.execute.ExecIndexRow key, int indexNumber)
          Given an index row and index number return the RowLocation in the heap of the first matching row.
private  int[] getStreamStorableHeapColIds(org.apache.derby.iapi.sql.execute.ExecRow baseRow)
           
 java.lang.String getTableName()
          Get the table name.
 int insertRow(org.apache.derby.iapi.sql.execute.ExecRow row, org.apache.derby.iapi.sql.conn.LanguageConnectionContext lcc)
          Inserts a base row into a catalog and inserts all the corresponding index rows.
 int insertRow(org.apache.derby.iapi.sql.execute.ExecRow row, org.apache.derby.iapi.store.access.TransactionController tc, boolean wait)
          Inserts a base row into a catalog and inserts all the corresponding index rows.
 org.apache.derby.iapi.types.RowLocation insertRowAndFetchRowLocation(org.apache.derby.iapi.sql.execute.ExecRow row, org.apache.derby.iapi.store.access.TransactionController tc)
          Inserts a base row into a catalog and inserts all the corresponding index rows.
 int insertRowList(org.apache.derby.iapi.sql.execute.ExecRow[] rowList, org.apache.derby.iapi.store.access.TransactionController tc)
          Inserts a list of base rows into a catalog and inserts all the corresponding index rows.
private  int insertRowListImpl(org.apache.derby.iapi.sql.execute.ExecRow[] rowList, org.apache.derby.iapi.store.access.TransactionController tc, org.apache.derby.iapi.types.RowLocation[] rowLocationOut, boolean wait)
          Insert logic to insert a list of rows into a table.
 boolean isComplete()
          Is the TabInfo fully initialized.
 boolean isIndexUnique(int indexNumber)
          Return whether or not this index is declared unique
 void setBaseColumnPosition(int indexNumber, int colNumber, int baseColumnPosition)
          Set the base column position for a column within a catalog given the (0-based) index number for this catalog and the (0-based) column number for the column within the index.
 void setHeapConglomerate(long heapConglomerate)
          Set the heap conglomerate for the TabInfo.
 void setIndexConglomerate(org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd)
          Set the index conglomerate for the table.
 void setIndexConglomerate(int index, long indexConglomerate)
          Set the index conglomerate for the table.
 void setIndexName(int indexID, java.lang.String indexName)
          Set the index name for the specified indexID
 void setIndexRowGenerator(int indexNumber, org.apache.derby.iapi.sql.dictionary.IndexRowGenerator irg)
          Set the IndexRowGenerator for the specified index number.
 java.lang.String toString()
          Convert this Object to a human-readable String.
 int truncate(org.apache.derby.iapi.store.access.TransactionController tc)
          Delete all the rows from the table.
 void updateRow(org.apache.derby.iapi.sql.execute.ExecIndexRow key, org.apache.derby.iapi.sql.execute.ExecRow[] newRows, int indexNumber, boolean[] indicesToUpdate, int[] colsToUpdate, org.apache.derby.iapi.store.access.TransactionController tc)
          Updates a set of base rows in a catalog with the same key on an index and updates all the corresponding index rows.
 void updateRow(org.apache.derby.iapi.sql.execute.ExecIndexRow key, org.apache.derby.iapi.sql.execute.ExecRow[] newRows, int indexNumber, boolean[] indicesToUpdate, int[] colsToUpdate, org.apache.derby.iapi.store.access.TransactionController tc, boolean wait)
          Updates a set of base rows in a catalog with the same key on an index and updates all the corresponding index rows.
 void updateRow(org.apache.derby.iapi.sql.execute.ExecIndexRow key, org.apache.derby.iapi.sql.execute.ExecRow newRow, int indexNumber, boolean[] indicesToUpdate, int[] colsToUpdate, org.apache.derby.iapi.store.access.TransactionController tc)
          Updates a base row in a catalog and updates all the corresponding index rows.
 void updateRow(org.apache.derby.iapi.sql.execute.ExecIndexRow key, org.apache.derby.iapi.sql.execute.ExecRow newRow, int indexNumber, boolean[] indicesToUpdate, int[] colsToUpdate, org.apache.derby.iapi.store.access.TransactionController tc, boolean wait)
          Updates a base row in a catalog and updates all the corresponding index rows.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

indexes

private IndexInfoImpl[] indexes

name

private java.lang.String name

heapConglomerate

private long heapConglomerate

numIndexesSet

private int numIndexesSet

heapSet

private boolean heapSet

uuid

private org.apache.derby.catalog.UUID uuid

crf

private org.apache.derby.iapi.sql.dictionary.CatalogRowFactory crf

executionFactory

private org.apache.derby.iapi.sql.execute.ExecutionFactory executionFactory

computedStreamStorableHeapColIds

private boolean computedStreamStorableHeapColIds

streamStorableHeapColIds

private int[] streamStorableHeapColIds
Constructor Detail

TabInfoImpl

public TabInfoImpl(org.apache.derby.iapi.sql.dictionary.CatalogRowFactory crf)
Constructor

Method Detail

getHeapConglomerate

public long getHeapConglomerate()
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Get the conglomerate for the heap.

Specified by:
getHeapConglomerate in interface org.apache.derby.iapi.sql.dictionary.TabInfo

setHeapConglomerate

public void setHeapConglomerate(long heapConglomerate)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Set the heap conglomerate for the TabInfo.

Specified by:
setHeapConglomerate in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getIndexConglomerate

public long getIndexConglomerate(int indexID)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Get the conglomerate for the specified index.

Specified by:
getIndexConglomerate in interface org.apache.derby.iapi.sql.dictionary.TabInfo

setIndexConglomerate

public void setIndexConglomerate(int index,
                                 long indexConglomerate)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Set the index conglomerate for the table.

Specified by:
setIndexConglomerate in interface org.apache.derby.iapi.sql.dictionary.TabInfo

setIndexConglomerate

public void setIndexConglomerate(org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Set the index conglomerate for the table.

Specified by:
setIndexConglomerate in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getTableName

public java.lang.String getTableName()
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Get the table name.

Specified by:
getTableName in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getIndexName

public java.lang.String getIndexName(int indexId)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Get the index name.

Specified by:
getIndexName in interface org.apache.derby.iapi.sql.dictionary.TabInfo

setIndexName

public void setIndexName(int indexID,
                         java.lang.String indexName)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Set the index name for the specified indexID

Specified by:
setIndexName in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getCatalogRowFactory

public org.apache.derby.iapi.sql.dictionary.CatalogRowFactory getCatalogRowFactory()
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Get the CatalogRowFactory for this TabInfo.

Specified by:
getCatalogRowFactory in interface org.apache.derby.iapi.sql.dictionary.TabInfo

isComplete

public boolean isComplete()
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Is the TabInfo fully initialized. (i.e., is all conglomerate info initialized)

Specified by:
isComplete in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getIndexColumnCount

public int getIndexColumnCount(int indexNumber)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Get the column count for the specified index number.

Specified by:
getIndexColumnCount in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getIndexRowGenerator

public org.apache.derby.iapi.sql.dictionary.IndexRowGenerator getIndexRowGenerator(int indexNumber)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Get the IndexRowGenerator for the specified index number.

Specified by:
getIndexRowGenerator in interface org.apache.derby.iapi.sql.dictionary.TabInfo

setIndexRowGenerator

public void setIndexRowGenerator(int indexNumber,
                                 org.apache.derby.iapi.sql.dictionary.IndexRowGenerator irg)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Set the IndexRowGenerator for the specified index number.

Specified by:
setIndexRowGenerator in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getNumberOfIndexes

public int getNumberOfIndexes()
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Get the number of indexes on this catalog.

Specified by:
getNumberOfIndexes in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getBaseColumnPosition

public int getBaseColumnPosition(int indexNumber,
                                 int colNumber)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Get the base column position for a column within a catalog given the (0-based) index number for this catalog and the (0-based) column number for the column within the index.

Specified by:
getBaseColumnPosition in interface org.apache.derby.iapi.sql.dictionary.TabInfo

setBaseColumnPosition

public void setBaseColumnPosition(int indexNumber,
                                  int colNumber,
                                  int baseColumnPosition)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Set the base column position for a column within a catalog given the (0-based) index number for this catalog and the (0-based) column number for the column within the index.

Specified by:
setBaseColumnPosition in interface org.apache.derby.iapi.sql.dictionary.TabInfo

isIndexUnique

public boolean isIndexUnique(int indexNumber)
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Return whether or not this index is declared unique

Specified by:
isIndexUnique in interface org.apache.derby.iapi.sql.dictionary.TabInfo

insertRow

public int insertRow(org.apache.derby.iapi.sql.execute.ExecRow row,
                     org.apache.derby.iapi.store.access.TransactionController tc,
                     boolean wait)
              throws org.apache.derby.iapi.error.StandardException
Inserts a base row into a catalog and inserts all the corresponding index rows.

Specified by:
insertRow in interface org.apache.derby.iapi.sql.dictionary.TabInfo

insertRow

public int insertRow(org.apache.derby.iapi.sql.execute.ExecRow row,
                     org.apache.derby.iapi.sql.conn.LanguageConnectionContext lcc)
              throws org.apache.derby.iapi.error.StandardException
Inserts a base row into a catalog and inserts all the corresponding index rows.

Specified by:
insertRow in interface org.apache.derby.iapi.sql.dictionary.TabInfo

insertRowAndFetchRowLocation

public org.apache.derby.iapi.types.RowLocation insertRowAndFetchRowLocation(org.apache.derby.iapi.sql.execute.ExecRow row,
                                                                            org.apache.derby.iapi.store.access.TransactionController tc)
                                                                     throws org.apache.derby.iapi.error.StandardException
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Inserts a base row into a catalog and inserts all the corresponding index rows.

Specified by:
insertRowAndFetchRowLocation in interface org.apache.derby.iapi.sql.dictionary.TabInfo

insertRowList

public int insertRowList(org.apache.derby.iapi.sql.execute.ExecRow[] rowList,
                         org.apache.derby.iapi.store.access.TransactionController tc)
                  throws org.apache.derby.iapi.error.StandardException
Inserts a list of base rows into a catalog and inserts all the corresponding index rows.

Specified by:
insertRowList in interface org.apache.derby.iapi.sql.dictionary.TabInfo

insertRowListImpl

private int insertRowListImpl(org.apache.derby.iapi.sql.execute.ExecRow[] rowList,
                              org.apache.derby.iapi.store.access.TransactionController tc,
                              org.apache.derby.iapi.types.RowLocation[] rowLocationOut,
                              boolean wait)
                       throws org.apache.derby.iapi.error.StandardException
Insert logic to insert a list of rows into a table. This logic has two odd features to support the TabInfo interface.
  1. Returns an indication if any returned row was a duplicate.
  2. Returns the RowLocation of the last row inserted.


truncate

public int truncate(org.apache.derby.iapi.store.access.TransactionController tc)
             throws org.apache.derby.iapi.error.StandardException
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Delete all the rows from the table.

LOCKING: exclusive TABLE locking

Specified by:
truncate in interface org.apache.derby.iapi.sql.dictionary.TabInfo

deleteRow

public int deleteRow(org.apache.derby.iapi.store.access.TransactionController tc,
                     org.apache.derby.iapi.sql.execute.ExecIndexRow key,
                     int indexNumber)
              throws org.apache.derby.iapi.error.StandardException
LOCKING: row locking if there there is a key

Specified by:
deleteRow in interface org.apache.derby.iapi.sql.dictionary.TabInfo

deleteRows

public int deleteRows(org.apache.derby.iapi.store.access.TransactionController tc,
                      org.apache.derby.iapi.sql.execute.ExecIndexRow startKey,
                      int startOp,
                      org.apache.derby.iapi.store.access.Qualifier[][] qualifier,
                      org.apache.derby.iapi.sql.execute.TupleFilter filter,
                      org.apache.derby.iapi.sql.execute.ExecIndexRow stopKey,
                      int stopOp,
                      int indexNumber)
               throws org.apache.derby.iapi.error.StandardException
LOCKING: row locking if there is both a start and stop key; otherwise table locking

Specified by:
deleteRows in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getRow

public org.apache.derby.iapi.sql.execute.ExecRow getRow(org.apache.derby.iapi.store.access.TransactionController tc,
                                                        org.apache.derby.iapi.sql.execute.ExecIndexRow key,
                                                        int indexNumber)
                                                 throws org.apache.derby.iapi.error.StandardException
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Given a key row, return the first matching heap row.

LOCKING: shared row locking.

Specified by:
getRow in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getRowLocation

public org.apache.derby.iapi.types.RowLocation getRowLocation(org.apache.derby.iapi.store.access.TransactionController tc,
                                                              org.apache.derby.iapi.sql.execute.ExecIndexRow key,
                                                              int indexNumber)
                                                       throws org.apache.derby.iapi.error.StandardException
Given an index row and index number return the RowLocation in the heap of the first matching row. Used by the autoincrement code to get the RowLocation in syscolumns given a pair.

Specified by:
getRowLocation in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getRow

public org.apache.derby.iapi.sql.execute.ExecRow getRow(org.apache.derby.iapi.store.access.TransactionController tc,
                                                        org.apache.derby.iapi.store.access.ConglomerateController heapCC,
                                                        org.apache.derby.iapi.sql.execute.ExecIndexRow key,
                                                        int indexNumber)
                                                 throws org.apache.derby.iapi.error.StandardException
Description copied from interface: org.apache.derby.iapi.sql.dictionary.TabInfo
Given a key row, return the first matching heap row.

LOCKING: shared row locking.

Specified by:
getRow in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getRowInternal

private org.apache.derby.iapi.sql.execute.ExecRow getRowInternal(org.apache.derby.iapi.store.access.TransactionController tc,
                                                                 org.apache.derby.iapi.store.access.ConglomerateController heapCC,
                                                                 org.apache.derby.iapi.sql.execute.ExecIndexRow key,
                                                                 int indexNumber,
                                                                 org.apache.derby.iapi.types.RowLocation[] rl)
                                                          throws org.apache.derby.iapi.error.StandardException

updateRow

public void updateRow(org.apache.derby.iapi.sql.execute.ExecIndexRow key,
                      org.apache.derby.iapi.sql.execute.ExecRow newRow,
                      int indexNumber,
                      boolean[] indicesToUpdate,
                      int[] colsToUpdate,
                      org.apache.derby.iapi.store.access.TransactionController tc)
               throws org.apache.derby.iapi.error.StandardException
Updates a base row in a catalog and updates all the corresponding index rows.

Specified by:
updateRow in interface org.apache.derby.iapi.sql.dictionary.TabInfo

updateRow

public void updateRow(org.apache.derby.iapi.sql.execute.ExecIndexRow key,
                      org.apache.derby.iapi.sql.execute.ExecRow newRow,
                      int indexNumber,
                      boolean[] indicesToUpdate,
                      int[] colsToUpdate,
                      org.apache.derby.iapi.store.access.TransactionController tc,
                      boolean wait)
               throws org.apache.derby.iapi.error.StandardException
Updates a base row in a catalog and updates all the corresponding index rows.

Specified by:
updateRow in interface org.apache.derby.iapi.sql.dictionary.TabInfo

updateRow

public void updateRow(org.apache.derby.iapi.sql.execute.ExecIndexRow key,
                      org.apache.derby.iapi.sql.execute.ExecRow[] newRows,
                      int indexNumber,
                      boolean[] indicesToUpdate,
                      int[] colsToUpdate,
                      org.apache.derby.iapi.store.access.TransactionController tc)
               throws org.apache.derby.iapi.error.StandardException
Updates a set of base rows in a catalog with the same key on an index and updates all the corresponding index rows.

Specified by:
updateRow in interface org.apache.derby.iapi.sql.dictionary.TabInfo

updateRow

public void updateRow(org.apache.derby.iapi.sql.execute.ExecIndexRow key,
                      org.apache.derby.iapi.sql.execute.ExecRow[] newRows,
                      int indexNumber,
                      boolean[] indicesToUpdate,
                      int[] colsToUpdate,
                      org.apache.derby.iapi.store.access.TransactionController tc,
                      boolean wait)
               throws org.apache.derby.iapi.error.StandardException
Updates a set of base rows in a catalog with the same key on an index and updates all the corresponding index rows. If parameter wait is true, then the caller wants to wait for locks. When using a nested user xaction we want to timeout right away if the parent holds the lock.


getCreateHeapProperties

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

Specified by:
getCreateHeapProperties in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getCreateIndexProperties

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

Specified by:
getCreateIndexProperties in interface org.apache.derby.iapi.sql.dictionary.TabInfo

getRowChanger

private org.apache.derby.iapi.sql.execute.RowChanger getRowChanger(org.apache.derby.iapi.store.access.TransactionController tc,
                                                                   int[] changedCols,
                                                                   org.apache.derby.iapi.sql.execute.ExecRow baseRow)
                                                            throws org.apache.derby.iapi.error.StandardException
Gets a row changer for this catalog.


getStreamStorableHeapColIds

private int[] getStreamStorableHeapColIds(org.apache.derby.iapi.sql.execute.ExecRow baseRow)
                                   throws org.apache.derby.iapi.error.StandardException

getIndexRowFromHeapRow

private org.apache.derby.iapi.sql.execute.ExecIndexRow getIndexRowFromHeapRow(org.apache.derby.iapi.sql.dictionary.IndexRowGenerator irg,
                                                                              org.apache.derby.iapi.types.RowLocation rl,
                                                                              org.apache.derby.iapi.sql.execute.ExecRow heapRow)
                                                                       throws org.apache.derby.iapi.error.StandardException
Get an index row based on a row from the heap.


toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).