public abstract class GraphFilter<X> extends Object implements Predicate<org.apache.jena.atlas.lib.tuple.Tuple<X>>
This filter takes a collection of graph names and returns true from
test(Tuple) if the tuple graph slot is in the collection of graph names or
matchDefaultGraph is true. It can be used as an "allow" filter; it can be negated to
become a "deny" filter.
GraphFilterTDB1.graphFilter(org.apache.jena.sparql.core.DatasetGraph, java.util.Collection<org.apache.jena.graph.Node>, boolean),
GraphFilterTDB2.graphFilter(org.apache.jena.sparql.core.DatasetGraph, java.util.Collection<org.apache.jena.graph.Node>, boolean)| Modifier and Type | Method and Description |
|---|---|
abstract Symbol |
getContextKey() |
static Symbol |
getContextKey(DatasetGraph dsg) |
boolean |
test(org.apache.jena.atlas.lib.tuple.Tuple<X> t) |
public static Symbol getContextKey(DatasetGraph dsg)
public abstract Symbol getContextKey()
public boolean test(org.apache.jena.atlas.lib.tuple.Tuple<X> t)
test in interface Predicate<org.apache.jena.atlas.lib.tuple.Tuple<X>>Licensed under the Apache License, Version 2.0