Interface RemoteQueryClient
-
- All Known Implementing Classes:
HttpRemoteQueryClient
public interface RemoteQueryClient
Default interface to query a remote streams state store.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K,V>
CompletableFuture<QueryResult<K,V>>query(StreamsServerInfo server, QueryInfo query, Queried options)
Executes a query to the specified server.
-
-
-
Method Detail
-
query
<K,V> CompletableFuture<QueryResult<K,V>> query(StreamsServerInfo server, QueryInfo query, Queried options)
Executes a query to the specified server.- Parameters:
server
- theStreamsServerInfo
to query.query
- theQueryInfo
to send.options
- theQueried
options.- Returns:
- a
CompletableFuture
ofQueryResult
.
-
-