public interface CassandraParameterAccessor extends ParameterAccessor
ParameterAccessor exposing a Cassandra types that are supported by the
driver and parameter type.| Modifier and Type | Method and Description |
|---|---|
CassandraType |
findCassandraType(int index)
Returns the
CassandraType for the declared method parameter. |
com.datastax.driver.core.DataType |
getDataType(int index)
Returns the Cassandra
DataType for the declared parameter if the type is a
simple type. |
Class<?> |
getParameterType(int index)
The actual parameter type (after unwrapping).
|
QueryOptions |
getQueryOptions()
Returns the
QueryOptions associated with the associated Repository query method. |
Object[] |
getValues()
Returns the raw parameter values of the underlying query method.
|
getBindableValue, getDynamicProjection, getPageable, getSort, hasBindableNullValue, iteratorforEach, spliterator@Nullable CassandraType findCassandraType(int index)
CassandraType for the declared method parameter.index - the parameter indexCassandraType or null.CassandraSimpleTypeHolder,
CassandraTypecom.datastax.driver.core.DataType getDataType(int index)
DataType for the declared parameter if the type is a
simple type. Parameter types may
be specified using CassandraType.index - the parameter indexDataType or null if the parameter type cannot be determined from
CassandraSimpleTypeHolderCassandraSimpleTypeHolder,
CassandraTypeClass<?> getParameterType(int index)
index - the parameter indexObject[] getValues()
@Nullable QueryOptions getQueryOptions()
QueryOptions associated with the associated Repository query method.QueryOptions or null if none.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.