Class AlgebraGenerator


  • public class AlgebraGenerator
    extends java.lang.Object
    Class used to compile SPARQL queries into SPARQL algebra. This is the SPARQL standard defined process of abstract syntax to algebra.
    • 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