Class RdfDataSourceWithLocalLateral
java.lang.Object
org.aksw.jenax.dataaccess.sparql.datasource.RDFDataSourceWrapperBase<RDFDataSource>
org.aksw.jenax.dataaccess.sparql.polyfill.datasource.RdfDataSourceWithLocalLateral
- All Implemented Interfaces:
RDFDataSource,RDFDataSourceWrapper<RDFDataSource>
A rewrite that attempts to inject cache operations around group by computations.
SERVICE <cache:> { SERVICE <env:REMOTE> { GROUP-BY } }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassA copying transform that applies an ElementTransform syntax pattern of E_Exist and E_NoExistsstatic classFactory classstatic classRewriter that injects caching operations after group by operations (Op, true) means that op contains some rewrite that references remotestatic final recordstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.jena.query.DatasetRequests go to this dataset which is configured to delegate SERVICE >env://REMOTE> requests to the delegate data sourcestatic final Stringstatic final org.apache.jena.graph.NodeFields inherited from class org.aksw.jenax.dataaccess.sparql.datasource.RDFDataSourceWrapperBase
delegate -
Constructor Summary
ConstructorsConstructorDescriptionRdfDataSourceWithLocalLateral(RDFDataSource delegate, RdfDataSourceWithLocalLateral.PolyfillLateralConfig config) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.query.DatasetcreateProxyDataset(RDFDataSource delegate) static org.apache.jena.graph.NodecreateServiceIri(int bulkSize, int concurrentSlots) org.apache.jena.rdfconnection.RDFConnectionBy default, use the delegate's connection.static voidstatic voidmainActual(String[] args) static voidprotected org.aksw.jenax.stmt.core.SparqlStmtrewriteStatement(org.aksw.jenax.stmt.core.SparqlStmt stmt) wrap(RDFDataSource delegate) wrap(RDFDataSource delegate, RdfDataSourceWithLocalLateral.PolyfillLateralConfig config) static org.apache.jena.sparql.algebra.OpwrapWithRemote(org.apache.jena.sparql.algebra.Op op) Methods inherited from class org.aksw.jenax.dataaccess.sparql.datasource.RDFDataSourceWrapperBase
getDelegateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.jenax.dataaccess.sparql.datasource.RDFDataSource
asLinkSource, asQef, getDataset, newQuery, newUpdate, query, query, update, update, update
-
Field Details
-
REMOTE_IRI
- See Also:
-
REMOTE_NODE
public static final org.apache.jena.graph.Node REMOTE_NODE -
proxyDataset
protected org.apache.jena.query.Dataset proxyDatasetRequests go to this dataset which is configured to delegate SERVICE >env://REMOTE> requests to the delegate data source -
config
-
-
Constructor Details
-
RdfDataSourceWithLocalLateral
public RdfDataSourceWithLocalLateral(RDFDataSource delegate, RdfDataSourceWithLocalLateral.PolyfillLateralConfig config)
-
-
Method Details
-
createServiceIri
public static org.apache.jena.graph.Node createServiceIri(int bulkSize, int concurrentSlots) -
main
-
mainX
-
mainActual
-
wrap
-
wrap
public static RdfDataSourceWithLocalLateral wrap(RDFDataSource delegate, RdfDataSourceWithLocalLateral.PolyfillLateralConfig config) -
createProxyDataset
-
rewriteStatement
protected org.aksw.jenax.stmt.core.SparqlStmt rewriteStatement(org.aksw.jenax.stmt.core.SparqlStmt stmt) -
getConnection
public org.apache.jena.rdfconnection.RDFConnection getConnection()Description copied from interface:RDFDataSourceWrapperBy default, use the delegate's connection. -
wrapWithRemote
public static org.apache.jena.sparql.algebra.Op wrapWithRemote(org.apache.jena.sparql.algebra.Op op)
-