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 static NanoTimer |
COPIER
Instrumentation for
finished(). |
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.
|
private void |
finishedImpl()
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.
|
WeightFactor |
weight()
Get the weight of this finalizable.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitentry, initFailureprivate static final NanoTimer COPIER
finished().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 Finalizableprivate void finishedImpl()
public void deleted()
deleted in interface Finalizablepublic void iterate()
iterate in interface Finalizablepublic void retry()
retry in interface Finalizablepublic WeightFactor weight()
weight, before they are processed.weight in interface FinalizableWeightFactor.FIRST.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.