public class StandardProvenanceEventRecord extends Object implements ProvenanceEventRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
StandardProvenanceEventRecord.Builder |
REMOTE_INPUT_PORT_TYPE, REMOTE_OUTPUT_PORT_TYPE| Constructor and Description |
|---|
StandardProvenanceEventRecord(StandardProvenanceEventRecord.Builder builder) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitisRemotePortTypeprivate final long eventTime
private final long entryDate
private final ProvenanceEventType eventType
private final long lineageStartDate
private final String componentId
private final String componentType
private final String transitUri
private final String sourceSystemFlowFileIdentifier
private final String uuid
private final String alternateIdentifierUri
private final String details
private final String relationship
private final long storageByteOffset
private final String storageFilename
private final long eventDuration
private final String contentClaimSection
private final String contentClaimContainer
private final String contentClaimIdentifier
private final Long contentClaimOffset
private final long contentSize
private final String previousClaimSection
private final String previousClaimContainer
private final String previousClaimIdentifier
private final Long previousClaimOffset
private final Long previousSize
private final String sourceQueueIdentifier
private volatile long eventId
StandardProvenanceEventRecord(StandardProvenanceEventRecord.Builder builder)
public static StandardProvenanceEventRecord copy(StandardProvenanceEventRecord other)
public String getStorageFilename()
public long getStorageByteOffset()
void setEventId(long eventId)
public long getEventId()
getEventId in interface ProvenanceEventRecordpublic long getEventTime()
getEventTime in interface ProvenanceEventRecordpublic long getLineageStartDate()
getLineageStartDate in interface ProvenanceEventRecordpublic long getFileSize()
getFileSize in interface ProvenanceEventRecordpublic Long getPreviousFileSize()
getPreviousFileSize in interface ProvenanceEventRecordpublic ProvenanceEventType getEventType()
getEventType in interface ProvenanceEventRecordpublic Map<String,String> getAttributes()
getAttributes in interface ProvenanceEventRecordpublic String getAttribute(String attributeName)
getAttribute in interface ProvenanceEventRecordpublic String getComponentId()
getComponentId in interface ProvenanceEventRecordpublic String getComponentType()
getComponentType in interface ProvenanceEventRecordpublic String getTransitUri()
getTransitUri in interface ProvenanceEventRecordpublic String getSourceSystemFlowFileIdentifier()
getSourceSystemFlowFileIdentifier in interface ProvenanceEventRecordpublic String getFlowFileUuid()
getFlowFileUuid in interface ProvenanceEventRecordpublic List<String> getParentUuids()
getParentUuids in interface ProvenanceEventRecordpublic List<String> getChildUuids()
getChildUuids in interface ProvenanceEventRecordpublic String getAlternateIdentifierUri()
getAlternateIdentifierUri in interface ProvenanceEventRecordpublic long getEventDuration()
getEventDuration in interface ProvenanceEventRecordpublic String getDetails()
getDetails in interface ProvenanceEventRecordpublic String getRelationship()
getRelationship in interface ProvenanceEventRecordpublic long getFlowFileEntryDate()
getFlowFileEntryDate in interface ProvenanceEventRecordpublic String getContentClaimSection()
getContentClaimSection in interface ProvenanceEventRecordpublic String getContentClaimContainer()
getContentClaimContainer in interface ProvenanceEventRecordpublic String getContentClaimIdentifier()
getContentClaimIdentifier in interface ProvenanceEventRecordpublic Long getContentClaimOffset()
getContentClaimOffset in interface ProvenanceEventRecordpublic String getSourceQueueIdentifier()
getSourceQueueIdentifier in interface ProvenanceEventRecordpublic Map<String,String> getPreviousAttributes()
getPreviousAttributes in interface ProvenanceEventRecordpublic String getPreviousContentClaimContainer()
getPreviousContentClaimContainer in interface ProvenanceEventRecordpublic String getPreviousContentClaimIdentifier()
getPreviousContentClaimIdentifier in interface ProvenanceEventRecordpublic Long getPreviousContentClaimOffset()
getPreviousContentClaimOffset in interface ProvenanceEventRecordpublic String getPreviousContentClaimSection()
getPreviousContentClaimSection in interface ProvenanceEventRecordpublic Map<String,String> getUpdatedAttributes()
getUpdatedAttributes in interface ProvenanceEventRecordpublic String getBestEventIdentifier()
ProvenanceEventRecord.getEventId() but if it has not been persisted to the
repository, this is -1, so it constructs a String of the format
<event type>_on_<flowfile UUID>_by_<component UUID>_at_<event time>.getBestEventIdentifier in interface ProvenanceEventRecordCopyright © 2022 Apache NiFi Project. All rights reserved.