Interface CassandraParameterAccessor

All Superinterfaces:
Iterable<Object>, ParameterAccessor
All Known Implementing Classes:
CassandraParametersParameterAccessor

public interface CassandraParameterAccessor extends ParameterAccessor
Cassandra-specific ParameterAccessor exposing a Cassandra types that are supported by the driver and parameter type.
Author:
Matthew Adams, Mark Paluch
  • Method Details

    • findCassandraType

      @Nullable CassandraType findCassandraType(int index)
      Returns the CassandraType for the declared method parameter.
      Parameters:
      index - the parameter index
      Returns:
      the Cassandra CassandraType or null.
      See Also:
    • getDataType

      com.datastax.oss.driver.api.core.type.DataType getDataType(int index)
      Returns the Cassandra DataType for the declared parameter if the type is a simple type. Parameter types may be specified using CassandraType.
      Parameters:
      index - the parameter index
      Returns:
      the Cassandra DataType or null if the parameter type cannot be determined from CassandraSimpleTypeHolder
      See Also:
    • getParameterType

      Class<?> getParameterType(int index)
      The actual parameter type (after unwrapping).
      Parameters:
      index - the parameter index
      Returns:
      the parameter type, never null.
    • getValues

      Object[] getValues()
      Returns the raw parameter values of the underlying query method.
      Returns:
      the raw parameter values passed to the underlying query method.
      Since:
      1.5
    • getQueryOptions

      @Nullable QueryOptions getQueryOptions()
      Returns the QueryOptions associated with the associated Repository query method.
      Returns:
      the QueryOptions or null if none.
      Since:
      2.0