public abstract class AsyncClusteringService extends HoodieAsyncTableService
| Modifier and Type | Field and Description |
|---|---|
static String |
CLUSTERING_POOL_NAME |
protected HoodieEngineContext |
context |
writeConfighasError| Constructor and Description |
|---|
AsyncClusteringService(HoodieEngineContext context,
BaseHoodieWriteClient writeClient) |
AsyncClusteringService(HoodieEngineContext context,
BaseHoodieWriteClient writeClient,
boolean runInDaemonMode) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract BaseClusterer |
createClusteringClient(BaseHoodieWriteClient client) |
protected Pair<CompletableFuture,ExecutorService> |
startService()
Start clustering service.
|
void |
updateWriteClient(BaseHoodieWriteClient writeClient)
Update the write client to be used for clustering.
|
startenqueuePendingAsyncServiceInstant, hasError, isRunInDaemonMode, isShutdown, isShutdownRequested, isStarted, shutdown, waitForShutdown, waitTillPendingAsyncServiceInstantsReducesToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldDelegateToTableServiceManager, tableServicesEnabledpublic static final String CLUSTERING_POOL_NAME
protected transient HoodieEngineContext context
public AsyncClusteringService(HoodieEngineContext context, BaseHoodieWriteClient writeClient)
public AsyncClusteringService(HoodieEngineContext context, BaseHoodieWriteClient writeClient, boolean runInDaemonMode)
protected abstract BaseClusterer createClusteringClient(BaseHoodieWriteClient client)
protected Pair<CompletableFuture,ExecutorService> startService()
startService in class HoodieAsyncServicepublic void updateWriteClient(BaseHoodieWriteClient writeClient)
Copyright © 2023 The Apache Software Foundation. All rights reserved.