Interface RepositoryBloomFilter
-
- All Known Implementing Classes:
AccurateRepositoryBloomFilter,InaccurateRepositoryBloomFilter
public interface RepositoryBloomFilterA bloom filter for statements in aRepository.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmayHaveStatement(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 Detail
-
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.
-
-