public static class ReliableSpoolingFileEventReader.Builder extends Object
Constructor and Description |
---|
Builder() |
public ReliableSpoolingFileEventReader.Builder spoolDirectory(File directory)
public ReliableSpoolingFileEventReader.Builder completedSuffix(String completedSuffix)
public ReliableSpoolingFileEventReader.Builder includePattern(String includePattern)
public ReliableSpoolingFileEventReader.Builder ignorePattern(String ignorePattern)
public ReliableSpoolingFileEventReader.Builder trackerDirPath(String trackerDirPath)
public ReliableSpoolingFileEventReader.Builder annotateFileName(Boolean annotateFileName)
public ReliableSpoolingFileEventReader.Builder fileNameHeader(String fileNameHeader)
public ReliableSpoolingFileEventReader.Builder annotateBaseName(Boolean annotateBaseName)
public ReliableSpoolingFileEventReader.Builder baseNameHeader(String baseNameHeader)
public ReliableSpoolingFileEventReader.Builder deserializerType(String deserializerType)
public ReliableSpoolingFileEventReader.Builder deserializerContext(Context deserializerContext)
public ReliableSpoolingFileEventReader.Builder deletePolicy(String deletePolicy)
public ReliableSpoolingFileEventReader.Builder trackingPolicy(String trackingPolicy)
public ReliableSpoolingFileEventReader.Builder inputCharset(String inputCharset)
public ReliableSpoolingFileEventReader.Builder recursiveDirectorySearch(boolean recursiveDirectorySearch)
public ReliableSpoolingFileEventReader.Builder decodeErrorPolicy(DecodeErrorPolicy decodeErrorPolicy)
public ReliableSpoolingFileEventReader.Builder consumeOrder(SpoolDirectorySourceConfigurationConstants.ConsumeOrder consumeOrder)
public ReliableSpoolingFileEventReader.Builder sourceCounter(SourceCounter sourceCounter)
public ReliableSpoolingFileEventReader build() throws IOException
IOException
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.