public class BoundCQLStatementTupleMapper extends Object implements CQLStatementTupleMapper
CQLStatementTupleMapper.DynamicCQLStatementTupleMapper
Constructor and Description |
---|
BoundCQLStatementTupleMapper(ContextQuery contextQuery,
CqlMapper mapper,
RoutingKeyGenerator rkGenerator,
PreparedStatementBinder binder)
Creates a new
BoundCQLStatementTupleMapper instance. |
Modifier and Type | Method and Description |
---|---|
List<com.datastax.driver.core.Statement> |
map(Map config,
com.datastax.driver.core.Session session,
ITuple tuple)
Maps a given tuple to one or multiple CQL statements.
|
public BoundCQLStatementTupleMapper(ContextQuery contextQuery, CqlMapper mapper, RoutingKeyGenerator rkGenerator, PreparedStatementBinder binder)
Creates a new BoundCQLStatementTupleMapper
instance.
contextQuery
- mapper
- mapper
- rkGenerator
- binder
- public List<com.datastax.driver.core.Statement> map(Map config, com.datastax.driver.core.Session session, ITuple tuple)
Maps a given tuple to one or multiple CQL statements.
map
in interface CQLStatementTupleMapper
config
- the storm configuration map.session
- the cassandra session.tuple
- the incoming tuple to map.Statement
.Copyright © 2019 The Apache Software Foundation. All Rights Reserved.