public class RemoteQueryClient extends Object
| Constructor and Description |
|---|
RemoteQueryClient()
Create a new Deephaven dispatcher connection.
|
RemoteQueryClient(com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams)
Create a new Deephaven dispatcher connection.
|
RemoteQueryClient(String serverHost,
int serverPort)
Create a RemoteQueryClient and connect it to the RemoteQueryDispatcher.
|
RemoteQueryClient(String serverHost,
int serverPort,
com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams)
Create a RemoteQueryClient and connect it to the RemoteQueryDispatcher.
|
| Modifier and Type | Method and Description |
|---|---|
RemoteDatabase |
getRemoteDB()
Creates a Database object that communicates with a remote query worker.
|
RemoteDatabase |
getRemoteDB(int maxHeapSizeMb)
Creates a Database object that communicates with a remote query worker.
|
public RemoteQueryClient()
IOException - if an error occurred connecting to the RemoteQueryDispatcherpublic RemoteQueryClient(@Nullable
com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams)
connectionMonitorParams - heartbeat and idle monitoring parametersIOException - if an error occurred connecting to the RemoteQueryDispatcherpublic RemoteQueryClient(String serverHost, int serverPort)
serverHost - the hostname of the RemoteQueryDispatcherserverPort - the port of the RemoteQueryDispatcherIOException - if an error occurred connecting to the RemoteQueryDispatcherpublic RemoteQueryClient(String serverHost, int serverPort, @Nullable com.fishlib.net.ConnectionMonitor.Params connectionMonitorParams)
serverHost - the hostname of the RemoteQueryDispatcherserverPort - the port of the RemoteQueryDispatcherconnectionMonitorParams - heartbeat and idle monitoring parametersIOException - if an error occurred connecting to the RemoteQueryDispatcherpublic RemoteDatabase getRemoteDB()
IOException - if there was an error communicating with the query serverpublic RemoteDatabase getRemoteDB(int maxHeapSizeMb)
maxHeapSizeMb - the worker heap size to requestIOException - if there was an error communicating with the query server