public abstract static class BootstrapIndex.IndexReader extends Object implements Serializable, AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected HoodieTableMetaClient |
metaClient |
| Constructor and Description |
|---|
IndexReader(HoodieTableMetaClient metaClient) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close() |
abstract String |
getBootstrapBasePath()
Return Source base path.
|
abstract List<HoodieFileGroupId> |
getIndexedFileGroupIds()
Return list file-ids indexed.
|
abstract List<String> |
getIndexedPartitionPaths()
Return list of partitions indexed.
|
abstract Map<HoodieFileGroupId,BootstrapFileMapping> |
getSourceFileMappingForFileIds(List<HoodieFileGroupId> ids)
Lookup Bootstrap index by file group ids.
|
abstract List<BootstrapFileMapping> |
getSourceFileMappingForPartition(String partition)
Lookup bootstrap index by partition.
|
protected final HoodieTableMetaClient metaClient
public IndexReader(HoodieTableMetaClient metaClient)
public abstract String getBootstrapBasePath()
public abstract List<String> getIndexedPartitionPaths()
public abstract List<HoodieFileGroupId> getIndexedFileGroupIds()
public abstract List<BootstrapFileMapping> getSourceFileMappingForPartition(String partition)
partition - Partition to lookuppublic abstract Map<HoodieFileGroupId,BootstrapFileMapping> getSourceFileMappingForFileIds(List<HoodieFileGroupId> ids)
ids - File Group Idspublic abstract void close()
close in interface AutoCloseableCopyright © 2024 The Apache Software Foundation. All rights reserved.