Class FilteredModel

    • Method Detail

      • setNamespace

        public void setNamespace​(Namespace namespace)
      • removeTermIteration

        public final void removeTermIteration​(Iterator<Statement> iter,
                                              Resource s,
                                              IRI p,
                                              Value o,
                                              Resource... c)
        Description copied from class: AbstractModel
        Called by aggregate sets when a term has been removed from a term iterator. Exactly one of the last four terms will be non-empty.
        Specified by:
        removeTermIteration in class AbstractModel
        Parameters:
        iter - The iterator used to navigate the live set (never null)
        s - the subject term to be removed or null
        p - the predicate term to be removed or null
        o - the object term to be removed or null
        c - an array of one context term to be removed or an empty array
      • removeFilteredTermIteration

        protected abstract void removeFilteredTermIteration​(Iterator<Statement> iter,
                                                            Resource subj,
                                                            IRI pred,
                                                            Value obj,
                                                            Resource... contexts)
        Called by aggregate sets when a term has been removed from a term iterator. At least one of the last four terms will be non-empty.
        Parameters:
        iter - The iterator used to navigate the live set (never null)
        subj - the subject term to be removed or null
        pred - the predicate term to be removed or null
        obj - the object term to be removed or null
        contexts - an array of one context term to be removed or an empty array