public class HFileBootstrapIndex extends BootstrapIndex
| Modifier and Type | Class and Description |
|---|---|
static class |
HFileBootstrapIndex.HFileBootstrapIndexReader
HFile Based Index Reader.
|
static class |
HFileBootstrapIndex.HFileBootstrapIndexWriter
Bootstrap Index Writer to build bootstrap index.
|
static class |
HFileBootstrapIndex.HoodieKVComparator
This class is explicitly used as Key Comparator to workaround hard coded
legacy format class names inside HBase.
|
BootstrapIndex.IndexReader, BootstrapIndex.IndexWriter| Modifier and Type | Field and Description |
|---|---|
static String |
BOOTSTRAP_INDEX_FILE_ID |
static byte[] |
INDEX_INFO_KEY |
protected static long |
serialVersionUID |
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, useIndexprotected static final long serialVersionUID
public static final String BOOTSTRAP_INDEX_FILE_ID
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 © 2022 The Apache Software Foundation. All rights reserved.