org.apache.cassandra.cql3.statements

## Class SingleColumnRestriction.InWithValues

- java.lang.Object
- - org.apache.cassandra.cql3.statements.SingleColumnRestriction
  - - org.apache.cassandra.cql3.statements.SingleColumnRestriction.InWithValues

- All Implemented Interfaces:
    Restriction, Restriction.IN
  Direct Known Subclasses:
    MultiColumnRestriction.InWithValues
  Enclosing class:
    SingleColumnRestriction

      public static class SingleColumnRestriction.InWithValues
      extends SingleColumnRestriction
      implements Restriction.IN

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.cassandra.cql3.statements.SingleColumnRestriction

      `SingleColumnRestriction.Contains, SingleColumnRestriction.EQ, SingleColumnRestriction.InWithMarker, SingleColumnRestriction.InWithValues, SingleColumnRestriction.Slice`

    - ### Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.statements.Restriction

      `Restriction.EQ, Restriction.IN, Restriction.Slice`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected java.util.List<Term>` | `values`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SingleColumnRestriction.InWithValues(java.util.List<Term> values)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `canHaveOnlyOneValue()`
    `boolean` | `isContains()`
    `boolean` | `isEQ()`
    `boolean` | `isIN()`
    `boolean` | `isOnToken()`
    `boolean` | `isSlice()`
    `java.lang.String` | `toString()`
    `java.util.List<java.nio.ByteBuffer>` | `values(QueryOptions options)`

    - ### Methods inherited from class org.apache.cassandra.cql3.statements.SingleColumnRestriction

      `isMultiColumn`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.apache.cassandra.cql3.statements.Restriction

      `isMultiColumn`

- - ### Field Detail

    - #### values

          protected final java.util.List<Term> values

  - ### Constructor Detail

    - #### SingleColumnRestriction.InWithValues

          public SingleColumnRestriction.InWithValues(java.util.List<Term> values)

  - ### Method Detail

    - #### values

          public java.util.List<java.nio.ByteBuffer> values(QueryOptions options)
                                                     throws InvalidRequestException

      Specified by:
        `values` in interface `Restriction`
      Throws:
        `InvalidRequestException`

    - #### canHaveOnlyOneValue

          public boolean canHaveOnlyOneValue()

      Specified by:
        `canHaveOnlyOneValue` in interface `Restriction.IN`

    - #### isSlice

          public boolean isSlice()

      Specified by:
        `isSlice` in interface `Restriction`

    - #### isEQ

          public boolean isEQ()

      Specified by:
        `isEQ` in interface `Restriction`

    - #### isIN

          public boolean isIN()

      Specified by:
        `isIN` in interface `Restriction`

    - #### isContains

          public boolean isContains()

      Specified by:
        `isContains` in interface `Restriction`

    - #### isOnToken

          public boolean isOnToken()

      Specified by:
        `isOnToken` in interface `Restriction`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright © 2014 The Apache Software Foundation