public class BatchCQLStatementTupleMapper extends Object implements CQLStatementTupleMapper
CQLStatementTupleMapper.DynamicCQLStatementTupleMapper| Constructor and Description |
|---|
BatchCQLStatementTupleMapper(com.datastax.driver.core.BatchStatement.Type type,
List<CQLStatementTupleMapper> mappers)
Creates a new
BatchCQLStatementTupleMapper instance. |
| Modifier and Type | Method and Description |
|---|---|
List<com.datastax.driver.core.Statement> |
map(Map<String,Object> conf,
com.datastax.driver.core.Session session,
ITuple tuple)
Maps a given tuple to one or multiple CQL statements.
|
public BatchCQLStatementTupleMapper(com.datastax.driver.core.BatchStatement.Type type,
List<CQLStatementTupleMapper> mappers)
Creates a new BatchCQLStatementTupleMapper instance.
public List<com.datastax.driver.core.Statement> map(Map<String,Object> conf, com.datastax.driver.core.Session session, ITuple tuple)
Maps a given tuple to one or multiple CQL statements.
map in interface CQLStatementTupleMapperconf - the storm configuration map.session - the cassandra session.tuple - the incoming tuple to map.Statement.Copyright © 2019 The Apache Software Foundation. All rights reserved.