|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lightstreamer.ls_client.SimpleTableInfo
com.lightstreamer.ls_client.ExtendedTableInfo
public class ExtendedTableInfo
Contains the specification of a table to be subscribed to Lightstreamer Server. All the items and fields in the table are supplied. Group and Schema names to be sent to the Server are made by space separated concatenations of item and field names. This name convention is suitable for a Metadata Adapter derived from LiteralBasedProvider or equivalent to it.
Field Summary |
---|
Fields inherited from class com.lightstreamer.ls_client.SimpleTableInfo |
---|
COMMAND, DISTINCT, MERGE, RAW |
Constructor Summary | |
---|---|
ExtendedTableInfo(java.lang.String[] items,
java.lang.String mode,
java.lang.String[] fields,
boolean snapshot)
Constructs a table specification with basic table attributes. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.lightstreamer.ls_client.SimpleTableInfo |
---|
getBufferSize, getDataAdapter, getDistinctSnapshotLength, getEnd, getMode, getRequestedMaxFrequency, getSelector, getStart, isSnapshot, isUnfilteredDispatching, requestUnfilteredDispatching, setDataAdapter, setRequestedBufferSize, setRequestedDistinctSnapshotLength, setRequestedMaxFrequency, setSelector |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |