Uses of Interface org.apache.cassandra.cql3.restrictions.Restriction (apache-cassandra API)
Date: 2018-02-14

## Uses of Interface
org.apache.cassandra.cql3.restrictions.Restriction

- Packages that use Restriction
  Package | Description
  --- | ---
  org.apache.cassandra.cql3 |
  org.apache.cassandra.cql3.restrictions |

- - ### Uses of Restriction in org.apache.cassandra.cql3

    Methods in org.apache.cassandra.cql3 that return Restriction
    Modifier and Type | Method and Description
    --- | ---
    `protected Restriction` | MultiColumnRelation.`newContainsRestriction(CFMetaData cfm, VariableSpecifications boundNames, boolean isKey)`
    `protected abstract Restriction` | Relation.`newContainsRestriction(CFMetaData cfm, VariableSpecifications boundNames, boolean isKey)` Creates a new Contains restriction instance.
    `protected Restriction` | SingleColumnRelation.`newContainsRestriction(CFMetaData cfm, VariableSpecifications boundNames, boolean isKey)`
    `protected Restriction` | TokenRelation.`newContainsRestriction(CFMetaData cfm, VariableSpecifications boundNames, boolean isKey)`
    `protected Restriction` | MultiColumnRelation.`newEQRestriction(CFMetaData cfm, VariableSpecifications boundNames)`
    `protected abstract Restriction` | Relation.`newEQRestriction(CFMetaData cfm, VariableSpecifications boundNames)` Creates a new EQ restriction instance.
    `protected Restriction` | SingleColumnRelation.`newEQRestriction(CFMetaData cfm, VariableSpecifications boundNames)`
    `protected Restriction` | TokenRelation.`newEQRestriction(CFMetaData cfm, VariableSpecifications boundNames)`
    `protected Restriction` | MultiColumnRelation.`newINRestriction(CFMetaData cfm, VariableSpecifications boundNames)`
    `protected abstract Restriction` | Relation.`newINRestriction(CFMetaData cfm, VariableSpecifications boundNames)` Creates a new IN restriction instance.
    `protected Restriction` | SingleColumnRelation.`newINRestriction(CFMetaData cfm, VariableSpecifications boundNames)`
    `protected Restriction` | TokenRelation.`newINRestriction(CFMetaData cfm, VariableSpecifications boundNames)`
    `protected Restriction` | MultiColumnRelation.`newIsNotRestriction(CFMetaData cfm, VariableSpecifications boundNames)`
    `protected abstract Restriction` | Relation.`newIsNotRestriction(CFMetaData cfm, VariableSpecifications boundNames)`
    `protected Restriction` | SingleColumnRelation.`newIsNotRestriction(CFMetaData cfm, VariableSpecifications boundNames)`
    `protected Restriction` | TokenRelation.`newIsNotRestriction(CFMetaData cfm, VariableSpecifications boundNames)`
    `protected Restriction` | MultiColumnRelation.`newLikeRestriction(CFMetaData cfm, VariableSpecifications boundNames, Operator operator)`
    `protected abstract Restriction` | Relation.`newLikeRestriction(CFMetaData cfm, VariableSpecifications boundNames, Operator operator)`
    `protected Restriction` | SingleColumnRelation.`newLikeRestriction(CFMetaData cfm, VariableSpecifications boundNames, Operator operator)`
    `protected Restriction` | TokenRelation.`newLikeRestriction(CFMetaData cfm, VariableSpecifications boundNames, Operator operator)`
    `protected Restriction` | MultiColumnRelation.`newSliceRestriction(CFMetaData cfm, VariableSpecifications boundNames, Bound bound, boolean inclusive)`
    `protected abstract Restriction` | Relation.`newSliceRestriction(CFMetaData cfm, VariableSpecifications boundNames, Bound bound, boolean inclusive)` Creates a new Slice restriction instance.
    `protected Restriction` | SingleColumnRelation.`newSliceRestriction(CFMetaData cfm, VariableSpecifications boundNames, Bound bound, boolean inclusive)`
    `protected Restriction` | TokenRelation.`newSliceRestriction(CFMetaData cfm, VariableSpecifications boundNames, Bound bound, boolean inclusive)`
    `Restriction` | Relation.`toRestriction(CFMetaData cfm, VariableSpecifications boundNames)` Converts this `Relation` into a `Restriction`.

  - ### Uses of Restriction in org.apache.cassandra.cql3.restrictions

    Subinterfaces of Restriction in org.apache.cassandra.cql3.restrictions
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Restrictions` Sets of restrictions
    `interface` | `SingleRestriction` A single restriction/clause on one or multiple column.

    Classes in org.apache.cassandra.cql3.restrictions that implement Restriction
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MultiColumnRestriction`
    `static class` | `MultiColumnRestriction.EQRestriction`
    `static class` | `MultiColumnRestriction.INRestriction`
    `static class` | `MultiColumnRestriction.InRestrictionWithMarker` An IN restriction that uses a single marker for a set of IN values that are tuples.
    `static class` | `MultiColumnRestriction.InRestrictionWithValues` An IN restriction that has a set of terms for in values.
    `static class` | `MultiColumnRestriction.NotNullRestriction`
    `static class` | `MultiColumnRestriction.SliceRestriction`
    `class` | `SingleColumnRestriction`
    `static class` | `SingleColumnRestriction.ContainsRestriction`
    `static class` | `SingleColumnRestriction.EQRestriction`
    `static class` | `SingleColumnRestriction.INRestriction`
    `static class` | `SingleColumnRestriction.InRestrictionWithMarker`
    `static class` | `SingleColumnRestriction.InRestrictionWithValues`
    `static class` | `SingleColumnRestriction.IsNotNullRestriction`
    `static class` | `SingleColumnRestriction.LikeRestriction`
    `static class` | `SingleColumnRestriction.SliceRestriction`
    `static class` | `SingleColumnRestriction.SuperColumnKeyEQRestriction`
    `static class` | `SingleColumnRestriction.SuperColumnKeyINRestriction`
    `static class` | `SingleColumnRestriction.SuperColumnKeyINRestrictionWithMarkers`
    `static class` | `SingleColumnRestriction.SuperColumnKeyINRestrictionWithValues`
    `static class` | `SingleColumnRestriction.SuperColumnKeySliceRestriction`
    `static class` | `SingleColumnRestriction.SuperColumnMultiEQRestriction` Super Column Compatibiltiy
    `static class` | `SingleColumnRestriction.SuperColumnMultiSliceRestriction`

    Methods in org.apache.cassandra.cql3.restrictions that return types with arguments of type Restriction
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<Restriction>` | Restrictions.`getRestrictions(ColumnDefinition columnDef)` Returns the restrictions applied to the specified column.
    `java.util.Set<Restriction>` | TokenRestriction.`getRestrictions(ColumnDefinition columnDef)`

    Methods in org.apache.cassandra.cql3.restrictions with parameters of type Restriction
    Modifier and Type | Method and Description
    --- | ---
    `protected java.lang.String` | MultiColumnRestriction.`getColumnsInCommons(Restriction otherRestriction)` Returns the names of the columns that are specified within this `Restrictions` and the other one as a comma separated `String`.
    `org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions` | TokenRestriction.`mergeWith(Restriction otherRestriction)`

Copyright © 2018 The Apache Software Foundation