Class PutAzureBlobStorage_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
org.apache.nifi.processors.azure.storage.PutAzureBlobStorage_v12
All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent, org.apache.nifi.processor.Processor, ClientSideEncryptionSupport

@Tags({"azure","microsoft","cloud","storage","blob"}) @SeeAlso({ListAzureBlobStorage_v12.class,FetchAzureBlobStorage_v12.class,DeleteAzureBlobStorage_v12.class,CopyAzureBlobStorage_v12.class}) @CapabilityDescription("Puts content into a blob on Azure Blob Storage. The processor uses Azure Blob Storage client library v12.") @InputRequirement(INPUT_REQUIRED) @WritesAttribute(attribute="azure.container",description="The name of the Azure Blob Storage container") @WritesAttribute(attribute="azure.blobname",description="The name of the blob on Azure Blob Storage") @WritesAttribute(attribute="azure.primaryUri",description="Primary location of the blob") @WritesAttribute(attribute="azure.etag",description="ETag of the blob") @WritesAttribute(attribute="azure.blobtype",description="Type of the blob (either BlockBlob, PageBlob or AppendBlob)") @WritesAttribute(attribute="mime.type",description="MIME Type of the content") @WritesAttribute(attribute="lang",description="Language code for the content") @WritesAttribute(attribute="azure.timestamp",description="Timestamp of the blob") @WritesAttribute(attribute="azure.length",description="Length of the blob") @WritesAttribute(attribute="azure.error.code",description="Error code reported during blob operation") @WritesAttribute(attribute="azure.ignored",description="When Conflict Resolution Strategy is \'ignore\', this property will be true/false depending on whether the blob was ignored.") public class PutAzureBlobStorage_v12 extends AbstractAzureBlobProcessor_v12 implements ClientSideEncryptionSupport
  • Field Details

    • PROPERTIES

      private static final List<org.apache.nifi.components.PropertyDescriptor> PROPERTIES
  • Constructor Details

    • PutAzureBlobStorage_v12

      public PutAzureBlobStorage_v12()
  • Method Details

    • customValidate

      protected Collection<org.apache.nifi.components.ValidationResult> customValidate(org.apache.nifi.components.ValidationContext validationContext)
      Overrides:
      customValidate in class org.apache.nifi.components.AbstractConfigurableComponent
    • getSupportedPropertyDescriptors

      protected List<org.apache.nifi.components.PropertyDescriptor> getSupportedPropertyDescriptors()
      Overrides:
      getSupportedPropertyDescriptors in class org.apache.nifi.components.AbstractConfigurableComponent
    • onTrigger

      public void onTrigger(org.apache.nifi.processor.ProcessContext context, org.apache.nifi.processor.ProcessSession session) throws org.apache.nifi.processor.exception.ProcessException
      Specified by:
      onTrigger in class org.apache.nifi.processor.AbstractProcessor
      Throws:
      org.apache.nifi.processor.exception.ProcessException
    • applyUploadResultAttributes

      private static void applyUploadResultAttributes(Map<String,String> attributes, com.azure.storage.blob.models.BlockBlobItem blob, com.azure.storage.blob.models.BlobType blobType, long length)