public class TemplateCallImpl extends ModuleCallImpl implements TemplateCall
INDENTATION| Constructor and Description |
|---|
TemplateCallImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.query.QueryExecution |
createQueryExecution(org.apache.jena.query.Dataset dataset)
Creates a QueryExecution that can be used to execute the associated query
with the correct variable bindings.
|
Map<Argument,org.apache.jena.rdf.model.RDFNode> |
getArgumentsMap()
Gets a Map from ArgumentDescriptors to RDFNodes.
|
Map<org.apache.jena.rdf.model.Property,org.apache.jena.rdf.model.RDFNode> |
getArgumentsMapByProperties()
Gets a Map from Properties to RDFNodes derived from the
ArgumentDescriptors.
|
Map<String,org.apache.jena.rdf.model.RDFNode> |
getArgumentsMapByVarNames()
Gets a Map from variable names to RDFNodes derived from the
ArgumentDescriptors.
|
org.apache.jena.query.QuerySolutionMap |
getInitialBinding()
Gets the name-value pairs of the template call's arguments as a Jena-friendly
initial binding object.
|
Module |
getModule()
Gets the associated module, i.e.
|
String |
getQueryString()
Gets this template call as a parsable SPARQL string, with all
pre-bound argument variables inserted as constants.
|
Template |
getTemplate()
Gets the associated Template, from the SPINModules registry.
|
void |
print(PrintContext p)
Instructs this to print itself into a given PrintContext.
|
getComment, getElements, getElements, getList, hasRDFType, printComment, printNestedElementList, printNestedElementList, printNestedExpressionString, printNestedExpressionString, printPrefixes, printVariableExpression, printVariableExpression, printVarOrResource, toStringgetInteger, getLiteral, getLong, getRDFNode, getResource, getString, inferRDFNodeabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, begin, commit, getId, getLocalName, getModel, getModelCom, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, mustHaveModel, removeAll, removeProperties, visitWithas, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isURIResource, isValid, viewAsaddView, alreadyHasView, asInternal, supportsclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toStringpublic TemplateCallImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph)
public org.apache.jena.query.QueryExecution createQueryExecution(org.apache.jena.query.Dataset dataset)
TemplateCallcreateQueryExecution in interface TemplateCalldataset - the Dataset to operate onpublic Map<Argument,org.apache.jena.rdf.model.RDFNode> getArgumentsMap()
TemplateCallgetArgumentsMap in interface TemplateCallpublic Map<org.apache.jena.rdf.model.Property,org.apache.jena.rdf.model.RDFNode> getArgumentsMapByProperties()
TemplateCallgetArgumentsMapByProperties in interface TemplateCallpublic Map<String,org.apache.jena.rdf.model.RDFNode> getArgumentsMapByVarNames()
TemplateCallgetArgumentsMapByVarNames in interface TemplateCallpublic org.apache.jena.query.QuerySolutionMap getInitialBinding()
TemplateCallgetInitialBinding in interface TemplateCallpublic Module getModule()
ModuleCallgetModule in interface ModuleCallpublic String getQueryString()
TemplateCallgetQueryString in interface TemplateCallpublic Template getTemplate()
TemplateCallgetTemplate in interface TemplateCallpublic void print(PrintContext p)
PrintableCopyright © 2017 TopQuadrant, Inc.. All rights reserved.