Class IndexedLocalTableLocationScanner
java.lang.Object
com.illumon.iris.db.v2.locations.local.IndexedLocalTableLocationScanner
- All Implemented Interfaces:
com.illumon.iris.db.v2.locations.local.LocalTableLocationProvider.Scanner
public class IndexedLocalTableLocationScanner extends Object implements com.illumon.iris.db.v2.locations.local.LocalTableLocationProvider.Scanner
Local table location scanner that wraps a
TableLocationMetadataIndex.-
Constructor Summary
Constructors Constructor Description IndexedLocalTableLocationScanner(LocalTablePathManager locationManager, TableKey tableKey, TableLocationMetadataIndex tableLocationMetadataIndex) -
Method Summary
Modifier and Type Method Description FilecomputeLocationDirectory(TableKey tableKey, TableLocationKey locationKey)TableLocationMetadataIndexgetMetadataIndex()voidscanAll(Consumer<TableLocationKey> locationKeyObserver)StringtoString()
-
Constructor Details
-
IndexedLocalTableLocationScanner
@VisibleForTesting public IndexedLocalTableLocationScanner(@NotNull LocalTablePathManager locationManager, @NotNull TableKey tableKey, @NotNull TableLocationMetadataIndex tableLocationMetadataIndex)
-
-
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
-
getMetadataIndex
- Specified by:
getMetadataIndexin interfacecom.illumon.iris.db.v2.locations.local.LocalTableLocationProvider.Scanner
-