public class BoundCQLStatementMapperBuilder extends Object implements CQLStatementBuilder<BoundCQLStatementTupleMapper>, Serializable
Constructor and Description |
---|
BoundCQLStatementMapperBuilder(ContextQuery contextQuery)
Creates a new
BoundCQLStatementMapperBuilder instance. |
BoundCQLStatementMapperBuilder(String cql)
Creates a new
BoundCQLStatementMapperBuilder instance. |
Modifier and Type | Method and Description |
---|---|
BoundCQLStatementMapperBuilder |
bind(CqlMapper mapper)
Includes only the specified tuple fields.
|
BoundCQLStatementMapperBuilder |
bind(FieldSelector... fields)
Includes only the specified tuple fields.
|
BoundCQLStatementTupleMapper |
build()
Builds a new
CQLStatementTupleMapper instance. |
BoundCQLStatementMapperBuilder |
byNamedSetters() |
BoundCQLStatementMapperBuilder |
withRoutingKeys(String... fields) |
public BoundCQLStatementMapperBuilder(String cql)
Creates a new BoundCQLStatementMapperBuilder
instance.
cql
- public BoundCQLStatementMapperBuilder(ContextQuery contextQuery)
Creates a new BoundCQLStatementMapperBuilder
instance.
contextQuery
- public final BoundCQLStatementMapperBuilder bind(FieldSelector... fields)
Includes only the specified tuple fields.
fields
- a list of field selector.public final BoundCQLStatementMapperBuilder bind(CqlMapper mapper)
Includes only the specified tuple fields.
mapper
- a column mapper.public final BoundCQLStatementMapperBuilder withRoutingKeys(String... fields)
public final BoundCQLStatementMapperBuilder byNamedSetters()
public BoundCQLStatementTupleMapper build()
Builds a new CQLStatementTupleMapper
instance.
build
in interface CQLStatementBuilder<BoundCQLStatementTupleMapper>
Copyright © 2019 The Apache Software Foundation. All rights reserved.