public class IndexBasedSameAsRetriever extends Object implements SameAsRetriever
| Constructor and Description |
|---|
IndexBasedSameAsRetriever(String indexPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSameURIs(Set<String> uris) |
Set<String> |
retrieveSameURIs(String uri)
Returns a Set containing the URIs having a sameAs link to this URI or
null if no such URIs could be found.
|
Set<String> |
retrieveSameURIs(String domain,
String uri)
Returns a Set containing the URIs having a sameAs link to this URI or
null if no such URIs could be found.
|
public IndexBasedSameAsRetriever(String indexPath) throws GerbilException
GerbilExceptionpublic Set<String> retrieveSameURIs(String uri)
SingleUriSameAsRetrieverretrieveSameURIs in interface SingleUriSameAsRetrieveruri - the URI for which sameAs links should be discoveredpublic void addSameURIs(Set<String> uris)
addSameURIs in interface SameAsRetrieverpublic Set<String> retrieveSameURIs(String domain, String uri)
SingleUriSameAsRetrieverretrieveSameURIs in interface SingleUriSameAsRetrieverdomain - the domain of the URIuri - the URI for which sameAs links should be discoveredCopyright © 2014–2017. All rights reserved.