Package io.deephaven.uri
Class UriConfig
java.lang.Object
io.deephaven.uri.UriConfig
Configuration for Deephaven Enterprise to support subscriptions using Deephaven Community style URIs.
Simply invoke initDefault() and then use ResolveTools.resolve(String) to fetch a complete subscription
to a live table on a Community worker.
MarketData = ResolveTools.resolve("dh://my.server.com:8888/scope/MarketData");
The first part of the URI selects SSL(`dh:`) or plaintext(`dh+plain:`), the second is the path to the server and its port. The next part selects either the Query Scope(`/scope/`) or application scope(`/app/my_app/`). Finally, the name of the table to subscribe to is the last part of the URI.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder to help with initialization. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit(@NotNull ScheduledExecutorService executor, @NotNull io.deephaven.shadow.client.flight.org.apache.arrow.memory.BufferAllocator allocator, @NotNull io.deephaven.ssl.config.SSLConfig ssl) Initialize with the required parameters.static voidPerform default initialization.
-
Method Details
-
initDefault
public static void initDefault()Perform default initialization. -
init
public static void init(@NotNull @NotNull ScheduledExecutorService executor, @NotNull @NotNull io.deephaven.shadow.client.flight.org.apache.arrow.memory.BufferAllocator allocator, @NotNull @NotNull io.deephaven.ssl.config.SSLConfig ssl) Initialize with the required parameters.- Parameters:
executor- theScheduledExecutorServiceallocator- theBufferAllocatorssl- theSSLConfig
-