public class BasicCassandraRowValueProvider extends Object implements CassandraRowValueProvider
CassandraValueProvider
to read property values from a Row
.Constructor and Description |
---|
BasicCassandraRowValueProvider(com.datastax.driver.core.Row source,
com.datastax.driver.core.CodecRegistry codecRegistry,
SpELExpressionEvaluator evaluator)
Create a new
BasicCassandraRowValueProvider with the given Row , CodecRegistry and
SpELExpressionEvaluator . |
BasicCassandraRowValueProvider(com.datastax.driver.core.Row source,
DefaultSpELExpressionEvaluator evaluator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
getPropertyValue(CassandraPersistentProperty property) |
com.datastax.driver.core.Row |
getRow() |
boolean |
hasProperty(CassandraPersistentProperty property)
Returns whether the underlying source contains a data source for the given
CassandraPersistentProperty . |
public BasicCassandraRowValueProvider(com.datastax.driver.core.Row source, com.datastax.driver.core.CodecRegistry codecRegistry, SpELExpressionEvaluator evaluator)
BasicCassandraRowValueProvider
with the given Row
, CodecRegistry
and
SpELExpressionEvaluator
.source
- must not be null.codecRegistry
- must not be null.evaluator
- must not be null.@Deprecated public BasicCassandraRowValueProvider(com.datastax.driver.core.Row source, DefaultSpELExpressionEvaluator evaluator)
BasicCassandraRowValueProvider(Row, CodecRegistry, SpELExpressionEvaluator)
source
- must not be null.evaluator
- must not be null.@Nullable public <T> T getPropertyValue(CassandraPersistentProperty property)
getPropertyValue
in interface PropertyValueProvider<CassandraPersistentProperty>
public com.datastax.driver.core.Row getRow()
getRow
in interface CassandraRowValueProvider
Row
.public boolean hasProperty(CassandraPersistentProperty property)
CassandraValueProvider
CassandraPersistentProperty
.hasProperty
in interface CassandraValueProvider
property
- must not be null.CassandraPersistentProperty
.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.