public class CanalDataFormatFactory extends Object implements DataFormatFactory
CanalDataFormat
.Modifier and Type | Field and Description |
---|---|
static String |
IDENTIFIER |
Constructor and Description |
---|
CanalDataFormatFactory() |
Modifier and Type | Method and Description |
---|---|
DataFormat |
create() |
String |
identifier()
Returns a unique identifier among same factory interfaces.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDataFormat
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 DataFormat create()
create
in interface DataFormatFactory
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.