public interface UriHashCustodian
HashValues for uris. It provides methods for getting uris with some desired hash values,
and also for adding hash values for given uris.
The idea is that hash values could be stored in the KnownUriFilter,
as well as in the TripleBasedSink.| Modifier and Type | Method and Description |
|---|---|
void |
addHashValuesForUris(List<CrawleableUri> uris)
Add the given hash values for the given uris.
|
Set<CrawleableUri> |
getUrisWithSameHashValues(Set<HashValue> hashValuesForComparison)
Get all uris that have a common hash value with one of the hash values of the given set.
|
Set<CrawleableUri> getUrisWithSameHashValues(Set<HashValue> hashValuesForComparison)
hashValuesForComparison - The given set of hash values.void addHashValuesForUris(List<CrawleableUri> uris)
uris - The given uris.Copyright © 2017–2019. All rights reserved.