public class HFileBootstrapIndexReader extends BootstrapIndex.IndexReader
metaClient| Constructor and Description |
|---|
HFileBootstrapIndexReader(HoodieTableMetaClient metaClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getBootstrapBasePath()
Return Source base path.
|
List<HoodieFileGroupId> |
getIndexedFileGroupIds()
Return list file-ids indexed.
|
List<String> |
getIndexedPartitionPaths()
Return list of partitions indexed.
|
Map<HoodieFileGroupId,BootstrapFileMapping> |
getSourceFileMappingForFileIds(List<HoodieFileGroupId> ids)
Lookup Bootstrap index by file group ids.
|
List<BootstrapFileMapping> |
getSourceFileMappingForPartition(String partition)
Lookup bootstrap index by partition.
|
public HFileBootstrapIndexReader(HoodieTableMetaClient metaClient)
public List<String> getIndexedPartitionPaths()
BootstrapIndex.IndexReadergetIndexedPartitionPaths in class BootstrapIndex.IndexReaderpublic List<HoodieFileGroupId> getIndexedFileGroupIds()
BootstrapIndex.IndexReadergetIndexedFileGroupIds in class BootstrapIndex.IndexReaderpublic List<BootstrapFileMapping> getSourceFileMappingForPartition(String partition)
BootstrapIndex.IndexReadergetSourceFileMappingForPartition in class BootstrapIndex.IndexReaderpartition - Partition to lookuppublic String getBootstrapBasePath()
BootstrapIndex.IndexReadergetBootstrapBasePath in class BootstrapIndex.IndexReaderpublic Map<HoodieFileGroupId,BootstrapFileMapping> getSourceFileMappingForFileIds(List<HoodieFileGroupId> ids)
BootstrapIndex.IndexReadergetSourceFileMappingForFileIds in class BootstrapIndex.IndexReaderids - File Group Idspublic void close()
close in interface AutoCloseableclose in class BootstrapIndex.IndexReaderCopyright © 2024 The Apache Software Foundation. All rights reserved.