public class DatabaseHistoryUtil extends Object
DatabaseHistory and DebeziumSourceFunction.| Modifier and Type | Method and Description |
|---|---|
static void |
registerHistory(String engineName,
Collection<SchemaRecord> engineHistory)
Registers history of schema safely.
|
static void |
removeHistory(String engineName)
Remove history of schema safely.
|
static Collection<SchemaRecord> |
retrieveHistory(String engineName)
Retrieves history of schema safely, this method firstly checks the history status of specific
engine, and then return the history of schema if the history exists(didn't clean up yet).
|
public static void registerHistory(String engineName, Collection<SchemaRecord> engineHistory)
public static void removeHistory(String engineName)
public static Collection<SchemaRecord> retrieveHistory(String engineName)
Copyright © 2022 The Apache Software Foundation. All rights reserved.