Search in sources :

Example 1 with VarAlloc

use of org.apache.jena.sparql.core.VarAlloc in project jena by apache.

the class RX_PG method varAlloc.

private static VarAlloc varAlloc(ExecutionContext execCxt) {
    Context context = execCxt.getContext();
    VarAlloc varAlloc = VarAlloc.get(context, ARQConstants.sysVarAllocRDFStar);
    if (varAlloc == null) {
        varAlloc = new VarAlloc(ARQConstants.allocVarTripleTerm);
        context.set(ARQConstants.sysVarAllocRDFStar, varAlloc);
    }
    return varAlloc;
}
Also used : Context(org.apache.jena.sparql.util.Context) ExecutionContext(org.apache.jena.sparql.engine.ExecutionContext) VarAlloc(org.apache.jena.sparql.core.VarAlloc)

Aggregations

VarAlloc (org.apache.jena.sparql.core.VarAlloc)1 ExecutionContext (org.apache.jena.sparql.engine.ExecutionContext)1 Context (org.apache.jena.sparql.util.Context)1