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,
DefaultSpELExpressionEvaluator evaluator)
|
| 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,
DefaultSpELExpressionEvaluator evaluator)
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 CassandraRowValueProviderRow.public boolean hasProperty(CassandraPersistentProperty property)
CassandraValueProviderCassandraPersistentProperty.hasProperty in interface CassandraValueProviderproperty - must not be null.CassandraPersistentProperty.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.