public interface RelationalTransform
Modifier and Type | Method and Description |
---|---|
default boolean |
canUseEngine(Engine engine)
This call allows to prefilter engines before doing
transform(io.cdap.cdap.etl.api.relational.RelationalTranformContext) . |
default boolean |
requireUnionInputs()
This will union multiple input data together if required
|
boolean |
transform(RelationalTranformContext context)
This call will be done for every suitable engine until after supported tranformation is
declared or there is no more engines left.
|
default boolean canUseEngine(Engine engine)
transform(io.cdap.cdap.etl.api.relational.RelationalTranformContext)
.engine
- engine to checkboolean transform(RelationalTranformContext context)
This call will be done for every suitable engine until after supported tranformation is declared or there is no more engines left.
A transformation is supported if plugin returned true, all registered output relations are valid and engine can perform the transformation requested.
If no engine can perform a transformation, a fall back to regular by-row transformation is performed.
context
- tranformation context with engine, input and output parametersLinearRelationalTransform} for simpler interface for plugins that take 1 input and
produce 1 output.
default boolean requireUnionInputs()
This will union multiple input data together if required
Copyright © 2023 Cask Data, Inc. Licensed under the Apache License, Version 2.0.