Class CriteriaSerDe.CriteriaBinding
java.lang.Object
org.apache.nifi.update.attributes.serde.CriteriaSerDe.CriteriaBinding
- Enclosing class:
CriteriaSerDe
Handles the Criteria binding during the (de)serialization process. This
is done because the Criteria itself, maintains a slightly different
model. The conversion between the models was being performed in the
getter/setter of the rules. Different implementations of JAXB functioned
differently (calling the setter vs calling the getter and adding to it)
and at times would not work. Another approach would have been to convert
between the models using a JAXB adapter. Unfortunately, this would have
required updates to all of the clients of Criteria. Keeping the binding
simple and initializing the Criteria with it seemed most appropriate.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRules()
void
setFlowFilePolicy
(FlowFilePolicy flowFilePolicy) void
-
Field Details
-
rules
-
flowFilePolicy
-
-
Constructor Details
-
CriteriaBinding
private CriteriaBinding()
-
-
Method Details
-
getRules
-
setRules
-
getFlowFilePolicy
-
setFlowFilePolicy
-