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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
from(java.lang.String graphName)
Add the "FROM" graph name.T
from(java.util.Collection<java.lang.String> graphName)
Add several "FROM" graph names.T
fromNamed(java.lang.String graphName)
Add the "FROM NAMED" graph name.T
fromNamed(java.util.Collection<java.lang.String> graphNames)
Add several "FROM NAMED" graph names.DatasetHandler
getDatasetHandler()
Get the Dataset handler for this clause.
-
-
-
Method Detail
-
fromNamed
T fromNamed(java.lang.String graphName)
Add the "FROM NAMED" graph name.- Parameters:
graphName
- the graph name to add.- Returns:
- This builder for chaining.
-
fromNamed
T fromNamed(java.util.Collection<java.lang.String> graphNames)
Add several "FROM NAMED" graph names.- Parameters:
graphNames
- the collection graph names to add.- Returns:
- This builder for chaining.
-
from
T from(java.lang.String graphName)
Add the "FROM" graph name.- Parameters:
graphName
- the graph name to add.- Returns:
- This builder for chaining.
-
from
T from(java.util.Collection<java.lang.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.
-
-