public class LocalFirehoseFactory extends Object implements FirehoseFactory<StringInputRowParser>
Constructor and Description |
---|
LocalFirehoseFactory(File baseDir,
String filter,
StringInputRowParser parser) |
Modifier and Type | Method and Description |
---|---|
Firehose |
connect(StringInputRowParser firehoseParser)
Initialization method that connects up the fire hose.
|
File |
getBaseDir() |
String |
getFilter() |
StringInputRowParser |
getParser() |
public LocalFirehoseFactory(File baseDir, String filter, StringInputRowParser parser)
public File getBaseDir()
public String getFilter()
public StringInputRowParser getParser()
public Firehose connect(StringInputRowParser firehoseParser) throws IOException
FirehoseFactory
connect
in interface FirehoseFactory<StringInputRowParser>
IOException
Copyright © 2011–2017. All rights reserved.