public class NetricsTableCursorCompoundRecSrc extends java.lang.Object implements NetricsCompoundRecSrc
NetricsCompoundRecSrc interface by binding a
NetricsTableCursor to a particular TIBCO Patterns host.| Constructor and Description |
|---|
NetricsTableCursorCompoundRecSrc(NetricsTableCursor cursor,
NetricsServerInterface host)
Create a NetricsTableCursorCompoundRecSrc instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getChildTables()
Get an unmodifiable list of child table names used.
|
NetricsCompoundRecord |
getNext()
Returns the next record.
|
java.lang.String |
getParentTable() |
java.lang.String |
getPosition()
Obtains the current position of the underlying cursor.
|
boolean |
hasNext()
True if getNext will return a record.
|
void |
reset()
Resets the underlying cursor to the beginning.
|
void |
setPosition(java.lang.String position)
Reposition the underlying cursor.
|
public NetricsTableCursorCompoundRecSrc(NetricsTableCursor cursor, NetricsServerInterface host)
cursor - cursor underlying the record source.host - the cursor will traverse table(s) on this host.public boolean hasNext()
throws NetricsRecSrcException
NetricsBaseRecSrchasNext in interface NetricsBaseRecSrcNetricsRecSrcException - if an error occurs.public NetricsCompoundRecord getNext() throws NetricsRecSrcException
NetricsCompoundRecSrcgetNext in interface NetricsBaseRecSrcgetNext in interface NetricsCompoundRecSrcNetricsRecSrcException - if an error occurs, or if there are
no more records.public void reset()
throws NetricsRecSrcException
reset in interface NetricsBaseRecSrcNetricsRecSrcException - if an error occurs, or if the record
source does not support resetting.public java.lang.String getPosition()
setPosition(java.lang.String).public void setPosition(java.lang.String position)
position - a cursor position. This should be a value returned by getPosition()public java.lang.String getParentTable()
getParentTable in interface NetricsCompoundRecSrcpublic java.util.List<java.lang.String> getChildTables()
getChildTables in interface NetricsCompoundRecSrc