Class UriConfig

java.lang.Object
io.deephaven.uri.UriConfig

public class UriConfig extends Object

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.

  • 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 - the ScheduledExecutorService
      allocator - the BufferAllocator
      ssl - the SSLConfig