Class GraphFindCache
java.lang.Object
org.aksw.jena_sparql_api.io.binseach.GraphFindCache
This cache needs to be put into a dataset's context.
Used by
StageGeneratorGraphFindRaw to cache triple lookups.
ISSUE Needs to be generalized to quads.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.jena.sparql.util.Symbolstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionGraphFindCache(int cacheSize) GraphFindCache(com.github.benmanes.caffeine.cache.Cache<org.apache.jena.graph.Triple, org.aksw.commons.io.input.ReadableChannelSource<org.apache.jena.sparql.engine.binding.Binding[]>> cache) -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphFindCacheget(org.apache.jena.sparql.util.Context cxt) Return the global instance (if any) in ARQ.getContex()com.github.benmanes.caffeine.cache.Cache<org.apache.jena.graph.Triple,org.aksw.commons.io.input.ReadableChannelSource<org.apache.jena.sparql.engine.binding.Binding[]>> getCache()static GraphFindCachegetOrCreate(org.apache.jena.sparql.util.Context cxt) static voidset(org.apache.jena.sparql.util.Context cxt, GraphFindCache cache)
-
Field Details
-
NS
- See Also:
-
graphCache
public static final org.apache.jena.sparql.util.Symbol graphCache
-
-
Constructor Details
-
GraphFindCache
public GraphFindCache(int cacheSize) -
GraphFindCache
public GraphFindCache(com.github.benmanes.caffeine.cache.Cache<org.apache.jena.graph.Triple, org.aksw.commons.io.input.ReadableChannelSource<org.apache.jena.sparql.engine.binding.Binding[]>> cache)
-
-
Method Details
-
get
Return the global instance (if any) in ARQ.getContex() -
getOrCreate
-
set
-
getCache
public com.github.benmanes.caffeine.cache.Cache<org.apache.jena.graph.Triple,org.aksw.commons.io.input.ReadableChannelSource<org.apache.jena.sparql.engine.binding.Binding[]>> getCache()
-