org.apache.flume.client.avro
Class ReliableSpoolingFileEventReader.Builder

java.lang.Object
  extended by org.apache.flume.client.avro.ReliableSpoolingFileEventReader.Builder
Enclosing class:
ReliableSpoolingFileEventReader

public static class ReliableSpoolingFileEventReader.Builder
extends Object

Special builder class for ReliableSpoolingFileEventReader


Constructor Summary
ReliableSpoolingFileEventReader.Builder()
           
 
Method Summary
 ReliableSpoolingFileEventReader.Builder annotateFileName(Boolean annotateFileName)
           
 ReliableSpoolingFileEventReader build()
           
 ReliableSpoolingFileEventReader.Builder completedSuffix(String completedSuffix)
           
 ReliableSpoolingFileEventReader.Builder deletePolicy(String deletePolicy)
           
 ReliableSpoolingFileEventReader.Builder deserializerContext(Context deserializerContext)
           
 ReliableSpoolingFileEventReader.Builder deserializerType(String deserializerType)
           
 ReliableSpoolingFileEventReader.Builder fileNameHeader(String fileNameHeader)
           
 ReliableSpoolingFileEventReader.Builder ignorePattern(String ignorePattern)
           
 ReliableSpoolingFileEventReader.Builder inputCharset(String inputCharset)
           
 ReliableSpoolingFileEventReader.Builder spoolDirectory(File directory)
           
 ReliableSpoolingFileEventReader.Builder trackerDirPath(String trackerDirPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReliableSpoolingFileEventReader.Builder

public ReliableSpoolingFileEventReader.Builder()
Method Detail

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.