public interface Factory
A factory is uniquely identified by Class
and identifier()
.
The list of available factories is discovered using Java's Service Provider Interfaces (SPI).
Classes that implement this interface can be added to META_INF/services/org.apache.paimon.factories.Factory
in JAR files.
Modifier and Type | Method and Description |
---|---|
String |
identifier()
Returns a unique identifier among same factory interfaces.
|
String identifier()
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
).
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.