Class DeltaFile

java.lang.Object
org.deltafi.common.types.DeltaFile

public class DeltaFile extends Object
  • Constructor Details

    • DeltaFile

      public DeltaFile()
  • Method Details

    • queueAction

      public void queueAction(String name)
    • queueNewAction

      public void queueNewAction(String name)
    • actionNamed

      public Optional<Action> actionNamed(String name)
    • isNewAction

      public boolean isNewAction(String name)
    • queueActionsIfNew

      public void queueActionsIfNew(List<String> actions)
    • completeAction

      public void completeAction(ActionEventInput event)
    • completeAction

      public void completeAction(String name, OffsetDateTime start, OffsetDateTime stop)
    • filterAction

      public void filterAction(ActionEventInput event, String filterMessage)
    • splitAction

      public void splitAction(ActionEventInput event)
    • lastAction

      public Action lastAction()
    • splitLastAction

      public void splitLastAction()
    • removeLastAction

      public void removeLastAction()
    • convertLastProtocolToFormatResult

      public void convertLastProtocolToFormatResult(String egressActionName)
    • errorAction

      public void errorAction(ActionEventInput event)
    • errorAction

      public void errorAction(ActionEventInput event, String policyName, Integer delay)
    • errorAction

      public void errorAction(ActionEventInput event, String errorCause, String errorContext)
    • errorAction

      public void errorAction(String name, OffsetDateTime start, OffsetDateTime stop, String errorCause, String errorContext)
    • errorAction

      public void errorAction(String name, OffsetDateTime start, OffsetDateTime stop, String errorCause, String errorContext, OffsetDateTime nextAutoResume)
    • retryErrors

      public List<String> retryErrors()
    • setTestModeReason

      public void setTestModeReason(String reason)
    • queuedActions

      public List<String> queuedActions()
    • domainMap

      public Map<String,Domain> domainMap()
    • enrichmentMap

      public Map<String,Enrichment> enrichmentMap()
    • addDomain

      public void addDomain(@NotNull String domainKey, String domainValue, @NotNull String mediaType)
    • hasDomains

      public boolean hasDomains(List<String> domains)
    • addIndexedMetadata

      public void addIndexedMetadata(Map<String,String> metadata)
    • addIndexedMetadataIfAbsent

      public void addIndexedMetadataIfAbsent(Map<String,String> metadata)
    • addIndexedMetadataIfAbsent

      public void addIndexedMetadataIfAbsent(String key, String value)
    • addEgressFlow

      public void addEgressFlow(@NotNull String flow)
    • getEnrichment

      public Enrichment getEnrichment(String enrichment)
    • addEnrichment

      public void addEnrichment(@NotNull String enrichmentKey, String enrichmentValue)
    • addEnrichment

      public void addEnrichment(@NotNull String enrichmentKey, String enrichmentValue, @NotNull String mediaType)
    • hasEnrichments

      public boolean hasEnrichments(List<String> enrichments)
    • hasErroredAction

      public boolean hasErroredAction()
    • hasPendingActions

      public boolean hasPendingActions()
    • hasFilteredAction

      public boolean hasFilteredAction()
    • hasSplitAction

      public boolean hasSplitAction()
    • noPendingAction

      public boolean noPendingAction(String name)
    • hasTerminalAction

      public boolean hasTerminalAction(String name)
    • hasCompletedAction

      public boolean hasCompletedAction(String name)
    • hasCompletedActions

      public boolean hasCompletedActions(List<String> names)
    • sourceMetadata

      public String sourceMetadata(String key)
    • sourceMetadata

      public String sourceMetadata(String key, String defaultValue)
    • getLastProtocolLayer

      public ProtocolLayer getLastProtocolLayer()
    • getLastProtocolLayerContent

      @NotNull public List<Content> getLastProtocolLayerContent()
    • getLastProtocolLayerMetadata

      @NotNull public Map<String,String> getLastProtocolLayerMetadata()
    • getDomains

      @NotNull public List<Domain> getDomains()
    • getEnrichment

      @NotNull public List<Enrichment> getEnrichment()
    • getEgress

      @NotNull public List<Egress> getEgress()
    • forQueue

      public DeltaFile forQueue(String actionName)
    • referencedSegments

      public List<Segment> referencedSegments()
    • storedSegments

      public List<Segment> storedSegments()
    • recalculateBytes

      public void recalculateBytes()
    • cancelQueuedActions

      public void cancelQueuedActions()
    • incrementRequeueCount

      public void incrementRequeueCount()
    • inactiveStage

      public boolean inactiveStage()