public abstract class BaseCQLStatementTupleMapper extends Object implements CQLStatementTupleMapper, Serializable
Default interface to map a ITuple
to a CQL Statement
.
CQLStatementTupleMapper.DynamicCQLStatementTupleMapper
Constructor and Description |
---|
BaseCQLStatementTupleMapper() |
Modifier and Type | Method and Description |
---|---|
abstract com.datastax.driver.core.Statement |
map(ITuple tuple)
Maps a given tuple to a single CQL statements.
|
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 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 CQLStatementTupleMapper
conf
- the storm configuration map.session
- the cassandra session.tuple
- the incoming tuple to map.Statement
.public abstract com.datastax.driver.core.Statement map(ITuple tuple)
Maps a given tuple to a single CQL statements.
tuple
- the incoming tuple to map.Statement
.Copyright © 2022 The Apache Software Foundation. All rights reserved.