public class RowValueProvider extends Object implements CassandraValueProvider
CassandraValueProvider to read property values from a Row.| Constructor and Description |
|---|
RowValueProvider(com.datastax.oss.driver.api.core.cql.Row source,
SpELExpressionEvaluator evaluator)
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getPropertyValue(CassandraPersistentProperty property) |
Object |
getSource()
Returns whether the underlying source.
|
boolean |
hasProperty(CassandraPersistentProperty property)
Returns whether the underlying source contains a data source for the given
CassandraPersistentProperty. |
public RowValueProvider(com.datastax.oss.driver.api.core.cql.Row source,
SpELExpressionEvaluator evaluator)
source - must not be null.codecRegistry - must not be null.evaluator - must not be null.@Nullable public <T> T getPropertyValue(CassandraPersistentProperty property)
getPropertyValue in interface PropertyValueProvider<CassandraPersistentProperty>public boolean hasProperty(CassandraPersistentProperty property)
CassandraValueProviderCassandraPersistentProperty.hasProperty in interface CassandraValueProviderproperty - must not be null.CassandraPersistentProperty.public Object getSource()
CassandraValueProvidergetSource in interface CassandraValueProviderCassandraValueProvider.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.