Interface DatasetClause<T extends AbstractQueryBuilder<T>>

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

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

    Modifier and Type
    Method
    Description
    from(Object graphName)
    Add the "FROM" graph name.
    fromNamed(Object graphName)
    Add the "FROM NAMED" graph name.
    Get the Dataset handler for this clause.
  • Method Details

    • fromNamed

      T fromNamed(Object graphName)
      Add the "FROM NAMED" graph name.
      Parameters:
      graphName - the graph name to add.
      Returns:
      This builder for chaining.
    • from

      T from(Object graphName)
      Add the "FROM" graph name.
      Parameters:
      graphName - the graph name to add.
      Returns:
      This builder for chaining.
    • getDatasetHandler

      DatasetHandler getDatasetHandler()
      Get the Dataset handler for this clause.
      Returns:
      The DatasetHandler this clause is using.