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.


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

void insert(ExecRow inputRow)
            throws StandardException
Insert a row

Parameters:
inputRow - the row to insert
Throws:
StandardException - on error

getResultSet

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

Returns:
a result set to use

close

void close()
           throws StandardException
Clean up

Throws:
StandardException - on error

getTemporaryConglomId

long getTemporaryConglomId()

getPositionIndexConglomId

long getPositionIndexConglomId()

setRowHolderTypeToUniqueStream

void setRowHolderTypeToUniqueStream()

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

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