Class AbstractMarker.INRaw

All Implemented Interfaces:
AssignmentTestable
Enclosing class:
AbstractMarker

public static final class AbstractMarker.INRaw extends AbstractMarker.Raw
A raw placeholder for multiple values of the same type for a single column. For example, "SELECT ... WHERE user_id IN ?'. Because a single type is used, a List is used to represent the values.
  • Constructor Details

    • INRaw

      public INRaw(int bindIndex)
  • Method Details

    • prepare

      public Lists.Marker prepare(String keyspace, ColumnSpecification receiver) throws InvalidRequestException
      Description copied from class: Term.Raw
      This method validates this RawTerm is valid for provided column specification and "prepare" this RawTerm, returning the resulting prepared Term.
      Overrides:
      prepare in class AbstractMarker.Raw
      receiver - the "column" this RawTerm is supposed to be a value of. Note that the ColumnSpecification may not correspond to a real column in the case this RawTerm describe a list index or a map key, etc...
      Returns:
      the prepared term.
      Throws:
      InvalidRequestException