Class SnapshotBackedTableLocation<LOCATION_TYPE extends AbstractTableLocation>
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.local.SnapshotBackedTableLocation<LOCATION_TYPE>
- Type Parameters:
LOCATION_TYPE
-
- All Implemented Interfaces:
LogOutputAppendable
,TableLocation
,TableLocationState
,NamedImplementation
public class SnapshotBackedTableLocation<LOCATION_TYPE extends AbstractTableLocation>
extends AbstractTableLocation
A
TableLocation
backed by a TableLocationMetadataIndex.TableLocationSnapshot
that does not refresh and tries to avoid creating
the actual location until it is truly needed.-
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
subscriptions
Fields inherited from interface io.deephaven.engine.table.impl.locations.TableLocationState
NULL_SIZE, NULL_TIME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SnapshotBackedTableLocation
(@NotNull TableKey tableKey, @NotNull TableLocationKey tableLocationKey, boolean supportsSubscriptions, io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot snapshot, @NotNull Supplier<LOCATION_TYPE> locationFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull ColumnLocation
makeColumnLocation
(@NotNull String name) void
refresh()
Methods inherited from class io.deephaven.engine.table.impl.locations.impl.AbstractTableLocation
clearColumnLocations, deliverInitialSnapshot, getColumnLocation, getKey, getLastModifiedTimeMillis, getRowSet, getSize, getStateLock, getTableKey, handleUpdate, handleUpdate, toString
Methods inherited from class io.deephaven.engine.table.impl.locations.impl.SubscriptionAggregator
activateUnderlyingDataSource, activationFailed, activationSuccessful, checkHasSubscribers, deactivateUnderlyingDataSource, matchSubscriptionToken, postActivationHook, subscribe, supportsSubscriptions, unsubscribe
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.deephaven.util.type.NamedImplementation
getImplementationName
Methods inherited from interface io.deephaven.engine.table.impl.locations.TableLocation
append, subscribe, supportsSubscriptions, toGenericString, toStringDetailed, toStringHelper, unsubscribe
Methods inherited from interface io.deephaven.engine.table.impl.locations.TableLocationState
copyStateValuesTo
-
Constructor Details
-
SnapshotBackedTableLocation
protected SnapshotBackedTableLocation(@NotNull @NotNull TableKey tableKey, @NotNull @NotNull TableLocationKey tableLocationKey, boolean supportsSubscriptions, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot snapshot, @NotNull @NotNull Supplier<LOCATION_TYPE> locationFactory) - Parameters:
tableKey
- Table key for the table this location belongs totableLocationKey
- Table location key that identifies this locationsupportsSubscriptions
- Whether subscriptions are to be supported
-
-
Method Details
-
makeColumnLocation
- Specified by:
makeColumnLocation
in classAbstractTableLocation
-
refresh
public void refresh()
-