Interface ConstructClause<T extends AbstractQueryBuilder<T>>

  • Type Parameters:
    T - The Builder type that the clause is part of.
    All Known Implementing Classes:
    ConstructBuilder

    public interface ConstructClause<T extends AbstractQueryBuilder<T>>
    Interface that defines the ConstructClause as per http://www.w3.org/TR/2013/REC-sparql11-query-20130321/#rConstructTemplate
    • Method Detail

      • addConstruct

        T addConstruct​(Triple t)
        Add a construct triple.
        Parameters:
        t - The triple to add.
        Returns:
        The builder for chaining.
      • addConstruct

        T addConstruct​(FrontsTriple t)
        Add a construct triple.
        Parameters:
        t - The triple to add.
        Returns:
        The builder for chaining.
      • addConstruct

        T addConstruct​(java.lang.Object s,
                       java.lang.Object p,
                       java.lang.Object o)
        Add a construct triple. See AbstractQueryBuilder.makeNode(java.lang.Object) for conversion of the param values.
        Parameters:
        s - The subject of the triple,
        p - The predicate of the triple.
        o - The object of the triple.
        Returns:
        the builder for chaining.
      • getConstructHandler

        ConstructHandler getConstructHandler()
        Get the Construct handler for this construct clause.
        Returns:
        the construct handler used by this builder.