public abstract class BootstrapIndex extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
BootstrapIndex.IndexReader
Bootstrap Index Reader Interface.
|
static class |
BootstrapIndex.IndexWriter
Bootstrap Index Writer Interface.
|
| Modifier and Type | Field and Description |
|---|---|
protected HoodieTableMetaClient |
metaClient |
protected static long |
serialVersionUID |
| Constructor and Description |
|---|
BootstrapIndex(HoodieTableMetaClient metaClient) |
| Modifier and Type | Method and Description |
|---|---|
abstract BootstrapIndex.IndexReader |
createReader()
Create Bootstrap Index Reader.
|
abstract BootstrapIndex.IndexWriter |
createWriter(String sourceBasePath)
Create Bootstrap Index Writer.
|
abstract void |
dropIndex()
Drop bootstrap index.
|
static BootstrapIndex |
getBootstrapIndex(HoodieTableMetaClient metaClient) |
protected abstract boolean |
isPresent()
Check if bootstrap Index is physically present.
|
boolean |
useIndex()
Returns true if valid metadata bootstrap is present.
|
protected static final long serialVersionUID
protected final HoodieTableMetaClient metaClient
public BootstrapIndex(HoodieTableMetaClient metaClient)
public abstract BootstrapIndex.IndexReader createReader()
public abstract BootstrapIndex.IndexWriter createWriter(String sourceBasePath)
sourceBasePath - Source Base Pathpublic abstract void dropIndex()
public final boolean useIndex()
protected abstract boolean isPresent()
public static BootstrapIndex getBootstrapIndex(HoodieTableMetaClient metaClient)
Copyright © 2024 The Apache Software Foundation. All rights reserved.