Package com.streambase.liveview.client
package com.streambase.liveview.client
Provides classes and interfaces fundamental to the LiveView Java API.
-
ClassDescriptionAn abstract implementation of a
QueryListener
that batches up multiple events and sends them to the concrete implementation.Root level of client to server connection related events which are dispatched toConnectionListener
s.The base type for publisher events dispatched as a result of events published to the server.A convenience implementation ofPublisherListener
that can be extended and the specified methods can be overridden.The base type for query events dispatched from server queries toQueryListener
s.A convenience implementation ofQueryListener
that can be extended and the specified methods can be overridden.Base abstract class for TupleEventsThe event dispatched after which the aggregate result set may be in flux.The event dispatched when a query delete begins.The event dispatched when a query snapshot begins.A convenience implementation ofQueryListener
that enables notifications of zero or more listeners.Event dispatched when aLiveViewConnection
closes.Connection configuration used to connect to LiveView server.A connection listener interface that can be provided toConnectionConfig
to receive connection related events on.Used when creating aMultiConnectionConfig
to define how it will connect to the servers.Helps to describe the details of import process.Enum for possible STATUS for data import process.A Convenience implementation ofQueryListener
that provides a pull based iterator pattern for iterating over snapshot queries.DynamicTableState keeps track of table state while dropping or starting table in synchronous mode.The event dispatched when the aggregate result set sent since the last BeginAggMarkEvent is consistent and will not change again until the next BeginAggMarkEvent.The event dispatched when a query delete ends.The event dispatched when a query snapshot ends.HashableTuple is a wrapper for Tuples from a single Query so they can be stored in a HashSet.KeyValue represents a specific value of the primary key, as taken from the Tuple in a specific Table, including if the Table has a complex key involving multiple fields.A live result is aQueryListener
the receives and maintains a local copy of tuples.Auth methods for LiveViewConnections.Private interface.Base class for basic authentication.Private APIBase class for bearer token authentication.Private APIEnumerates certain capabilities that may be supported by a LiveView Client.A client connection to a LiveView server.Exception throws when the LiveView connection call is cancelled by the clientWhen using a LiveViewMultiConnection, this represents one of the connections.The status of this connectionA factory for retrieving aLiveViewConnection
based onConnectionConfig
A connection can also be retrieved by provide a simple String based URI.An exception thrown by the LiveView ServerEnumeration of possible LiveView exceptions.Interface representing a connection to a pool of servers (retrieved viaLiveViewConnectionFactory.getConnection(MultiConnectionConfig, boolean)
.)Class that defines LiveView permissions.Enumerates the query languages that are supported by a tableSpecific LiveViewException thrown when query syntax error occursThe type of queries that can be specified in QueryConfigAn abstract class for objects that represent a capability of a LiveView server.Server supports special punctuation that allows for guaranteed synchronicity between aggregate queries.Enumerates certain capabilities that may be supported by a table.Used to define aLiveViewMultiConnection
.Register your implementation of this interface if you want to be informed of all the events involved in multi-connectWhen implmenting MultiConnectionListener, if you extend this base class you'll have version protection.Thrown byLiveViewConnection.getCapability(Class)
when a connected server does not support a particular capability.OrderDefinition is the object used to define the order in which you wish to receive dataThe direction enum defines the legal directions available, and a reverse helper method.This interface can be used inConnectionConfig
to receive feedback onLiveViewConnectionFactory.getConnection(ConnectionConfig)
.The event dispatched when a new publisher status is available.A handle to a registered query.Event dispatched to a listener when a query is closedQueryConfig is the builder object used to configure a query.The event dispatched when a query exception occurs.A query listener interface must be provided when registering a query.This class is used by LiveViewMultiConnectionImpl to wrap BOTH the queryListener that the user passes in to an execQuery, AND the Query that is passed back to him.A Convenience implementation ofQueryListener
that provides a pull based iterator pattern for iterating over snapshot queries.A blocking iterator pattern for retrieving snapshot only results.An instance of a LiveView table.ENUM for table groups.TableAdminManager is used to start and stop tables and table providers on the server.Utility methods for working with the TableProviderAPICreate an instance of this if you want to be informed of changes to the Table List.An instance of a publisher for publishing tuples into a table.The event dispatched when a new Tuple is added to a query result.The event dispatched when an existing Tuple is removed.The event dispatched when an existing Tuple is updated.Used to represent all errors in validating an object.Provides information about the StreamBase LiveView Client Library.