public abstract class ListFileTransfer extends AbstractListProcessor<FileInfo>
AbstractListProcessor.ListingMode| Modifier and Type | Field and Description |
|---|---|
static PropertyDescriptor |
FILE_TRANSFER_LISTING_STRATEGY |
static PropertyDescriptor |
HOSTNAME |
static PropertyDescriptor |
REMOTE_PATH |
(package private) static PropertyDescriptor |
UNDEFAULTED_PORT |
static PropertyDescriptor |
USERNAME |
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 and Description |
|---|
ListFileTransfer() |
| Modifier and Type | Method and Description |
|---|---|
protected Integer |
countUnfilteredListing(ProcessContext context) |
protected Map<String,String> |
createAttributes(FileInfo fileInfo,
ProcessContext context) |
protected abstract FileTransfer |
getFileTransfer(ProcessContext context) |
protected String |
getListingContainerName(ProcessContext context) |
protected String |
getPath(ProcessContext context) |
protected abstract String |
getProtocolName() |
protected RecordSchema |
getRecordSchema() |
protected boolean |
isListingResetNecessary(PropertyDescriptor property) |
protected List<FileInfo> |
performListing(ProcessContext context,
Long minTimestamp,
AbstractListProcessor.ListingMode listingMode) |
protected List<FileInfo> |
performListing(ProcessContext context,
Long minTimestamp,
AbstractListProcessor.ListingMode listingMode,
boolean applyFilters) |
createListedEntityTracker, customValidate, customValidate, getCurrentNanoTime, getCurrentTime, getDefaultTimePrecision, getKey, getPersistenceFile, getRelationships, getStateScope, initListedEntityTracker, listByNoTracking, listByTimeWindow, listByTrackingTimestamps, onPrimaryNodeChange, onPropertyModified, onTrigger, updateState, verifyonTriggergetControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTrueequals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStatefulgetPropertyDescriptor, getPropertyDescriptors, validatepublic static final PropertyDescriptor HOSTNAME
static final PropertyDescriptor UNDEFAULTED_PORT
public static final PropertyDescriptor USERNAME
public static final PropertyDescriptor REMOTE_PATH
public static final PropertyDescriptor FILE_TRANSFER_LISTING_STRATEGY
protected Map<String,String> createAttributes(FileInfo fileInfo, ProcessContext context)
createAttributes in class AbstractListProcessor<FileInfo>protected String getPath(ProcessContext context)
getPath in class AbstractListProcessor<FileInfo>protected Integer countUnfilteredListing(ProcessContext context) throws IOException
countUnfilteredListing in class AbstractListProcessor<FileInfo>IOExceptionprotected List<FileInfo> performListing(ProcessContext context, Long minTimestamp, AbstractListProcessor.ListingMode listingMode) throws IOException
performListing in class AbstractListProcessor<FileInfo>IOExceptionprotected List<FileInfo> performListing(ProcessContext context, Long minTimestamp, AbstractListProcessor.ListingMode listingMode, boolean applyFilters) throws IOException
IOExceptionprotected String getListingContainerName(ProcessContext context)
getListingContainerName in class AbstractListProcessor<FileInfo>protected RecordSchema getRecordSchema()
getRecordSchema in class AbstractListProcessor<FileInfo>protected boolean isListingResetNecessary(PropertyDescriptor property)
isListingResetNecessary in class AbstractListProcessor<FileInfo>protected abstract FileTransfer getFileTransfer(ProcessContext context)
protected abstract String getProtocolName()
Copyright © 2023 Apache NiFi Project. All rights reserved.