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,- DelegatingLivenessReferent,- LivenessReferent,- 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 SummaryNested classes/interfaces inherited from interface io.deephaven.engine.table.impl.locations.TableLocationTableLocation.Listener
- 
Field SummaryFields inherited from class io.deephaven.engine.table.impl.locations.impl.SubscriptionAggregatorsubscriptionsFields inherited from interface io.deephaven.engine.table.impl.ColumnToCodecMappingsEMPTYFields inherited from interface io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandlerNULLFields inherited from interface io.deephaven.engine.table.impl.locations.TableLocationStateNULL_SIZE, NULL_TIME
- 
Constructor SummaryConstructorsConstructorDescriptionRemoteDeephavenTableLocation(@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 SummaryModifier 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) @NotNull List<SortColumn>voidhandleUpdate(@NotNull TableLocationState source) booleanhasDataIndex(@NotNull String... columns) @Nullable BasicDataIndexloadDataIndex(@NotNull String... columns) 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.AbstractTableLocationasLivenessReferent, clearColumnLocations, deliverInitialSnapshot, destroy, getColumnLocation, getDataIndex, getKey, getLastModifiedTimeMillis, getRowSet, getSize, getStateLock, getTableKey, handleUpdate, handleUpdateInternal, handleUpdateInternal, initializeState, toStringMethods inherited from class io.deephaven.engine.table.impl.locations.impl.SubscriptionAggregatoractivationFailed, activationSuccessful, checkHasSubscribers, postActivationHook, subscribe, supportsSubscriptions, unsubscribeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.deephaven.engine.liveness.DelegatingLivenessReferentdropReference, getWeakReference, tryRetainReferenceMethods inherited from interface io.deephaven.engine.liveness.LivenessReferentgetReferentDescription, retainReferenceMethods inherited from interface io.deephaven.util.type.NamedImplementationgetImplementationNameMethods inherited from interface io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandlercheckHasSubscribersMethods inherited from interface io.deephaven.engine.table.impl.locations.TableLocationappend, getColumnLocation, getDataIndex, getKey, getTableKey, subscribe, supportsSubscriptions, toGenericString, toStringDetailed, toStringHelper, unsubscribeMethods inherited from interface io.deephaven.engine.table.impl.locations.TableLocationStatecopyStateValuesTo, getLastModifiedTimeMillis, getRowSet, getSize, getStateLock
- 
Constructor Details- 
RemoteDeephavenTableLocationpublic 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 driver
- tableKey- the- EnterpriseTableKeyidentifying the table
- locationKey- the- EnterpriseTableLocationKeyidentifying the column and internal partitions
- tableDefinition-
 
 
- 
- 
Method Details- 
handleUpdate- Overrides:
- handleUpdatein class- AbstractTableLocation
 
- 
activateUnderlyingDataSourceprotected void activateUnderlyingDataSource()- Overrides:
- activateUnderlyingDataSourcein class- SubscriptionAggregator<TableLocation.Listener>
 
- 
deactivateUnderlyingDataSourceprotected void deactivateUnderlyingDataSource()- Overrides:
- deactivateUnderlyingDataSourcein class- SubscriptionAggregator<TableLocation.Listener>
 
- 
matchSubscriptionTokenprotected <T> boolean matchSubscriptionToken(@NotNull T token) - Overrides:
- matchSubscriptionTokenin class- SubscriptionAggregator<TableLocation.Listener>
 
- 
refreshpublic void refresh()- Specified by:
- refreshin interface- TableLocation
 
- 
getSortedColumns- Specified by:
- getSortedColumnsin interface- TableLocation
 
- 
getDataIndexColumns- Specified by:
- getDataIndexColumnsin interface- TableLocation
 
- 
hasDataIndex- Specified by:
- hasDataIndexin interface- TableLocation
 
- 
makeColumnLocation@NotNull protected final @NotNull io.deephaven.enterprise.locations.remote.RemoteDeephavenColumnLocation makeColumnLocation(@NotNull @NotNull String name) - Specified by:
- makeColumnLocationin class- AbstractTableLocation
 
- 
loadDataIndex- Specified by:
- loadDataIndexin class- AbstractTableLocation
 
- 
onTimeoutpublic void onTimeout(@NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataRequest request) - Specified by:
- onTimeoutin interface- io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
 
- 
onRejectionpublic 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 interface- io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
 
- 
onCompletepublic void onComplete(@NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.TableDataRequest request) - Specified by:
- onCompletein interface- io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
 
- 
onTableLocationStatepublic void onTableLocationState(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationState state) - Specified by:
- onTableLocationStatein interface- io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
 
- 
onTableLocationKeyAddedpublic void onTableLocationKeyAdded(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey locationKey) - Specified by:
- onTableLocationKeyAddedin interface- io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
 
- 
onTableLocationKeyRemovedpublic void onTableLocationKeyRemoved(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey locationKey) - Specified by:
- onTableLocationKeyRemovedin interface- io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.protocol.RequestResultHandler
 
- 
appendpublic 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 interface- DeephavenFormatTableLocation
- Specified by:
- appendin interface- io.deephaven.shadow.enterprise.com.fishlib.base.log.LogOutputAppendable
 
- 
getCodecName- Specified by:
- getCodecNamein interface- ColumnToCodecMappings
 
- 
getCodecArgs- Specified by:
- getCodecArgsin interface- ColumnToCodecMappings
 
 
-