org.apache.flume.client.avro
Class ReliableSpoolingFileEventReader.Builder
java.lang.Object
org.apache.flume.client.avro.ReliableSpoolingFileEventReader.Builder
- Enclosing class:
- ReliableSpoolingFileEventReader
public static class ReliableSpoolingFileEventReader.Builder
- extends Object
Special builder class for ReliableSpoolingFileEventReader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReliableSpoolingFileEventReader.Builder
public ReliableSpoolingFileEventReader.Builder()
spoolDirectory
public ReliableSpoolingFileEventReader.Builder spoolDirectory(File directory)
completedSuffix
public ReliableSpoolingFileEventReader.Builder completedSuffix(String completedSuffix)
ignorePattern
public ReliableSpoolingFileEventReader.Builder ignorePattern(String ignorePattern)
trackerDirPath
public ReliableSpoolingFileEventReader.Builder trackerDirPath(String trackerDirPath)
annotateFileName
public ReliableSpoolingFileEventReader.Builder annotateFileName(Boolean annotateFileName)
fileNameHeader
public ReliableSpoolingFileEventReader.Builder fileNameHeader(String fileNameHeader)
deserializerType
public ReliableSpoolingFileEventReader.Builder deserializerType(String deserializerType)
deserializerContext
public ReliableSpoolingFileEventReader.Builder deserializerContext(Context deserializerContext)
deletePolicy
public ReliableSpoolingFileEventReader.Builder deletePolicy(String deletePolicy)
inputCharset
public ReliableSpoolingFileEventReader.Builder inputCharset(String inputCharset)
build
public ReliableSpoolingFileEventReader build()
throws IOException
- Throws:
IOException
Copyright © 2009-2013 Apache Software Foundation. All Rights Reserved.