public final class BoltFileSink extends AbstractBoltSink
Object.toString() for each
attribute).| Constructor and Description |
|---|
BoltFileSink(String path) |
BoltFileSink(String path,
OutputFormatter formatter) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
prepareSimple(Map stormConf,
backtype.storm.task.TopologyContext context) |
void |
writeExternal(String line) |
declareOutputFields, execute, getComponentConfiguration, preparepublic BoltFileSink(String path)
public BoltFileSink(String path, OutputFormatter formatter)
public void prepareSimple(Map stormConf, backtype.storm.task.TopologyContext context)
prepareSimple in class AbstractBoltSinkpublic void writeExternal(String line)
writeExternal in class AbstractBoltSinkpublic void cleanup()
cleanup in interface backtype.storm.task.IBoltcleanup in class AbstractBoltSinkCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.