public class OneByOneFileOutput extends AbstractFileOutput
archiveFormatSettings, fileNameSupplier, tupleRtt, userStream
Constructor and Description |
---|
OneByOneFileOutput(org.thales.punch.libraries.storm.api.NodeSettings boltConfig,
List<org.thales.punch.libraries.objectstorage.tuples.ArchiveDevice> archiveDevices,
IFileNameSupplier oidSupplier,
org.thales.punch.libraries.objectstorage.tuples.ArchiveFormatSettings archiveFormatSettings)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
prepare(Map stormConf,
org.apache.storm.task.TopologyContext context,
org.apache.storm.task.OutputCollector outputCollector)
Prepare this bolt.
|
void |
process(org.apache.storm.tuple.Tuple tuple) |
addRuntimeData, createArchiver, flush, getBloomFilterFields, getRuntimeData, getTimestampFromTuple, initMetadata
public OneByOneFileOutput(org.thales.punch.libraries.storm.api.NodeSettings boltConfig, List<org.thales.punch.libraries.objectstorage.tuples.ArchiveDevice> archiveDevices, IFileNameSupplier oidSupplier, org.thales.punch.libraries.objectstorage.tuples.ArchiveFormatSettings archiveFormatSettings)
boltConfig
- the bolt settingsarchiveDevices
- the list of archive urls without prefixoidSupplier
- the file name supplierarchiveFormatSettings
- the batch format settingspublic void prepare(Map stormConf, org.apache.storm.task.TopologyContext context, org.apache.storm.task.OutputCollector outputCollector)
AbstractFileOutput
prepare
in interface org.apache.storm.task.IBolt
prepare
in class AbstractFileOutput
public void process(org.apache.storm.tuple.Tuple tuple)
process
in class org.thales.punch.libraries.storm.api.BaseProcessingNode
Copyright © 2022. All rights reserved.