Package org.qubership.nifi.service
Interface DbJsonMappingService
- All Superinterfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService
public interface DbJsonMappingService
extends org.apache.nifi.controller.ControllerService
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.nifi.components.PropertyDescriptorstatic final org.apache.nifi.components.PropertyDescriptor -
Method Summary
Modifier and TypeMethodDescriptiondb2Json()Gets DB to JSON mapping table based on controller service parameters.Looks up DB to JSON mapping table based on FlowFile attributes.Gets Business Entity (BE) type associated with this controller service.Gets Source System associated with this controller service.booleanisLookup()Used to check if controller service is lookup controller service or not.json2DB()Gets JSON to DB mapping based on controller service parameters.Looks up JSON to DB mapping based on FlowFile attributes.Methods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful
-
Field Details
-
BE_TYPE
static final org.apache.nifi.components.PropertyDescriptor BE_TYPE -
SOURCE_SYSTEM
static final org.apache.nifi.components.PropertyDescriptor SOURCE_SYSTEM
-
-
Method Details
-
db2Json
DBToJsonMappingTable db2Json()Gets DB to JSON mapping table based on controller service parameters. -
db2Json
Looks up DB to JSON mapping table based on FlowFile attributes. Attributes must contain be.type = Business Entity (BE) type. -
json2DB
JsonToDBGraph json2DB()Gets JSON to DB mapping based on controller service parameters. -
json2DB
Looks up JSON to DB mapping based on FlowFile attributes. Attributes must contain be.type = Business Entity (BE) type. -
getBeType
String getBeType()Gets Business Entity (BE) type associated with this controller service. -
getSourceSystem
String getSourceSystem()Gets Source System associated with this controller service. -
isLookup
boolean isLookup()Used to check if controller service is lookup controller service or not.- Returns:
- true, if this controller service is lookup controller service.
-