Class RemoteTableDataService
java.lang.Object
com.illumon.iris.db.v2.tabledataservice.AbstractTableDataService
com.illumon.iris.db.v2.locations.remote.RemoteTableDataService
- All Implemented Interfaces:
TableDataService,NamedImplementation
Remote
TableDataService implementation.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassTableLocationProvider implementation that delegates to appropriate Requests.Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.tabledataservice.TableDataService
TableDataService.Null -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final RemoteTableDataServiceDescriptorprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionRemoteTableDataService(io.deephaven.enterprise.niowrapper.sched.Scheduler scheduler, com.fishlib.io.logger.Logger log, String name, RemoteTableDataServiceDescriptor descriptor) Construct a new remote table data service, ready to be connected. -
Method Summary
Modifier and TypeMethodDescriptionvoidAuthenticate the TableDataService usingAuthenticationClientManager.getDefault()connect()Connect to the configured remote server(s)describe()Like toString, but with more detail.Return the descriptor object for this TableDataService instance.protected TableLocationProvidermakeTableLocationProvider(TableKey tableKey) voidshutdown()Stop any processes and release resources held by this TableDataService instance.toString()Methods inherited from class com.illumon.iris.db.v2.tabledataservice.AbstractTableDataService
getKnownLocationProviders, getName, getTableLocationProvider, reset, resetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.util.type.NamedImplementation
getImplementationNameMethods inherited from interface com.illumon.iris.db.v2.tabledataservice.TableDataService
getTableLocationProvider
-
Field Details
-
descriptor
-
logPrefix
-
-
Constructor Details
-
RemoteTableDataService
public RemoteTableDataService(@NotNull io.deephaven.enterprise.niowrapper.sched.Scheduler scheduler, @NotNull com.fishlib.io.logger.Logger log, @NotNull String name, @NotNull RemoteTableDataServiceDescriptor descriptor) Construct a new remote table data service, ready to be connected.- Parameters:
scheduler- Job schedulerlog- Logger for outputname- Remote service namedescriptor- all information required to configure and connect this RTDS
-
-
Method Details
-
getDescriptor
Description copied from interface:TableDataServiceReturn the descriptor object for this TableDataService instance.- Specified by:
getDescriptorin interfaceTableDataService- Overrides:
getDescriptorin classAbstractTableDataService- Returns:
- the TableDataServiceDescriptor for this TableDataService
-
authenticate
public void authenticate()Description copied from interface:TableDataServiceAuthenticate the TableDataService usingAuthenticationClientManager.getDefault() -
connect
Connect to the configured remote server(s)- Returns:
- this
- Throws:
IOException- if the connection fails
-
shutdown
public void shutdown()Description copied from interface:TableDataServiceStop any processes and release resources held by this TableDataService instance. -
makeTableLocationProvider
- Specified by:
makeTableLocationProviderin classAbstractTableDataService
-
toString
- Overrides:
toStringin classAbstractTableDataService
-
describe
Description copied from interface:TableDataServiceLike toString, but with more detail.- Returns:
- a description string
-