public class HFileBootstrapIndex extends BootstrapIndex
BootstrapIndex.IndexReader, BootstrapIndex.IndexWriter| Modifier and Type | Field and Description |
|---|---|
static String |
BOOTSTRAP_INDEX_FILE_ID |
static String |
HFILE_CELL_KEY_SUFFIX_PART |
static byte[] |
INDEX_INFO_KEY |
static String |
INDEX_INFO_KEY_STRING |
metaClient| Constructor and Description |
|---|
HFileBootstrapIndex(HoodieTableMetaClient metaClient) |
| Modifier and Type | Method and Description |
|---|---|
BootstrapIndex.IndexReader |
createReader()
Create Bootstrap Index Reader.
|
BootstrapIndex.IndexWriter |
createWriter(String bootstrapBasePath)
Create Bootstrap Index Writer.
|
void |
dropIndex()
Drop bootstrap index.
|
boolean |
isPresent()
Check if bootstrap Index is physically present.
|
getBootstrapIndex, useIndexpublic static final String BOOTSTRAP_INDEX_FILE_ID
public static final String HFILE_CELL_KEY_SUFFIX_PART
public static final String INDEX_INFO_KEY_STRING
public static final byte[] INDEX_INFO_KEY
public HFileBootstrapIndex(HoodieTableMetaClient metaClient)
public BootstrapIndex.IndexReader createReader()
BootstrapIndexcreateReader in class BootstrapIndexpublic BootstrapIndex.IndexWriter createWriter(String bootstrapBasePath)
BootstrapIndexcreateWriter in class BootstrapIndexbootstrapBasePath - Source Base Pathpublic void dropIndex()
BootstrapIndexdropIndex in class BootstrapIndexpublic boolean isPresent()
BootstrapIndexisPresent in class BootstrapIndexCopyright © 2024 The Apache Software Foundation. All rights reserved.