public class ObjectMapperCqlStatementMapperBuilder extends Object implements CQLStatementBuilder<ObjectMapperCqlStatementMapper>, Serializable
Table
to CQL statements.
Needs at least
operationFieldand
valueField. Writetime, TTL and consistency level can be specified in optional tuple fields.
Constructor and Description |
---|
ObjectMapperCqlStatementMapperBuilder(String operationField,
String valueField) |
Modifier and Type | Method and Description |
---|---|
ObjectMapperCqlStatementMapper |
build()
Builds an ObjectMapperCqlStatementMapper.
|
ObjectMapperCqlStatementMapperBuilder |
withCodecs(List<SerializableCallable<com.datastax.driver.core.TypeCodec<?>>> codecProducer) |
ObjectMapperCqlStatementMapperBuilder |
withConsistencyLevelField(String consistencyLevelField) |
ObjectMapperCqlStatementMapperBuilder |
withTimestampField(String timestampField) |
ObjectMapperCqlStatementMapperBuilder |
withTtlField(String ttlField) |
ObjectMapperCqlStatementMapperBuilder |
withUdtCodecs(List<Class<?>> udtClass) |
public ObjectMapperCqlStatementMapper build()
build
in interface CQLStatementBuilder<ObjectMapperCqlStatementMapper>
public ObjectMapperCqlStatementMapperBuilder withCodecs(List<SerializableCallable<com.datastax.driver.core.TypeCodec<?>>> codecProducer)
public ObjectMapperCqlStatementMapperBuilder withUdtCodecs(List<Class<?>> udtClass)
public ObjectMapperCqlStatementMapperBuilder withTimestampField(String timestampField)
public ObjectMapperCqlStatementMapperBuilder withTtlField(String ttlField)
public ObjectMapperCqlStatementMapperBuilder withConsistencyLevelField(String consistencyLevelField)
Copyright © 2023 The Apache Software Foundation. All rights reserved.