Class RemoteTableDataService

java.lang.Object
io.deephaven.engine.table.impl.locations.impl.AbstractTableDataService
io.deephaven.enterprise.tabledataservice.RemoteTableDataService
All Implemented Interfaces:
TableDataService, NamedImplementation

public class RemoteTableDataService extends AbstractTableDataService
A TableDataService implementation that uses Enterprise's TableDataProtocol to locate tables.
  • Constructor Details

    • RemoteTableDataService

      public RemoteTableDataService(@NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.schema.SchemaService schemaService, @NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataProtocolDriver protocolDriver, @NotNull @NotNull String name)
      Construct a new remote table data service, ready to be connected.
      Parameters:
      schemaService - The SchemaService to use for locating TableDefinitions
      protocolDriver - The table data protocol driver.
      name - Remote service name
  • Method Details

    • connect

      public void connect(@NotNull @NotNull InetSocketAddress address) throws IOException
      Connect to a remote server.
      Parameters:
      address - The host/port to connect to
      Throws:
      IOException
    • connect

      public void connect(@NotNull io.deephaven.shadow.enterprise.com.fishlib.base.Function.Nullary<SocketAddress> addressFunction) throws IOException
      Connect to a remote server by address function, allowing fallback to different server addresses.
      Parameters:
      addressFunction - The address function to determine each connection attempt's host and port
      Throws:
      IOException
    • makeTableLocationProvider

      @NotNull protected @NotNull TableLocationProvider makeTableLocationProvider(@NotNull @NotNull TableKey tableKey)
      Specified by:
      makeTableLocationProvider in class AbstractTableDataService
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • describe

      public String describe()