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)
Creates a new CassandraWriterBolt
instance.
protected AsyncResultHandler<Tuple> getAsyncHandler()
getAsyncHandler
in class BaseCassandraBolt<Tuple>
protected void process(Tuple input)
Process a single non-tick tuple of input. Implementation needs to handle ack manually. More details on IBolt.execute(Tuple)
.
process
in class BaseTickTupleAwareRichBolt
input
- The input tuple to be processed.Copyright © 2022 The Apache Software Foundation. All rights reserved.