org.apache.clerezza.rdf.core.sparql.query.impl
Class SimpleConstructQuery
java.lang.Object
org.apache.clerezza.rdf.core.sparql.query.impl.SimpleQuery
org.apache.clerezza.rdf.core.sparql.query.impl.SimpleQueryWithSolutionModifier
org.apache.clerezza.rdf.core.sparql.query.impl.SimpleConstructQuery
- All Implemented Interfaces:
- ConstructQuery, Query, QueryWithSolutionModifier
public class SimpleConstructQuery
- extends SimpleQueryWithSolutionModifier
- implements ConstructQuery
- Author:
- hasan
SimpleConstructQuery
public SimpleConstructQuery(Set<TriplePattern> triplePatterns)
getConstructTemplate
public Set<TriplePattern> getConstructTemplate()
- Description copied from interface:
ConstructQuery
Gets the template for constructing triples in a CONSTRUCT query.
- Specified by:
getConstructTemplate in interface ConstructQuery
- Returns:
- a template as a set of triple patterns for constructing
new triples.
- See Also:
-
SPARQL Query Language: 10.2 CONSTRUCT
toString
public String toString()
- Specified by:
toString in interface Query- Specified by:
toString in class SimpleQuery
- Returns:
- A valid String representation of the query.
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.