Module org.apache.jena.querybuilder
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 TypeMethodDescriptionAdd the "FROM" graph name.Add the "FROM NAMED" graph name.Get the Dataset handler for this clause.
-
Method Details
-
fromNamed
Add the "FROM NAMED" graph name.- Parameters:
graphName
- the graph name to add.- Returns:
- This builder for chaining.
-
from
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.
-