public static final class TestTableProvider.UnsupportedTable extends Object implements Table
CQSInternalID
Constructor and Description |
---|
UnsupportedTable() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(EventListener listener,
LiveViewQueryType type,
QueryModel query)
Add an event listener to this table
|
TablePublisher |
createPublisher(String publisherName)
Create a new publisher instance for this table
|
void |
doDelete(String id,
QueryModel query)
Delete rows as specified by the QueryModel predicate
|
QueryModel |
parseQuery(CatalogedTable catalogedTable,
String queryString,
LiveViewQueryType type,
boolean includeInternal)
Parse this query.
|
void |
removeListener(EventListener listener)
Remove a listener from the table
|
public QueryModel parseQuery(CatalogedTable catalogedTable, String queryString, LiveViewQueryType type, boolean includeInternal) throws LiveViewException
com.streambase.liveview.server.table.Table
parseQuery
in interface Table
catalogedTable
- This table's representative in TablesTable.queryString
- The entire querytype
- CONTINUOUS, SNAPSHOT, etc.includeInternal
- Whether or not the internal-only fields should be includedLiveViewException
public void addListener(EventListener listener, LiveViewQueryType type, QueryModel query) throws LiveViewException
com.streambase.liveview.server.table.Table
addListener
in interface Table
listener
- the event listenertype
- the type of the query resultLiveViewException
- if any server side exception occurspublic void removeListener(EventListener listener) throws LiveViewException
com.streambase.liveview.server.table.Table
removeListener
in interface Table
listener
- the listenerLiveViewException
- if any server side exception occurspublic TablePublisher createPublisher(String publisherName) throws LiveViewException
com.streambase.liveview.server.table.Table
createPublisher
in interface Table
publisherName
- the name of the publisherLiveViewException
- if any server side exception occurspublic void doDelete(String id, QueryModel query) throws LiveViewException
com.streambase.liveview.server.table.Table
doDelete
in interface Table
query
- - the QueryModel that defines what rows to deleteLiveViewException
- if any server side exception occursCopyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.