org.apache.clerezza.rdf.core.sparql.query.impl
Class SimpleConstructQuery

java.lang.Object
  extended by org.apache.clerezza.rdf.core.sparql.query.impl.SimpleQuery
      extended by org.apache.clerezza.rdf.core.sparql.query.impl.SimpleQueryWithSolutionModifier
          extended by org.apache.clerezza.rdf.core.sparql.query.impl.SimpleConstructQuery
All Implemented Interfaces:
ConstructQuery, Query, QueryWithSolutionModifier

public class SimpleConstructQuery
extends SimpleQueryWithSolutionModifier
implements ConstructQuery

Author:
hasan

Constructor Summary
SimpleConstructQuery(Set<TriplePattern> triplePatterns)
           
 
Method Summary
 Set<TriplePattern> getConstructTemplate()
          Gets the template for constructing triples in a CONSTRUCT query.
 String toString()
           
 
Methods inherited from class org.apache.clerezza.rdf.core.sparql.query.impl.SimpleQueryWithSolutionModifier
addOrderCondition, getLimit, getOffset, getOrderConditions, setLimit, setOffset
 
Methods inherited from class org.apache.clerezza.rdf.core.sparql.query.impl.SimpleQuery
addDefaultGraph, addNamedGraph, getDataSet, getQueryPattern, setQueryPattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.clerezza.rdf.core.sparql.query.QueryWithSolutionModifier
getLimit, getOffset, getOrderConditions
 
Methods inherited from interface org.apache.clerezza.rdf.core.sparql.query.Query
getDataSet, getQueryPattern
 

Constructor Detail

SimpleConstructQuery

public SimpleConstructQuery(Set<TriplePattern> triplePatterns)
Method Detail

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.