Interface RepositoryBloomFilter

All Known Implementing Classes:
AccurateRepositoryBloomFilter, InaccurateRepositoryBloomFilter

public interface RepositoryBloomFilter
A bloom filter for statements in a Repository.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    mayHaveStatement(RepositoryConnection conn, Resource subj, IRI pred, Value obj, Resource... ctxs)
    Returns true if the repository may have such a statement or false if it definitely does not.
  • Method Details

    • mayHaveStatement

      boolean mayHaveStatement(RepositoryConnection conn, Resource subj, IRI pred, Value obj, Resource... ctxs)
      Returns true if the repository may have such a statement or false if it definitely does not.
      Parameters:
      conn - connection to the repository to check.
      subj - subject of the statement to check for (can be null).
      pred - predicate of the statement to check for (can be null).
      obj - object of the statement to check for (can be null).
      ctxs - contexts of the statement to check for.