MultiColumnRestriction.InRestrictionWithMarker (apache-cassandra API)
Date: 2018-02-14

org.apache.cassandra.cql3.restrictions

## Class MultiColumnRestriction.InRestrictionWithMarker

- java.lang.Object
- - org.apache.cassandra.cql3.restrictions.MultiColumnRestriction
  - - org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.INRestriction
    - - org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.InRestrictionWithMarker

- All Implemented Interfaces:
    Restriction, SingleRestriction
  Enclosing class:
    MultiColumnRestriction

      public static class MultiColumnRestriction.InRestrictionWithMarker
      extends MultiColumnRestriction.INRestriction

  An IN restriction that uses a single marker for a set of IN values that are tuples. For example: "SELECT ... WHERE (a, b, c) IN ?"

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction

      `MultiColumnRestriction.EQRestriction, MultiColumnRestriction.INRestriction, MultiColumnRestriction.InRestrictionWithMarker, MultiColumnRestriction.InRestrictionWithValues, MultiColumnRestriction.NotNullRestriction, MultiColumnRestriction.SliceRestriction`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected AbstractMarker` | `marker`

    - ### Fields inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction

      `columnDefs`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `InRestrictionWithMarker(java.util.List<ColumnDefinition> columnDefs, AbstractMarker marker)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addFunctionsTo(java.util.List<Function> functions)` Adds all functions (native and user-defined) used by any component of the restriction to the specified list.
    `protected java.util.List<java.util.List<java.nio.ByteBuffer>>` | `splitValues(QueryOptions options)`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction.INRestriction

      `addRowFilterTo, appendTo, doMergeWith, isIN, isSupportedBy`

    - ### Methods inherited from class org.apache.cassandra.cql3.restrictions.MultiColumnRestriction

      `getColumnDefs, getColumnsInCommons, getFirstColumn, getLastColumn, hasSupportingIndex, isMultiColumn, mergeWith`

    - ### 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.restrictions.SingleRestriction

      `appendBoundTo, hasBound, isContains, isEQ, isInclusive, isLIKE, isNotNull, isSlice`

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

      `isOnToken`

- - ### Field Detail

    - #### marker

          protected final AbstractMarker marker

  - ### Constructor Detail

    - #### InRestrictionWithMarker

          public InRestrictionWithMarker(java.util.List<ColumnDefinition> columnDefs,
                                         AbstractMarker marker)

  - ### Method Detail

    - #### addFunctionsTo

          public void addFunctionsTo(java.util.List<Function> functions)

      Description copied from interface: `Restriction`
      Adds all functions (native and user-defined) used by any component of the restriction to the specified list.
      Parameters:
        `functions` - the list to add to

    - #### toString

          public java.lang.String toString()

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

    - #### splitValues

          protected java.util.List<java.util.List<java.nio.ByteBuffer>> splitValues(QueryOptions options)

      Specified by:
        `splitValues` in class `MultiColumnRestriction.INRestriction`

Copyright © 2018 The Apache Software Foundation