Class SnapshotBackedTableLocation<LOCATION_TYPE extends AbstractTableLocation>

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.
  • 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 to
      tableLocationKey - Table location key that identifies this location
      supportsSubscriptions - Whether subscriptions are to be supported
  • Method Details