Interface TemporaryRowHolder
-
- All Known Implementing Classes:
TemporaryRowHolderImpl
public interface TemporaryRowHolderThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Clean uplonggetPositionIndexConglomId()CursorResultSetgetResultSet()Get a result set for scanning what has been inserted so far.longgetTemporaryConglomId()voidinsert(ExecRow inputRow)Insert a rowvoidsetRowHolderTypeToUniqueStream()
-
-
-
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 StandardExceptionClean up- Throws:
StandardException- on error
-
getTemporaryConglomId
long getTemporaryConglomId()
-
getPositionIndexConglomId
long getPositionIndexConglomId()
-
setRowHolderTypeToUniqueStream
void setRowHolderTypeToUniqueStream()
-
-