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, prepare
public BoltFileSink(String path)
public BoltFileSink(String path, OutputFormatter formatter)
public void prepareSimple(Map stormConf, backtype.storm.task.TopologyContext context)
prepareSimple
in class AbstractBoltSink
public void writeExternal(String line)
writeExternal
in class AbstractBoltSink
public void cleanup()
cleanup
in interface backtype.storm.task.IBolt
cleanup
in class AbstractBoltSink
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.