Class SourcePartitionedTable

All Implemented Interfaces:
LogOutputAppendable, LivenessManager, LivenessNode, LivenessReferent, PartitionedTable, Serializable

public class SourcePartitionedTable extends PartitionedTableImpl
PartitionedTable of single-location SourceTables keyed by TableLocationKey. Refer to TableLocationKey for an explanation of partitioning.
See Also:
  • Constructor Details

    • SourcePartitionedTable

      public SourcePartitionedTable(@NotNull @NotNull TableDefinition constituentDefinition, @NotNull @NotNull UnaryOperator<Table> applyTablePermissions, @NotNull @NotNull TableLocationProvider tableLocationProvider, boolean refreshLocations, boolean refreshSizes, @NotNull @NotNull Predicate<ImmutableTableLocationKey> locationKeyMatcher)
      Construct a SourcePartitionedTable from the supplied parameters.

      Note that refreshLocations and refreshSizes are distinct because there are use cases that supply an external RowSet and hence don't require size refreshes. Others might care for size refreshes, but only the initially-available set of locations.

      Parameters:
      constituentDefinition - The TableDefinition expected of constituent tables
      applyTablePermissions - Function to apply in order to correctly restrict the visible result rows
      tableLocationProvider - Source for table locations
      refreshLocations - Whether the set of locations should be refreshed
      refreshSizes - Whether the locations found should be refreshed
      locationKeyMatcher - Function to filter desired location keys