public class CassandraUDTValueProvider extends Object implements CassandraValueProvider
CassandraValueProvider to read property values from a UDTValue.| Constructor and Description |
|---|
CassandraUDTValueProvider(com.datastax.driver.core.UDTValue udtValue,
com.datastax.driver.core.CodecRegistry codecRegistry,
DefaultSpELExpressionEvaluator evaluator)
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getPropertyValue(CassandraPersistentProperty property) |
boolean |
hasProperty(CassandraPersistentProperty property)
Returns whether the underlying source contains a data source for the given
CassandraPersistentProperty. |
public CassandraUDTValueProvider(com.datastax.driver.core.UDTValue udtValue,
com.datastax.driver.core.CodecRegistry codecRegistry,
DefaultSpELExpressionEvaluator evaluator)
udtValue - 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.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.