Class MultiColumnRestriction.INRestriction

    • Constructor Detail

      • INRestriction

        public INRestriction​(java.util.List<ColumnMetadata> columnDefs)
    • Method Detail

      • appendTo

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

        public boolean isIN()
      • isSupportedBy

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

        public final void addRowFilterTo​(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
      • splitValues

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