Class RemoteDeephavenTableLocation
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.SubscriptionAggregator<TableLocation.Listener>
io.deephaven.engine.table.impl.locations.impl.AbstractTableLocation
io.deephaven.enterprise.locations.remote.RemoteDeephavenTableLocation
- All Implemented Interfaces:
LogOutputAppendable,ColumnToCodecMappings,TableLocation,TableLocationState,DeephavenFormatTableLocation,io.deephaven.shadow.enterprise.com.fishlib.base.log.LogOutputAppendable,io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler,NamedImplementation
public class RemoteDeephavenTableLocation
extends AbstractTableLocation
implements DeephavenFormatTableLocation, io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler, ColumnToCodecMappings
A
TableLocation implementation for remote table subscriptions discovered by a
io.deephaven.enterprise.tabledataservice.RemoteTableDataService.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.locations.TableLocation
TableLocation.Listener -
Field Summary
Fields inherited from class io.deephaven.engine.table.impl.locations.impl.SubscriptionAggregator
subscriptionsFields inherited from interface io.deephaven.engine.table.impl.ColumnToCodecMappings
EMPTYFields inherited from interface io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
NULLFields inherited from interface io.deephaven.engine.table.impl.locations.TableLocationState
NULL_SIZE, NULL_TIME -
Constructor Summary
ConstructorsConstructorDescriptionRemoteDeephavenTableLocation(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataProtocolDriver driver, @NotNull EnterpriseTableKey tableKey, @NotNull EnterpriseTableLocationKey locationKey, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.TableDefinition tableDefinition) Create a remote table location using the specifiedprotocol driverfor acquiring table data. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidio.deephaven.shadow.enterprise.com.fishlib.base.log.LogOutputappend(@NotNull io.deephaven.shadow.enterprise.com.fishlib.base.log.LogOutput logOutput) protected voidgetCodecArgs(@NotNull String columnName) getCodecName(@NotNull String columnName) voidhandleUpdate(@NotNull TableLocationState source) protected final @NotNull io.deephaven.enterprise.locations.remote.RemoteDeephavenColumnLocationmakeColumnLocation(@NotNull String name) protected <T> booleanmatchSubscriptionToken(T token) voidonComplete(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataRequest request) voidonRejection(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataRequest request, String rejectionMessage, io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataProtocol.RequestRejectionType requestRejectionType) voidonTableLocationKeyAdded(io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey locationKey) voidonTableLocationKeyRemoved(io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey locationKey) voidonTableLocationState(io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationState state) voidonTimeout(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataRequest request) voidrefresh()Methods inherited from class io.deephaven.engine.table.impl.locations.impl.AbstractTableLocation
clearColumnLocations, deliverInitialSnapshot, getColumnLocation, getKey, getLastModifiedTimeMillis, getRowSet, getSize, getStateLock, getTableKey, handleUpdate, toStringMethods inherited from class io.deephaven.engine.table.impl.locations.impl.SubscriptionAggregator
activationFailed, activationSuccessful, checkHasSubscribers, postActivationHook, subscribe, supportsSubscriptions, unsubscribeMethods 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.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
checkHasSubscribersMethods inherited from interface io.deephaven.engine.table.impl.locations.TableLocation
append, getColumnLocation, getKey, getTableKey, subscribe, supportsSubscriptions, toGenericString, toStringDetailed, toStringHelper, unsubscribeMethods inherited from interface io.deephaven.engine.table.impl.locations.TableLocationState
copyStateValuesTo, getLastModifiedTimeMillis, getRowSet, getSize, getStateLock
-
Constructor Details
-
RemoteDeephavenTableLocation
public RemoteDeephavenTableLocation(@NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataProtocolDriver driver, @NotNull @NotNull EnterpriseTableKey tableKey, @NotNull @NotNull EnterpriseTableLocationKey locationKey, @NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.TableDefinition tableDefinition) Create a remote table location using the specifiedprotocol driverfor acquiring table data.- Parameters:
driver- the drivertableKey- theEnterpriseTableKeyidentifying the tablelocationKey- theEnterpriseTableLocationKeyidentifying the column and internal partitionstableDefinition-
-
-
Method Details
-
handleUpdate
- Overrides:
handleUpdatein classAbstractTableLocation
-
activateUnderlyingDataSource
protected void activateUnderlyingDataSource()- Overrides:
activateUnderlyingDataSourcein classSubscriptionAggregator<TableLocation.Listener>
-
deactivateUnderlyingDataSource
protected void deactivateUnderlyingDataSource()- Overrides:
deactivateUnderlyingDataSourcein classSubscriptionAggregator<TableLocation.Listener>
-
matchSubscriptionToken
protected <T> boolean matchSubscriptionToken(@NotNull T token) - Overrides:
matchSubscriptionTokenin classSubscriptionAggregator<TableLocation.Listener>
-
refresh
public void refresh()- Specified by:
refreshin interfaceTableLocation
-
makeColumnLocation
@NotNull protected final @NotNull io.deephaven.enterprise.locations.remote.RemoteDeephavenColumnLocation makeColumnLocation(@NotNull @NotNull String name) - Specified by:
makeColumnLocationin classAbstractTableLocation
-
onTimeout
public void onTimeout(@NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataRequest request) - Specified by:
onTimeoutin interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
-
onRejection
public void onRejection(@NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataRequest request, String rejectionMessage, io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataProtocol.RequestRejectionType requestRejectionType) - Specified by:
onRejectionin interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
-
onComplete
public void onComplete(@NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataRequest request) - Specified by:
onCompletein interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
-
onTableLocationState
public void onTableLocationState(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationState state) - Specified by:
onTableLocationStatein interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
-
onTableLocationKeyAdded
public void onTableLocationKeyAdded(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey locationKey) - Specified by:
onTableLocationKeyAddedin interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
-
onTableLocationKeyRemoved
public void onTableLocationKeyRemoved(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey locationKey) - Specified by:
onTableLocationKeyRemovedin interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
-
append
public io.deephaven.shadow.enterprise.com.fishlib.base.log.LogOutput append(@NotNull @NotNull io.deephaven.shadow.enterprise.com.fishlib.base.log.LogOutput logOutput) - Specified by:
appendin interfaceDeephavenFormatTableLocation- Specified by:
appendin interfaceio.deephaven.shadow.enterprise.com.fishlib.base.log.LogOutputAppendable
-
getCodecName
- Specified by:
getCodecNamein interfaceColumnToCodecMappings
-
getCodecArgs
- Specified by:
getCodecArgsin interfaceColumnToCodecMappings
-