public class CassandraWriterBolt extends BaseCassandraBolt<Tuple>
cassandraConf, client, clientProvider, outputCollector, session, topoConfig
Constructor and Description |
---|
CassandraWriterBolt(CQLStatementTupleMapper tupleMapper)
Creates a new
CassandraWriterBolt instance. |
Modifier and Type | Method and Description |
---|---|
protected AsyncResultHandler<Tuple> |
getAsyncHandler() |
protected void |
process(Tuple input)
Process a single non-tick tuple of input.
|
cleanup, declareOutputFields, execute, getAsyncExecutor, getComponentConfiguration, getMapper, getResultHandler, prepare, withCassandraConfig, withOutputFields, withResultHandler, withStreamOutputFields
onTickTuple
public CassandraWriterBolt(CQLStatementTupleMapper tupleMapper)
CassandraWriterBolt
instance.protected AsyncResultHandler<Tuple> getAsyncHandler()
getAsyncHandler
in class BaseCassandraBolt<Tuple>
protected void process(Tuple input)
IBolt.execute(Tuple)
.process
in class BaseTickTupleAwareRichBolt
input
- The input tuple to be processed.Copyright © 2023 The Apache Software Foundation. All rights reserved.