Class AbstractAzureBlobProcessor_v12

java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.processor.AbstractSessionFactoryProcessor
org.apache.nifi.processor.AbstractProcessor
org.apache.nifi.processors.azure.AbstractAzureBlobProcessor_v12
All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent, org.apache.nifi.processor.Processor
Direct Known Subclasses:
CopyAzureBlobStorage_v12, DeleteAzureBlobStorage_v12, FetchAzureBlobStorage_v12, PutAzureBlobStorage_v12

public abstract class AbstractAzureBlobProcessor_v12 extends org.apache.nifi.processor.AbstractProcessor
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.nifi.components.PropertyDescriptor
     
     
    static final org.apache.nifi.processor.Relationship
     
    static final org.apache.nifi.processor.Relationship
     
    private static final Set<org.apache.nifi.processor.Relationship>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    applyBlobMetadata(Map<String,String> attributes, com.azure.storage.blob.BlobClient blobClient)
     
    protected void
    applyStandardBlobAttributes(Map<String,String> attributes, com.azure.storage.blob.BlobClient blobClient)
     
    protected Map<String,String>
    createBlobAttributesMap(com.azure.storage.blob.BlobClient blobClient)
     
    Set<org.apache.nifi.processor.Relationship>
     
    protected com.azure.storage.blob.BlobServiceClient
    getStorageClient(org.apache.nifi.context.PropertyContext context, org.apache.nifi.components.PropertyDescriptor storageCredentialsServiceProperty, org.apache.nifi.flowfile.FlowFile flowFile)
     
    protected com.azure.storage.blob.BlobServiceClient
    getStorageClient(org.apache.nifi.context.PropertyContext context, org.apache.nifi.flowfile.FlowFile flowFile)
     
    void
    onScheduled(org.apache.nifi.processor.ProcessContext context)
     
    void
     

    Methods inherited from class org.apache.nifi.processor.AbstractProcessor

    onTrigger, onTrigger

    Methods inherited from class org.apache.nifi.processor.AbstractSessionFactoryProcessor

    getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTrue

    Methods inherited from class org.apache.nifi.components.AbstractConfigurableComponent

    customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, validate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.nifi.components.ConfigurableComponent

    getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate

    Methods inherited from interface org.apache.nifi.processor.Processor

    isStateful, migrateProperties, migrateRelationships
  • Field Details

    • BLOB_NAME

      public static final org.apache.nifi.components.PropertyDescriptor BLOB_NAME
    • REL_SUCCESS

      public static final org.apache.nifi.processor.Relationship REL_SUCCESS
    • REL_FAILURE

      public static final org.apache.nifi.processor.Relationship REL_FAILURE
    • RELATIONSHIPS

      private static final Set<org.apache.nifi.processor.Relationship> RELATIONSHIPS
    • clientFactory

      private volatile BlobServiceClientFactory clientFactory
  • Constructor Details

    • AbstractAzureBlobProcessor_v12

      public AbstractAzureBlobProcessor_v12()
  • Method Details

    • getRelationships

      public Set<org.apache.nifi.processor.Relationship> getRelationships()
      Specified by:
      getRelationships in interface org.apache.nifi.processor.Processor
      Overrides:
      getRelationships in class org.apache.nifi.processor.AbstractSessionFactoryProcessor
    • onScheduled

      @OnScheduled public void onScheduled(org.apache.nifi.processor.ProcessContext context)
    • onStopped

      @OnStopped public void onStopped()
    • getStorageClient

      protected com.azure.storage.blob.BlobServiceClient getStorageClient(org.apache.nifi.context.PropertyContext context, org.apache.nifi.flowfile.FlowFile flowFile)
    • getStorageClient

      protected com.azure.storage.blob.BlobServiceClient getStorageClient(org.apache.nifi.context.PropertyContext context, org.apache.nifi.components.PropertyDescriptor storageCredentialsServiceProperty, org.apache.nifi.flowfile.FlowFile flowFile)
    • createBlobAttributesMap

      protected Map<String,String> createBlobAttributesMap(com.azure.storage.blob.BlobClient blobClient)
    • applyStandardBlobAttributes

      protected void applyStandardBlobAttributes(Map<String,String> attributes, com.azure.storage.blob.BlobClient blobClient)
    • applyBlobMetadata

      protected void applyBlobMetadata(Map<String,String> attributes, com.azure.storage.blob.BlobClient blobClient)