Package io.debezium.transforms
Class Filter<R extends org.apache.kafka.connect.connector.ConnectRecord<R>>
- java.lang.Object
-
- io.debezium.transforms.ScriptingTransformation<R>
-
- io.debezium.transforms.Filter<R>
-
- Type Parameters:
R- the subtype ofConnectRecordon which this transformation will operate
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.kafka.common.Configurable,org.apache.kafka.connect.transforms.Transformation<R>
@Incubating public class Filter<R extends org.apache.kafka.connect.connector.ConnectRecord<R>> extends ScriptingTransformation<R>
This SMT should allow user to filter out records depending on an expression and language configured.- Author:
- Jiri Pechanec
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.debezium.transforms.ScriptingTransformation
ScriptingTransformation.NullHandling
-
-
Field Summary
Fields Modifier and Type Field Description static FieldEXPRESSION-
Fields inherited from class io.debezium.transforms.ScriptingTransformation
engine, LANGUAGE, NULL_HANDLING
-
-
Constructor Summary
Constructors Constructor Description Filter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RdoApply(R record)protected FieldexpressionField()-
Methods inherited from class io.debezium.transforms.ScriptingTransformation
apply, close, config, configure
-
-
-
-
Field Detail
-
EXPRESSION
public static final Field EXPRESSION
-
-
Method Detail
-
doApply
protected R doApply(R record)
- Specified by:
doApplyin classScriptingTransformation<R extends org.apache.kafka.connect.connector.ConnectRecord<R>>
-
expressionField
protected Field expressionField()
- Specified by:
expressionFieldin classScriptingTransformation<R extends org.apache.kafka.connect.connector.ConnectRecord<R>>
-
-