public abstract class MassiveContainer
extends java.lang.Object
As transport, any instance of this class will be wrapped in a TableWrapper
instance
internally by P2J.
Note: In the process of building the internal data structures for dynamic temp-tables, internal generic indexed names are used for columns. To obtain the expected column name, the metadata will return the column's legacy name instead of internal database name.
Modifier and Type | Field and Description |
---|---|
protected boolean |
append
Flag indicating this table is sent in APPEND mode.
|
protected boolean |
input
Flag indicating this table is sent in INPUT or INPUT-OUTPUT mode.
|
protected boolean |
output
Flag indicating this table is sent in OUTPUT or INPUT-OUTPUT mode.
|
protected java.lang.String |
structureName
The legacy name of the massive structure.
|
Constructor and Description |
---|
MassiveContainer()
Default c'tor, explicitly added to allow instances of this class to be created on
deserialization.
|
MassiveContainer(boolean input,
boolean output,
boolean append)
Create a new instance of this result set.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStructureName()
Get the legacy structure (dataset or table) name.
|
boolean |
isAppend()
Check if this table is in APPEND mode.
|
boolean |
isInput()
Check if this table is in INPUT or INPUT-OUTPUT mode.
|
boolean |
isOutput()
Check if this table is in OUTPUT or INPUT-OUTPUT mode.
|
void |
setStructureName(java.lang.String table)
Set the structure (dataset or table) name.
|
protected boolean input
protected boolean output
protected boolean append
protected java.lang.String structureName
public MassiveContainer()
public MassiveContainer(boolean input, boolean output, boolean append)
input
- Flag indicating this table is sent in INPUT or INPUT-OUTPUT mode.output
- Flag indicating this table is sent in OUTPUT or INPUT-OUTPUT mode.append
- Flag indicating this table is sent in APPEND mode.public void setStructureName(java.lang.String table)
table
- The structure (dataset or table) name.public java.lang.String getStructureName()
structureName
.public boolean isInput()
input
flag.public boolean isOutput()
output
flag.public boolean isAppend()
append
flag.