Package org.apache.nifi.processors.azure
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
FieldsModifier and TypeFieldDescriptionstatic final org.apache.nifi.components.PropertyDescriptorprivate BlobServiceClientFactorystatic final org.apache.nifi.processor.Relationshipstatic final org.apache.nifi.processor.Relationshipprivate static final Set<org.apache.nifi.processor.Relationship> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyBlobMetadata(Map<String, String> attributes, com.azure.storage.blob.BlobClient blobClient) protected voidapplyStandardBlobAttributes(Map<String, String> attributes, com.azure.storage.blob.BlobClient blobClient) createBlobAttributesMap(com.azure.storage.blob.BlobClient blobClient) Set<org.apache.nifi.processor.Relationship> protected com.azure.storage.blob.BlobServiceClientgetStorageClient(org.apache.nifi.context.PropertyContext context, org.apache.nifi.components.PropertyDescriptor storageCredentialsServiceProperty, org.apache.nifi.flowfile.FlowFile flowFile) protected com.azure.storage.blob.BlobServiceClientgetStorageClient(org.apache.nifi.context.PropertyContext context, org.apache.nifi.flowfile.FlowFile flowFile) voidonScheduled(org.apache.nifi.processor.ProcessContext context) voidMethods inherited from class org.apache.nifi.processor.AbstractProcessor
onTrigger, onTriggerMethods inherited from class org.apache.nifi.processor.AbstractSessionFactoryProcessor
getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTrueMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods 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
-
clientFactory
-
-
Constructor Details
-
AbstractAzureBlobProcessor_v12
public AbstractAzureBlobProcessor_v12()
-
-
Method Details
-
getRelationships
- Specified by:
getRelationshipsin interfaceorg.apache.nifi.processor.Processor- Overrides:
getRelationshipsin classorg.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
-
applyStandardBlobAttributes
-
applyBlobMetadata
-