public class NoOpProvenanceRepository extends Object implements ProvenanceRepository
ProvenanceRepository that does not
store events.| Constructor and Description |
|---|
NoOpProvenanceRepository() |
public void initialize(org.apache.nifi.events.EventReporter eventReporter,
org.apache.nifi.authorization.Authorizer authorizer,
ProvenanceAuthorizableFactory factory,
IdentifierLookup identifierLookup)
throws IOException
initialize in interface ProvenanceRepositoryIOExceptionpublic void close()
throws IOException
close in interface ProvenanceEventRepositoryIOExceptionpublic ProvenanceEventBuilder eventBuilder()
eventBuilder in interface ProvenanceEventRepositorypublic ProvenanceEventRecord getEvent(long id) throws IOException
getEvent in interface ProvenanceEventRepositoryIOExceptionpublic ProvenanceEventRecord getEvent(long id, org.apache.nifi.authorization.user.NiFiUser user) throws IOException
getEvent in interface ProvenanceRepositoryIOExceptionpublic List<ProvenanceEventRecord> getEvents(long firstRecordId, int maxRecords) throws IOException
getEvents in interface ProvenanceEventRepositoryIOExceptionpublic List<ProvenanceEventRecord> getEvents(long firstRecordId, int maxRecords, org.apache.nifi.authorization.user.NiFiUser niFiUser) throws IOException
getEvents in interface ProvenanceRepositoryIOExceptionpublic Long getMaxEventId()
getMaxEventId in interface ProvenanceEventRepositorypublic void registerEvent(ProvenanceEventRecord records)
registerEvent in interface ProvenanceEventRepositorypublic void registerEvents(Iterable<ProvenanceEventRecord> records)
registerEvents in interface ProvenanceEventRepositorypublic ProvenanceEventRepository getProvenanceEventRepository()
getProvenanceEventRepository in interface ProvenanceRepositorypublic org.apache.nifi.provenance.search.QuerySubmission submitQuery(org.apache.nifi.provenance.search.Query query, org.apache.nifi.authorization.user.NiFiUser niFiUser)
submitQuery in interface ProvenanceRepositorypublic Optional<ProvenanceEventRecord> getLatestCachedEvent(String componentId) throws IOException
getLatestCachedEvent in interface ProvenanceRepositoryIOExceptionpublic org.apache.nifi.provenance.search.QuerySubmission retrieveQuerySubmission(String queryIdentifier, org.apache.nifi.authorization.user.NiFiUser niFiUser)
retrieveQuerySubmission in interface ProvenanceRepositorypublic ComputeLineageSubmission submitLineageComputation(String s, org.apache.nifi.authorization.user.NiFiUser niFiUser)
submitLineageComputation in interface ProvenanceRepositorypublic ComputeLineageSubmission submitLineageComputation(long eventId, org.apache.nifi.authorization.user.NiFiUser user)
submitLineageComputation in interface ProvenanceRepositorypublic List<org.apache.nifi.provenance.search.SearchableField> getSearchableFields()
getSearchableFields in interface ProvenanceRepositorypublic List<org.apache.nifi.provenance.search.SearchableField> getSearchableAttributes()
getSearchableAttributes in interface ProvenanceRepositorypublic Set<String> getContainerNames()
getContainerNames in interface ProvenanceRepositorypublic long getContainerCapacity(String s) throws IOException
getContainerCapacity in interface ProvenanceRepositoryIOExceptionpublic String getContainerFileStoreName(String s)
getContainerFileStoreName in interface ProvenanceRepositorypublic long getContainerUsableSpace(String s) throws IOException
getContainerUsableSpace in interface ProvenanceRepositoryIOExceptionpublic AsyncLineageSubmission retrieveLineageSubmission(String lineageIdentifier, org.apache.nifi.authorization.user.NiFiUser user)
retrieveLineageSubmission in interface ProvenanceRepositorypublic AsyncLineageSubmission submitExpandParents(long eventId, org.apache.nifi.authorization.user.NiFiUser user)
submitExpandParents in interface ProvenanceRepositorypublic AsyncLineageSubmission submitExpandChildren(long eventId, org.apache.nifi.authorization.user.NiFiUser user)
submitExpandChildren in interface ProvenanceRepositoryCopyright © 2023 Apache NiFi Project. All rights reserved.