org.apache.derby.iapi.sql.dictionary
Interface ListOfRowLists


public interface ListOfRowLists

This interface wraps a list of RowLists.

Version:
0.1
Author:
Rick Hillegas

Method Summary
 void add(RowList rowList)
          Add another system table's RowList to this list of lists.
 void deleteFromCatalogs(LanguageConnectionContext lcc)
          Execution-time routine to delete all the tuples on these row lists from their respective catalogs.
 RowList getRowList(long tableID)
          Get the RowList for a system table given the table's ID.
 int size()
          Return number of items currently on this list.
 void stuffAllCatalogs(LanguageConnectionContext lcc)
          Execution-time routine to write all the row lists to their respective system tables.
 

Method Detail

add

public void add(RowList rowList)
Add another system table's RowList to this list of lists.

Returns:
Nothing

size

public int size()
Return number of items currently on this list.

Returns:
Item count.

getRowList

public RowList getRowList(long tableID)
                   throws StandardException
Get the RowList for a system table given the table's ID.

Parameters:
tableID - ID of system table whose RowList we should return
Returns:
RowList corresponding to this system table.
Throws:
StandardException - Thrown on error

deleteFromCatalogs

public void deleteFromCatalogs(LanguageConnectionContext lcc)
                        throws StandardException
Execution-time routine to delete all the tuples on these row lists from their respective catalogs.

Parameters:
lcc - language state variable
Throws:
StandardException - Thrown on error

stuffAllCatalogs

public void stuffAllCatalogs(LanguageConnectionContext lcc)
                      throws StandardException
Execution-time routine to write all the row lists to their respective system tables.

Parameters:
lcc - language state variable
Throws:
StandardException - Thrown on error


Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.