public class MultiAwareBucketTableScan extends MultiTableScanBase<org.apache.flink.api.java.tuple.Tuple2<Split,String>>
MultiTableScanBase for the
table with multi bucket such as dynamic or fixed bucket table.MultiTableScanBase.ScanResult| Modifier and Type | Field and Description |
|---|---|
protected Map<Identifier,StreamTableScan> |
scansMap |
protected Map<Identifier,CompactBucketsTable> |
tablesMap |
catalog, databasePattern, excludingPattern, includingPattern, isStreaming, tableOptions| Constructor and Description |
|---|
MultiAwareBucketTableScan(CatalogLoader catalogLoader,
Pattern includingPattern,
Pattern excludingPattern,
Pattern databasePattern,
boolean isStreaming,
Map<String,String> tableOptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addScanTable(FileStoreTable fileStoreTable,
Identifier identifier)
Add the scan table to the table map.
|
boolean |
checkTableScanned(Identifier identifier)
Check if table has been scanned.
|
close, scanTable, updateTableMapprotected transient Map<Identifier,CompactBucketsTable> tablesMap
protected transient Map<Identifier,StreamTableScan> scansMap
public boolean checkTableScanned(Identifier identifier)
MultiTableScanBasepublic void addScanTable(FileStoreTable fileStoreTable, Identifier identifier)
MultiTableScanBaseCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.