Class RowValueProvider
java.lang.Object
org.springframework.data.cassandra.core.convert.RowValueProvider
- All Implemented Interfaces:
CassandraValueProvider,PropertyValueProvider<CassandraPersistentProperty>
- Direct Known Subclasses:
BasicCassandraRowValueProvider
CassandraValueProvider to read property values from a Row.- Since:
- 3.0
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionRowValueProvider(com.datastax.oss.driver.api.core.cql.Row source, ValueExpressionEvaluator evaluator) -
Method Summary
Modifier and TypeMethodDescription<T> TgetPropertyValue(CassandraPersistentProperty property) Returns whether the underlying source.booleanhasProperty(CassandraPersistentProperty property) Returns whether the underlying source contains a data source for the givenCassandraPersistentProperty.
-
Constructor Details
-
RowValueProvider
public RowValueProvider(com.datastax.oss.driver.api.core.cql.Row source, ValueExpressionEvaluator evaluator) - Parameters:
source- must not be null.evaluator- must not be null.
-
-
Method Details
-
getPropertyValue
- Specified by:
getPropertyValuein interfacePropertyValueProvider<CassandraPersistentProperty>
-
hasProperty
Description copied from interface:CassandraValueProviderReturns whether the underlying source contains a data source for the givenCassandraPersistentProperty.- Specified by:
hasPropertyin interfaceCassandraValueProvider- Parameters:
property- must not be null.- Returns:
- true if the underlying source contains a data source for the given
CassandraPersistentProperty.
-
getSource
Description copied from interface:CassandraValueProviderReturns whether the underlying source.- Specified by:
getSourcein interfaceCassandraValueProvider- Returns:
- the underlying source for this
CassandraValueProvider.
-