Top Description Methods
org.apache.derby.iapi.sql.execute

public Interface TemporaryRowHolder

Known Direct Implementers
org.apache.derby.impl.sql.execute.TemporaryRowHolderImpl
Imports
org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.sql.execute.ExecRow

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

Modifier and TypeMethod and Description
public void
close()

Clean up

public long
public CursorResultSet

Returns:

a result set to use
getResultSet
()

Get a result set for scanning what has been inserted so far.

public long
public void
insert(ExecRow
the row to insert
inputRow
)

Insert a row

public void

Method Detail

closeback to summary
public void close() throws StandardException

Clean up

Exceptions
StandardException:
on error
getPositionIndexConglomIdback to summary
public long getPositionIndexConglomId()
getResultSetback to summary
public CursorResultSet getResultSet()

Get a result set for scanning what has been inserted so far.

Returns:CursorResultSet

a result set to use

getTemporaryConglomIdback to summary
public long getTemporaryConglomId()
insertback to summary
public void insert(ExecRow inputRow) throws StandardException

Insert a row

Parameters
inputRow:ExecRow

the row to insert

Exceptions
StandardException:
on error
setRowHolderTypeToUniqueStreamback to summary
public void setRowHolderTypeToUniqueStream()