Class ListFileTransfer
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.processor.AbstractSessionFactoryProcessor
org.apache.nifi.processor.AbstractProcessor
org.apache.nifi.processor.util.list.AbstractListProcessor<FileInfo>
org.apache.nifi.processor.util.file.transfer.ListFileTransfer
- All Implemented Interfaces:
ConfigurableComponent,Processor,VerifiableProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.nifi.processor.util.list.AbstractListProcessor
AbstractListProcessor.ListingMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyDescriptorstatic final PropertyDescriptorstatic final PropertyDescriptorstatic final PropertyDescriptorstatic final PropertyDescriptorFields inherited from class org.apache.nifi.processor.util.list.AbstractListProcessor
BY_ENTITIES, BY_TIME_WINDOW, BY_TIMESTAMPS, DISTRIBUTED_CACHE_SERVICE, LISTING_LAG_MILLIS, LISTING_STRATEGY, NO_TRACKING, PRECISION_AUTO_DETECT, PRECISION_MILLIS, PRECISION_MINUTES, PRECISION_SECONDS, RECORD_WRITER, REL_SUCCESS, TARGET_SYSTEM_TIMESTAMP_PRECISION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IntegercountUnfilteredListing(ProcessContext context) createAttributes(FileInfo fileInfo, ProcessContext context) protected abstract FileTransfergetFileTransfer(ProcessContext context) protected StringgetListingContainerName(ProcessContext context) protected StringgetPath(ProcessContext context) protected abstract Stringprotected RecordSchemaprotected booleanisListingResetNecessary(PropertyDescriptor property) performListing(ProcessContext context, Long minTimestamp, AbstractListProcessor.ListingMode listingMode) performListing(ProcessContext context, Long minTimestamp, AbstractListProcessor.ListingMode listingMode, boolean applyFilters) Methods inherited from class org.apache.nifi.processor.util.list.AbstractListProcessor
createListedEntityTracker, customValidate, customValidate, getCurrentNanoTime, getCurrentTime, getDefaultTimePrecision, getKey, getPersistenceFile, getRelationships, getStateScope, initListedEntityTracker, listByNoTracking, listByTimeWindow, listByTrackingTimestamps, onPrimaryNodeChange, onPropertyModified, onTrigger, updateState, verifyMethods inherited from class org.apache.nifi.processor.AbstractProcessor
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
equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, 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, validateMethods inherited from interface org.apache.nifi.processor.Processor
isStateful, migrateProperties, migrateRelationships
-
Field Details
-
HOSTNAME
-
UNDEFAULTED_PORT
-
USERNAME
-
REMOTE_PATH
-
FILE_TRANSFER_LISTING_STRATEGY
-
-
Constructor Details
-
ListFileTransfer
public ListFileTransfer()
-
-
Method Details
-
createAttributes
- Specified by:
createAttributesin classAbstractListProcessor<FileInfo>
-
getPath
- Specified by:
getPathin classAbstractListProcessor<FileInfo>
-
countUnfilteredListing
- Specified by:
countUnfilteredListingin classAbstractListProcessor<FileInfo>- Throws:
IOException
-
performListing
protected List<FileInfo> performListing(ProcessContext context, Long minTimestamp, AbstractListProcessor.ListingMode listingMode) throws IOException - Specified by:
performListingin classAbstractListProcessor<FileInfo>- Throws:
IOException
-
performListing
protected List<FileInfo> performListing(ProcessContext context, Long minTimestamp, AbstractListProcessor.ListingMode listingMode, boolean applyFilters) throws IOException - Throws:
IOException
-
getListingContainerName
- Specified by:
getListingContainerNamein classAbstractListProcessor<FileInfo>
-
getRecordSchema
- Specified by:
getRecordSchemain classAbstractListProcessor<FileInfo>
-
isListingResetNecessary
- Specified by:
isListingResetNecessaryin classAbstractListProcessor<FileInfo>
-
getFileTransfer
-
getProtocolName
-