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>>
,Streamable<org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter>
public class CassandraParameters
extends 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
(ParametersSource parametersSource) Create a newCassandraParameters
instance from the givenMethod
. -
Method Summary
Modifier and TypeMethodDescriptionprotected CassandraParameters
createFrom
(List<org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter> parameters) 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, getLimitIndex, getNumberOfParameters, getPageableIndex, getParameter, getScrollPositionIndex, getSortIndex, hasDynamicProjection, hasLimitParameter, 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
-
Constructor Details
-
CassandraParameters
Create a newCassandraParameters
instance from the givenMethod
.- Parameters:
parametersSource
- must not be null.
-
-
Method Details
-
createFrom
protected CassandraParameters createFrom(List<org.springframework.data.cassandra.repository.query.CassandraParameters.CassandraParameter> parameters) - Specified by:
createFrom
in classParameters<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
-