public abstract class CamelTypeConverterTransform<R extends org.apache.kafka.connect.connector.ConnectRecord<R>> extends CamelTransformSupport<R>
| Modifier and Type | Class and Description |
|---|---|
static class |
CamelTypeConverterTransform.Key<R extends org.apache.kafka.connect.connector.ConnectRecord<R>> |
static class |
CamelTypeConverterTransform.Value<R extends org.apache.kafka.connect.connector.ConnectRecord<R>> |
| Modifier and Type | Field and Description |
|---|---|
static org.apache.kafka.common.config.ConfigDef |
CONFIG_DEF |
static String |
FIELD_TARGET_TYPE_CONFIG |
| Constructor and Description |
|---|
CamelTypeConverterTransform() |
| Modifier and Type | Method and Description |
|---|---|
R |
apply(R record) |
void |
close() |
org.apache.kafka.common.config.ConfigDef |
config() |
void |
configure(Map<String,?> props) |
protected abstract R |
newRecord(R record,
org.apache.kafka.connect.data.Schema updatedSchema,
Object updatedValue) |
protected abstract org.apache.kafka.connect.data.Schema |
operatingSchema(R record) |
protected abstract Object |
operatingValue(R record) |
getCamelContextpublic static final String FIELD_TARGET_TYPE_CONFIG
public static final org.apache.kafka.common.config.ConfigDef CONFIG_DEF
public org.apache.kafka.common.config.ConfigDef config()
public void close()
protected abstract org.apache.kafka.connect.data.Schema operatingSchema(R record)
Copyright © 2021 The Apache Software Foundation. All rights reserved.