org.apache.derby.iapi.sql.execute
Interface TemporaryRowHolder

All Known Implementing Classes:
TemporaryRowHolderImpl

public interface TemporaryRowHolder

This is a class that is used to temporarily (non-persistently) hold rows that are used in language execution. It will store them in an array, or a temporary conglomerate, depending on the number of rows.

It is used for deferred DML processing.

Author:
jamie

Method Summary
 void close()
          Clean up
 long getPositionIndexConglomId()
           
 CursorResultSet getResultSet()
          Get a result set for scanning what has been inserted so far.
 long getTemporaryConglomId()
           
 void insert(ExecRow inputRow)
          Insert a row
 void setRowHolderTypeToUniqueStream()
           
 

Method Detail

insert

public void insert(ExecRow inputRow)
            throws StandardException
Insert a row

Throws:
StandardException - on error

getResultSet

public CursorResultSet getResultSet()
Get a result set for scanning what has been inserted so far.

Returns:
a result set to use

close

public void close()
           throws StandardException
Clean up

Throws:
StandardException - on error

getTemporaryConglomId

public long getTemporaryConglomId()

getPositionIndexConglomId

public long getPositionIndexConglomId()

setRowHolderTypeToUniqueStream

public void setRowHolderTypeToUniqueStream()

Built on Mon 2007-06-04 09:58:47+0400, from revision ???

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