public interface TemplateCall extends ModuleCall
| 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.
|
String |
getQueryString()
Deprecated.
should not be used: has issues if sp:text is used only,
and may produce queries that in fact cannot be parsed back.
As an alternative, consider getting the Command and a
initial bindings mapping, then feed the QueryExecution with
that initial binding for execution.
|
Template |
getTemplate()
Gets the associated Template, from the SPINModules registry.
|
getModuleabort, 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, toStringorg.apache.jena.query.QueryExecution createQueryExecution(org.apache.jena.query.Dataset dataset)
dataset - the Dataset to operate onMap<Argument,org.apache.jena.rdf.model.RDFNode> getArgumentsMap()
Map<org.apache.jena.rdf.model.Property,org.apache.jena.rdf.model.RDFNode> getArgumentsMapByProperties()
Map<String,org.apache.jena.rdf.model.RDFNode> getArgumentsMapByVarNames()
org.apache.jena.query.QuerySolutionMap getInitialBinding()
String getQueryString()
Template getTemplate()
Copyright © 2017 TopQuadrant, Inc.. All rights reserved.