com.hp.hpl.jena.sparql.algebra
Class AlgebraGenerator

java.lang.Object
  extended by com.hp.hpl.jena.sparql.algebra.AlgebraGenerator

public class AlgebraGenerator
extends Object

Class used to compile SPARQL queries into SPARQL algebra


Constructor Summary
AlgebraGenerator()
          Create a new generator
AlgebraGenerator(Context context)
          Create a new generator
 
Method Summary
 Op compile(Element elt)
          Compile any structural element
 Op compile(Query query)
          Compile a query
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgebraGenerator

public AlgebraGenerator(Context context)
Create a new generator

Parameters:
context - Context

AlgebraGenerator

public AlgebraGenerator()
Create a new generator

Method Detail

compile

public Op compile(Query query)
Compile a query

DO NOT call recursively

Parameters:
query - Query to compile
Returns:
Compiled algebra

compile

public Op compile(Element elt)
Compile any structural element

Parameters:
elt - Element
Returns:
Compiled algebra


Licenced under the Apache License, Version 2.0