Class MultiColumnRestriction.SliceRestriction

    • Constructor Detail

      • SliceRestriction

        public SliceRestriction​(java.util.List<ColumnMetadata> columnDefs,
                                Bound bound,
                                boolean inclusive,
                                Term term)
    • Method Detail

      • isSlice

        public boolean isSlice()
      • 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
      • appendBoundTo

        public MultiCBuilder appendBoundTo​(MultiCBuilder builder,
                                           Bound bound,
                                           QueryOptions options)
        Description copied from interface: SingleRestriction
        Appends the values of the SingleRestriction for the specified bound to the specified builder.
        Parameters:
        builder - the MultiCBuilder to append to.
        bound - the bound
        options - the query options
        Returns:
        the MultiCBuilder
      • hasBound

        public boolean hasBound​(Bound bound)
        Description copied from interface: SingleRestriction
        Checks if the specified bound is set or not.
        Parameters:
        bound - the bound type
        Returns:
        true if the specified bound is set, false otherwise
      • 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
      • isInclusive

        public boolean isInclusive​(Bound bound)
        Description copied from interface: SingleRestriction
        Checks if the specified bound is inclusive or not.
        Parameters:
        bound - the bound type
        Returns:
        true if the specified bound is inclusive, false otherwise
      • addToRowFilter

        public final 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