public class CassandraParametersParameterAccessor extends ParametersParameterAccessor implements CassandraParameterAccessor
ParameterAccessor exposing Cassandra types that are supported by the
driver and parameter type.CassandraParameterAccessor,
ParametersParameterAccessor| Constructor and Description |
|---|
CassandraParametersParameterAccessor(CassandraQueryMethod method,
Object... values)
Create a new
CassandraParametersParameterAccessor. |
| 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. |
CassandraParameters |
getParameters() |
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, getValue, hasBindableNullValue, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBindableValue, getDynamicProjection, getPageable, getSort, hasBindableNullValue, iteratorforEach, spliteratorpublic CassandraParametersParameterAccessor(CassandraQueryMethod method, Object... values)
CassandraParametersParameterAccessor.method - must not be null.values - must not be null.public com.datastax.driver.core.DataType getDataType(int index)
CassandraParameterAccessorDataType for the declared parameter if the type is a
simple type. Parameter types may
be specified using CassandraType.getDataType in interface CassandraParameterAccessorindex - the parameter indexDataType or null if the parameter type cannot be determined from
CassandraSimpleTypeHolderCassandraSimpleTypeHolder,
CassandraType@Nullable public CassandraType findCassandraType(int index)
CassandraParameterAccessorCassandraType for the declared method parameter.findCassandraType in interface CassandraParameterAccessorindex - the parameter indexCassandraType or null.CassandraSimpleTypeHolder,
CassandraTypepublic Class<?> getParameterType(int index)
CassandraParameterAccessorgetParameterType in interface CassandraParameterAccessorindex - the parameter indexpublic CassandraParameters getParameters()
getParameters in class ParametersParameterAccessorpublic Object[] getValues()
CassandraParameterAccessorgetValues in interface CassandraParameterAccessor@Nullable public QueryOptions getQueryOptions()
CassandraParameterAccessorQueryOptions associated with the associated Repository query method.getQueryOptions in interface CassandraParameterAccessorQueryOptions or null if none.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.