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 Details

    • fromNamed

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

      T fromNamed(Collection<String> graphNames)
      Add several "FROM NAMED" graph names.
      Parameters:
      graphNames - the collection graph names to add.
      Returns:
      This builder for chaining.
    • from

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

      T from(Collection<String> graphName)
      Add several "FROM" graph names.
      Parameters:
      graphName - the collection graph names to add.
      Returns:
      This builder for chaining.
    • getDatasetHandler

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