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 Summary
Constructors Constructor Description NestedPartitionedLocalTableLocationScanner(LocalTablePathManager locationManager, TableKey tableKey) -
Method Summary
Modifier and Type Method Description FilecomputeLocationDirectory(TableKey tableKey, TableLocationKey locationKey)voidscanAll(Consumer<TableLocationKey> locationKeyObserver)StringtoString()
-
Constructor Details
-
NestedPartitionedLocalTableLocationScanner
@VisibleForTesting public NestedPartitionedLocalTableLocationScanner(@NotNull LocalTablePathManager locationManager, @NotNull TableKey tableKey)
-
-
Method Details
-
toString
-
scanAll
- Specified by:
scanAllin interfacecom.illumon.iris.db.v2.locations.local.LocalTableLocationProvider.Scanner
-
computeLocationDirectory
public File computeLocationDirectory(@NotNull TableKey tableKey, @NotNull TableLocationKey locationKey)- Specified by:
computeLocationDirectoryin interfacecom.illumon.iris.db.v2.locations.local.LocalTableLocationProvider.Scanner
-