Class CoreFromEnterpriseTableLocationProvider
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.SubscriptionAggregator<TableLocationProvider.Listener>
io.deephaven.engine.table.impl.locations.impl.AbstractTableLocationProvider
io.deephaven.enterprise.compatibility.locationprovider.CoreFromEnterpriseTableLocationProvider
- All Implemented Interfaces:
- TableLocationProvider,- NamedImplementation
This class adapts a Legacy Enterprise TableLocationProvider into a Core TableLocationProvider.
 
In general, we create Core TableLocationProviders; but there are some circumstances where an Enterprise TableLocationProvider is needed and we must adapt it to the Core engine. In particular, this is used to implement a last-by DIS. The DataImportServer provides a TableLocationProvider (and we need that specific one for consistency), but we want to export our resultant tables over Barrage.
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.deephaven.engine.table.impl.locations.TableLocationProviderTableLocationProvider.Listener
- 
Field SummaryFields inherited from class io.deephaven.engine.table.impl.locations.impl.SubscriptionAggregatorsubscriptions
- 
Constructor SummaryConstructorsConstructorDescriptionCoreFromEnterpriseTableLocationProvider(io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationProvider enterpriseTableLocationProvider, String partitionColumnName, io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.TableDefinition enterpriseDefinition) Create a Core TableLocationProvider that wraps the given Enterprise TableLocationProvider.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidprotected voidprotected @NotNull TableLocationmakeTableLocation(@NotNull TableLocationKey locationKey) protected <T> booleanmatchSubscriptionToken(T token) voidrefresh()Methods inherited from class io.deephaven.engine.table.impl.locations.impl.AbstractTableLocationProviderbeginTransaction, deliverInitialSnapshot, doInitialization, endTransaction, ensureInitialized, getKey, getLocationUpdateMode, getTableLocationIfPresent, getTableLocationKeys, getUpdateMode, handleTableLocationKeyAdded, handleTableLocationKeyAdded, handleTableLocationKeyRemoved, hasTableLocationKey, isInitialized, removeTableLocationKey, setInitialized, toString, visitLocationKeyMethods 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.util.type.NamedImplementationgetImplementationNameMethods inherited from interface io.deephaven.engine.table.impl.locations.TableLocationProvidergetName, getTableLocation, getTableLocationKeys, getTableLocationKeys, subscribe, supportsSubscriptions, unsubscribe
- 
Constructor Details- 
CoreFromEnterpriseTableLocationProviderpublic CoreFromEnterpriseTableLocationProvider(io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationProvider enterpriseTableLocationProvider, String partitionColumnName, io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.TableDefinition enterpriseDefinition) Create a Core TableLocationProvider that wraps the given Enterprise TableLocationProvider.- Parameters:
- enterpriseTableLocationProvider- the Enterprise TableLocationProvider
- partitionColumnName- the name of the column partition for this Table
- enterpriseDefinition-
 
 
- 
- 
Method Details- 
makeTableLocation@NotNull protected @NotNull TableLocation makeTableLocation(@NotNull @NotNull TableLocationKey locationKey) - Specified by:
- makeTableLocationin class- AbstractTableLocationProvider
 
- 
refreshpublic void refresh()
- 
activateUnderlyingDataSourceprotected void activateUnderlyingDataSource()- Overrides:
- activateUnderlyingDataSourcein class- SubscriptionAggregator<TableLocationProvider.Listener>
 
- 
deactivateUnderlyingDataSourceprotected void deactivateUnderlyingDataSource()- Overrides:
- deactivateUnderlyingDataSourcein class- SubscriptionAggregator<TableLocationProvider.Listener>
 
- 
matchSubscriptionTokenprotected <T> boolean matchSubscriptionToken(T token) - Overrides:
- matchSubscriptionTokenin class- SubscriptionAggregator<TableLocationProvider.Listener>
 
 
-