public class JdbcCatalogLockFactory extends Object implements CatalogLockFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
IDENTIFIER |
| Constructor and Description |
|---|
JdbcCatalogLockFactory() |
| Modifier and Type | Method and Description |
|---|---|
CatalogLock |
createLock(CatalogLockContext context) |
String |
identifier()
Returns a unique identifier among same factory interfaces.
|
public static final String IDENTIFIER
public String identifier()
FactoryFor consistency, an identifier should be declared as one lower case word (e.g. kafka). If multiple factories exist for different versions, a version should be appended
using "-" (e.g. elasticsearch-7).
identifier in interface Factorypublic CatalogLock createLock(CatalogLockContext context)
createLock in interface CatalogLockFactoryCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.