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
|
QueryModel |
parseQuery(CatalogedTable catalogedTable,
String queryString,
LiveViewQueryType type,
boolean includeInternal,
String additionalPredicate)
Parse this query.
|
void |
removeListener(EventListener listener)
Remove a listener from the table
|
public QueryModel parseQuery(CatalogedTable catalogedTable, String queryString, LiveViewQueryType type, boolean includeInternal, String additionalPredicate) 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 includedadditionalPredicate
- the predicate added through back-end configuration(currently the row level security configuration)LiveViewException
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 occursCopyright © 2015–2019 Cloud Software Group, Inc.. All rights reserved.