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()
Factory
For 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 Factory
public CatalogLock createLock(CatalogLockContext context)
createLock
in interface CatalogLockFactory
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.