Class CassandraParameters
java.lang.Object
org.springframework.data.repository.query.Parameters<CassandraParameters,org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter>
org.springframework.data.cassandra.repository.query.CassandraParameters
- All Implemented Interfaces:
Iterable<org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter>
,Supplier<Stream<org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter>>
,org.springframework.data.util.Streamable<org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter>
public class CassandraParameters
extends org.springframework.data.repository.query.Parameters<CassandraParameters,org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter>
Custom extension of
Parameters
discovering additional properties of query method parameters.- Author:
- Matthew Adams, Mark Paluch
-
Field Summary
Fields inherited from class org.springframework.data.repository.query.Parameters
TYPES
-
Constructor Summary
ConstructorDescriptionCassandraParameters
(Method method) Create a newCassandraParameters
instance from the givenMethod
-
Method Summary
Modifier and TypeMethodDescriptionprotected CassandraParameters
createFrom
(List<org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter> parameters) protected org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter
createParameter
(MethodParameter parameter) int
Returns the index of theQueryOptions
parameter to be applied to queries.Methods inherited from class org.springframework.data.repository.query.Parameters
getBindableParameter, getBindableParameters, getDynamicProjectionIndex, getNumberOfParameters, getPageableIndex, getParameter, getScrollPositionIndex, getSortIndex, hasDynamicProjection, hasPageableParameter, hasParameterAt, hasScrollPositionParameter, hasSortParameter, hasSpecialParameter, isBindable, iterator, potentiallySortsDynamically
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.springframework.data.util.Streamable
and, and, and, and, filter, flatMap, get, isEmpty, map, stream, toList, toSet
-
Constructor Details
-
CassandraParameters
Create a newCassandraParameters
instance from the givenMethod
- Parameters:
method
- must not be null.
-
-
Method Details
-
createParameter
protected org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter createParameter(MethodParameter parameter) - Overrides:
createParameter
in classorg.springframework.data.repository.query.Parameters<CassandraParameters,
org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter>
-
createFrom
protected CassandraParameters createFrom(List<org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter> parameters) - Specified by:
createFrom
in classorg.springframework.data.repository.query.Parameters<CassandraParameters,
org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter>
-
getQueryOptionsIndex
public int getQueryOptionsIndex()Returns the index of theQueryOptions
parameter to be applied to queries.- Returns:
- Since:
- 2.0
-