public class RestrictiveSourceSelector extends SourceSelectorWrapper
Constructor and Description |
---|
RestrictiveSourceSelector(SourceSelector selector) |
RestrictiveSourceSelector(SourceSelector selector,
Collection<org.openrdf.model.URI> includeOnly,
Collection<org.openrdf.model.URI> exclude) |
Modifier and Type | Method and Description |
---|---|
void |
excludeSource(org.openrdf.model.URI source) |
void |
excludeSources(Collection<org.openrdf.model.URI> sources) |
List<SourceMetadata> |
getSources(Iterable<org.openrdf.query.algebra.StatementPattern> patterns,
org.openrdf.query.Dataset dataset,
org.openrdf.query.BindingSet bindings)
Returns a list of operational endpoints where you can find
triples that match the given patterns.
|
List<SourceMetadata> |
getSources(org.openrdf.query.algebra.StatementPattern pattern,
org.openrdf.query.Dataset dataset,
org.openrdf.query.BindingSet bindings)
Returns a list of operational endpoints where you can find
triples that match the given pattern.
|
List<SourceMetadata> |
getSources(org.openrdf.query.algebra.TupleExpr expr,
org.openrdf.query.Dataset dataset,
org.openrdf.query.BindingSet bindings)
Returns a list of operational endpoints where you can find
triples that match the given expression.
|
void |
includeOnlySource(org.openrdf.model.URI source) |
void |
includeOnlySources(Collection<org.openrdf.model.URI> sources) |
boolean |
isRestrictive() |
getWrappedSelector
public RestrictiveSourceSelector(SourceSelector selector)
public RestrictiveSourceSelector(SourceSelector selector, Collection<org.openrdf.model.URI> includeOnly, Collection<org.openrdf.model.URI> exclude)
public void excludeSource(org.openrdf.model.URI source)
public void excludeSources(Collection<org.openrdf.model.URI> sources)
public void includeOnlySource(org.openrdf.model.URI source)
public void includeOnlySources(Collection<org.openrdf.model.URI> sources)
public boolean isRestrictive()
public List<SourceMetadata> getSources(org.openrdf.query.algebra.StatementPattern pattern, org.openrdf.query.Dataset dataset, org.openrdf.query.BindingSet bindings)
SourceSelector
getSources
in interface SourceSelector
getSources
in class SourceSelectorWrapper
public List<SourceMetadata> getSources(Iterable<org.openrdf.query.algebra.StatementPattern> patterns, org.openrdf.query.Dataset dataset, org.openrdf.query.BindingSet bindings)
SourceSelector
getSources
in interface SourceSelector
getSources
in class SourceSelectorWrapper
public List<SourceMetadata> getSources(org.openrdf.query.algebra.TupleExpr expr, org.openrdf.query.Dataset dataset, org.openrdf.query.BindingSet bindings)
SourceSelector
getSources
in interface SourceSelector
getSources
in class SourceSelectorWrapper
Copyright © 2015 SemaGrow - FP7. All rights reserved.