public class LocalFirehoseFactory extends org.apache.druid.data.input.impl.AbstractTextFilesFirehoseFactory<File>
| Constructor and Description |
|---|
LocalFirehoseFactory(File baseDir,
String filter,
org.apache.druid.data.input.impl.StringInputRowParser parser) |
| Modifier and Type | Method and Description |
|---|---|
File |
getBaseDir() |
String |
getFilter() |
org.apache.druid.data.input.impl.StringInputRowParser |
getParser() |
protected Collection<File> |
initObjects() |
protected InputStream |
openObjectStream(File object) |
org.apache.druid.data.input.FiniteFirehoseFactory<org.apache.druid.data.input.impl.StringInputRowParser,File> |
withSplit(org.apache.druid.data.input.InputSplit<File> split) |
protected InputStream |
wrapObjectStream(File object,
InputStream stream) |
connect, getNumSplits, getObjects, getSplits, initializeObjectsIfNeededpublic File getBaseDir()
public String getFilter()
public org.apache.druid.data.input.impl.StringInputRowParser getParser()
protected Collection<File> initObjects()
initObjects in class org.apache.druid.data.input.impl.AbstractTextFilesFirehoseFactory<File>protected InputStream openObjectStream(File object) throws IOException
openObjectStream in class org.apache.druid.data.input.impl.AbstractTextFilesFirehoseFactory<File>IOExceptionprotected InputStream wrapObjectStream(File object, InputStream stream) throws IOException
wrapObjectStream in class org.apache.druid.data.input.impl.AbstractTextFilesFirehoseFactory<File>IOExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.