public class HiveCatalogLockFactory extends Object implements CatalogLockFactory
Constructor and Description |
---|
HiveCatalogLockFactory() |
Modifier and Type | Method and Description |
---|---|
CatalogLock |
createLock(CatalogLockContext context) |
String |
identifier()
Returns a unique identifier among same factory interfaces.
|
public CatalogLock createLock(CatalogLockContext context)
createLock
in interface CatalogLockFactory
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
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.