Class NestedPartitionedLocalTableLocationScanner

java.lang.Object
com.illumon.iris.db.v2.locations.local.NestedPartitionedLocalTableLocationScanner
All Implemented Interfaces:
com.illumon.iris.db.v2.locations.local.LocalTableLocationProvider.Scanner

public class NestedPartitionedLocalTableLocationScanner extends Object implements com.illumon.iris.db.v2.locations.local.LocalTableLocationProvider.Scanner
Local table location scanner that can handle two-level partitioning.
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRoot

      public String getRoot()
      Description copied from interface: com.illumon.iris.db.v2.locations.local.LocalTableLocationProvider.Scanner
      Get the starting location for this scanner.
      Specified by:
      getRoot in interface com.illumon.iris.db.v2.locations.local.LocalTableLocationProvider.Scanner
      Returns:
      the starting location for this scanner
    • scanAll

      public void scanAll(@NotNull Consumer<TableLocationKey> locationKeyObserver)
      Specified by:
      scanAll in interface com.illumon.iris.db.v2.locations.local.LocalTableLocationProvider.Scanner
    • computeLocationDirectory

      public File computeLocationDirectory(@NotNull TableKey tableKey, @NotNull TableLocationKey locationKey)
      Specified by:
      computeLocationDirectory in interface com.illumon.iris.db.v2.locations.local.LocalTableLocationProvider.Scanner