Class RemoteTableDataService
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.AbstractTableDataService
io.deephaven.enterprise.tabledataservice.RemoteTableDataService
- All Implemented Interfaces:
TableDataService,EnterpriseTableDataService,NamedImplementation
public class RemoteTableDataService
extends AbstractTableDataService
implements EnterpriseTableDataService
A
TableDataService implementation that uses Enterprise's TableDataProtocol to locate tables.-
Constructor Summary
ConstructorsConstructorDescriptionRemoteTableDataService(@NotNull SchemaService schemaService, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataProtocolDriver protocolDriver, @NotNull String name, @NotNull RemoteTableDataServiceDescriptor descriptor) Construct a new remote table data service, ready to be connected. -
Method Summary
Modifier and TypeMethodDescriptionconnect()Connect to the configured remote server(s)describe()@NotNull RemoteTableDataServiceDescriptorReturn an immutable descriptor object that identifies this TableDataService instance and does not hold resources.protected @NotNull TableLocationProvidermakeTableLocationProvider(@NotNull TableKey tableKey) toString()Methods inherited from class io.deephaven.engine.table.impl.locations.impl.AbstractTableDataService
getName, getRawTableLocationProvider, getTableLocationProvider, reset, resetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.deephaven.util.type.NamedImplementation
getImplementationNameMethods inherited from interface io.deephaven.engine.table.impl.locations.TableDataService
getName, getRawTableLocationProvider, getTableLocationProvider, reset, reset
-
Constructor Details
-
RemoteTableDataService
public RemoteTableDataService(@NotNull @NotNull SchemaService schemaService, @NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataProtocolDriver protocolDriver, @NotNull @NotNull String name, @NotNull @NotNull RemoteTableDataServiceDescriptor descriptor) Construct a new remote table data service, ready to be connected.- Parameters:
schemaService- TheSchemaServiceto use for locatingTableDefinitionsprotocolDriver- The table data protocol driver.name- Remote service namedescriptor- all information required to configure and connect this RTDS
-
-
Method Details
-
getDescriptor
Description copied from interface:EnterpriseTableDataServiceReturn an immutable descriptor object that identifies this TableDataService instance and does not hold resources.- Specified by:
getDescriptorin interfaceEnterpriseTableDataService- Returns:
- the TableDataServiceDescriptor for this TableDataService
-
connect
Connect to the configured remote server(s)- Returns:
- this
- Throws:
IOException- if the connection fails
-
makeTableLocationProvider
@NotNull protected @NotNull TableLocationProvider makeTableLocationProvider(@NotNull @NotNull TableKey tableKey) - Specified by:
makeTableLocationProviderin classAbstractTableDataService
-
toString
-
describe
- Specified by:
describein interfaceTableDataService
-