Class SingleColumnRestriction.INRestriction

    • Constructor Detail

    • Method Detail

      • isIN

        public final boolean isIN()
      • appendTo

        public MultiCBuilder appendTo​(MultiCBuilder builder,
                                      QueryOptions options)
        Description copied from interface: SingleRestriction
        Appends the values of this SingleRestriction to the specified builder.
        Parameters:
        builder - the MultiCBuilder to append to.
        options - the query options
        Returns:
        the MultiCBuilder
      • addToRowFilter

        public void addToRowFilter​(RowFilter filter,
                                   IndexRegistry indexRegistry,
                                   QueryOptions options)
        Description copied from interface: Restriction
        Adds to the specified row filter the expressions corresponding to this Restriction.
        Parameters:
        filter - the row filter to add expressions to
        indexRegistry - the index registry
        options - the query options
      • isSupportedBy

        protected final boolean isSupportedBy​(Index index)
        Description copied from class: SingleColumnRestriction
        Check if this type of restriction is supported by the specified index.
        Specified by:
        isSupportedBy in class SingleColumnRestriction
        Parameters:
        index - the secondary index
        Returns:
        true this type of restriction is supported by the specified index, false otherwise.
      • getValues

        protected abstract java.util.List<java.nio.ByteBuffer> getValues​(QueryOptions options)