public class OutputTableHandleCopier extends java.lang.Object implements Finalizable
Modifier and Type | Field and Description |
---|---|
private handle |
called
Called-side table handle.
|
private TableParameter |
calling
Calling-side table parameter.
|
private java.util.Map<OutputTableHandleCopier,java.lang.Integer> |
siblings
Map of all output copiers for the procedure/function for which this copier is registered, to
their 0-based indexes in the set of all TABLE-HANDLE parameters for the procedure/function
(excluding other types of parameters).
|
private TempTable |
tableToDelete
Table postponed for deletion.
|
Constructor and Description |
---|
OutputTableHandleCopier(TableParameter calling,
handle called)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
deleted()
No-op.
|
void |
finished()
Copies data in OUTPUT direction in table-handle parameter case.
|
handle |
getCalled()
Get called-side table handle.
|
void |
iterate()
No-op.
|
void |
retry()
No-op.
|
void |
setSiblingsMap(java.util.Map<OutputTableHandleCopier,java.lang.Integer> siblings)
Set the map of all output copiers for the procedure/function for which this copier is
registered, to their 0-based indexes in the set of all TABLE-HANDLE parameters for the
procedure/function (excluding other types of parameters).
|
void |
setTableToDelete(TempTable tableToDelete)
Set table for postponed deletion.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initFailure
private final TableParameter calling
private final handle called
private TempTable tableToDelete
private java.util.Map<OutputTableHandleCopier,java.lang.Integer> siblings
public OutputTableHandleCopier(TableParameter calling, handle called)
calling
- Calling-side table parameter.called
- Called-side table handle.public void finished()
finished
in interface Finalizable
public void deleted()
deleted
in interface Finalizable
public void iterate()
iterate
in interface Finalizable
public void retry()
retry
in interface Finalizable
public void setTableToDelete(TempTable tableToDelete)
tableToDelete
- Table for postponed deletion.public handle getCalled()
public void setSiblingsMap(java.util.Map<OutputTableHandleCopier,java.lang.Integer> siblings)
siblings
- See above.