public class ExtendedTableInfo extends SimpleTableInfo
COMMAND, DISTINCT, MERGE, RAW
Constructor and Description |
---|
ExtendedTableInfo(java.lang.String[] items,
java.lang.String mode,
java.lang.String[] fields,
boolean snapshot)
Constructs a table specification with basic table attributes.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String[] |
getFields()
Recalls the fields contained in this table.
|
java.lang.String |
getGroup()
Gets the name of the Group of items contained in this table,
as specified to the Server.
|
java.lang.String[] |
getItems()
Recalls the items contained in this table.
|
java.lang.String |
getSchema()
Gets the name of the Schema of fields used in this table,
as specified to the Server.
|
void |
setRange(int start,
int end)
Inherited from SimpleTableInfo, but ignored in this case.
|
getAdapterSet, getBufferSize, getDataAdapter, getDistinctSnapshotLength, getEnd, getMode, getRequestedMaxFrequency, getSelector, getStart, isSnapshot, isUnfilteredDispatching, requestUnfilteredDispatching, setDataAdapter, setRequestedBufferSize, setRequestedDistinctSnapshotLength, setRequestedMaxFrequency, setSelector
public ExtendedTableInfo(java.lang.String[] items, java.lang.String mode, java.lang.String[] fields, boolean snapshot) throws SubscrException
items
- Array of names of the items in the table; it cannot be empty.
A copy of the array is stored internally.mode
- Subscription mode for all items in the table.
It should be equal to one of the constants defined in the class.fields
- Array of names of the fields for all items in the table;
it cannot be empty. A copy of the array is stored internally.snapshot
- If true, requires the snapshot for all items in the table.
The snapshot can be requested only for MERGE, DISTINCT and COMMAND
Items mode. However, the flag is ignored if requestUnfilteredDispatching()
is also called, as snapshot management is currently not supported for
unfiltered COMMAND mode.SubscrException
- Thrown if the snapshot request is not compatible
with the supplied subscription mode
or any of the item or field names
in the given arrays contains a space or it is empty or null.public java.lang.String[] getItems()
public java.lang.String[] getFields()
public java.lang.String getGroup()
getGroup
in class SimpleTableInfo
public java.lang.String getSchema()
getSchema
in class SimpleTableInfo
public void setRange(int start, int end)
setRange
in class SimpleTableInfo
start
- ignored.end
- ignored.public java.lang.Object clone()
clone
in class SimpleTableInfo