public abstract class AbstractLineageStrategy extends Object implements LineageStrategy
| Modifier and Type | Field and Description |
|---|---|
private LineageContext |
lineageContext |
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AbstractLineageStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDataSetRefs(DataSetRefs dataSetRefs,
org.apache.atlas.v1.model.instance.Referenceable flowPathRef) |
protected void |
addDataSetRefs(NiFiFlow nifiFlow,
DataSetRefs refs) |
protected void |
addDataSetRefs(NiFiFlow nifiFlow,
Set<NiFiFlowPath> flowPaths,
DataSetRefs refs) |
protected boolean |
addDataSetRefs(Set<org.apache.atlas.v1.model.instance.Referenceable> refsToAdd,
org.apache.atlas.v1.model.instance.Referenceable nifiFlowPath,
String targetAttribute) |
protected void |
createEntity(org.apache.atlas.v1.model.instance.Referenceable... entities) |
protected DataSetRefs |
executeAnalyzer(AnalysisContext analysisContext,
ProvenanceEventRecord event) |
private boolean |
isUnassigned(org.apache.atlas.v1.model.instance.Id id) |
void |
setLineageContext(LineageContext lineageContext) |
private org.apache.atlas.v1.model.instance.Referenceable |
toReferenceable(org.apache.atlas.model.instance.AtlasObjectId id) |
private org.apache.atlas.v1.model.instance.Referenceable |
toReferenceable(NiFiFlow nifiFlow) |
protected org.apache.atlas.v1.model.instance.Referenceable |
toReferenceable(NiFiFlowPath flowPath,
NiFiFlow nifiFlow) |
private org.apache.atlas.v1.model.instance.Referenceable |
toReferenceable(NiFiFlowPath flowPath,
org.apache.atlas.v1.model.instance.Referenceable flowRef,
String namespace,
String nifiUrl) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTargetEventTypes, processEventprotected org.slf4j.Logger logger
private LineageContext lineageContext
public void setLineageContext(LineageContext lineageContext)
setLineageContext in interface LineageStrategyprotected DataSetRefs executeAnalyzer(AnalysisContext analysisContext, ProvenanceEventRecord event)
protected void addDataSetRefs(NiFiFlow nifiFlow, DataSetRefs refs)
protected void addDataSetRefs(NiFiFlow nifiFlow, Set<NiFiFlowPath> flowPaths, DataSetRefs refs)
private org.apache.atlas.v1.model.instance.Referenceable toReferenceable(NiFiFlow nifiFlow)
protected org.apache.atlas.v1.model.instance.Referenceable toReferenceable(NiFiFlowPath flowPath, NiFiFlow nifiFlow)
private org.apache.atlas.v1.model.instance.Referenceable toReferenceable(NiFiFlowPath flowPath, org.apache.atlas.v1.model.instance.Referenceable flowRef, String namespace, String nifiUrl)
private org.apache.atlas.v1.model.instance.Referenceable toReferenceable(org.apache.atlas.model.instance.AtlasObjectId id)
protected void createEntity(org.apache.atlas.v1.model.instance.Referenceable... entities)
protected boolean addDataSetRefs(Set<org.apache.atlas.v1.model.instance.Referenceable> refsToAdd, org.apache.atlas.v1.model.instance.Referenceable nifiFlowPath, String targetAttribute)
protected void addDataSetRefs(DataSetRefs dataSetRefs, org.apache.atlas.v1.model.instance.Referenceable flowPathRef)
private boolean isUnassigned(org.apache.atlas.v1.model.instance.Id id)
Copyright © 2024 Apache NiFi Project. All rights reserved.