de.fuberlin.wiwiss.d2rq.sql
Class SelectStatementBuilder

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.sql.SelectStatementBuilder

public class SelectStatementBuilder
extends Object

Collects parts of a SELECT query and delivers a corresponding SQL statement. Used within TripleResultSets.

Author:
Chris Bizer chris@bizer.de, Richard Cyganiak (richard@cyganiak.de)

Constructor Summary
SelectStatementBuilder(Relation relation)
           
 
Method Summary
 List<ProjectionSpec> getColumnSpecs()
          Returns the projection specs used in this query, in order of appearance in the "SELECT x, y, z" part of the query.
 String getSQLStatement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectStatementBuilder

public SelectStatementBuilder(Relation relation)
Method Detail

getSQLStatement

public String getSQLStatement()

getColumnSpecs

public List<ProjectionSpec> getColumnSpecs()
Returns the projection specs used in this query, in order of appearance in the "SELECT x, y, z" part of the query.

Returns:
A list of ProjectionSpecs