Class SparqlQueryRenderer

    • Constructor Detail

      • SparqlQueryRenderer

        public SparqlQueryRenderer()
    • Method Detail

      • render

        public java.lang.String render​(ParsedQuery theQuery)
                                throws java.lang.Exception
        Description copied from class: BaseTupleExprRenderer
        Render the ParsedQuery as a query string
        Specified by:
        render in interface QueryRenderer
        Overrides:
        render in class BaseTupleExprRenderer
        Parameters:
        theQuery - the parsed query to render
        Returns:
        the query object rendered in the query language syntax
        Throws:
        java.lang.Exception - if there is an error while rendering
      • render

        public java.lang.String render​(ParsedOperation theOperation)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • renderUpdate

        private java.lang.String renderUpdate​(ParsedUpdate theUpdate)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • render

        public java.lang.String render​(TupleExpr theExpr)
                                throws java.lang.Exception
        Description copied from class: BaseTupleExprRenderer
        Render the TupleExpr as a query or query fragment depending on what kind of TupleExpr it is
        Specified by:
        render in class BaseTupleExprRenderer
        Parameters:
        theExpr - the expression to render
        Returns:
        the TupleExpr rendered in the query language syntax
        Throws:
        java.lang.Exception - if there is an error while rendering
      • renderValueExpr

        public java.lang.String renderValueExpr​(ValueExpr theExpr)
                                         throws java.lang.Exception
        Description copied from class: BaseTupleExprRenderer
        Render the given ValueExpr
        Specified by:
        renderValueExpr in class BaseTupleExprRenderer
        Parameters:
        theExpr - the expr to render
        Returns:
        the rendered expression
        Throws:
        java.lang.Exception - if there is an error while rendering