Class DatasetHandler
java.lang.Object
org.apache.jena.arq.querybuilder.handlers.DatasetHandler
- All Implemented Interfaces:
Handler
Handler for a dataset.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(DatasetHandler datasetHandler) Add all the dataset information from the handler argument.void
build()
Called by the build process for this handler to perform any adjustments to the query before the build completes.void
Add the graph names to the from list.void
from
(Collection<String> graphNames) Add the graph names to the named list.void
Add a graph name to the from named list.void
fromNamed
(Collection<String> graphNames) Add the graph names to the from named list.void
Set the values for variables managed by the handler implementation.
-
Constructor Details
-
DatasetHandler
Constructor.- Parameters:
query
- The query the handler will manage.
-
-
Method Details
-
addAll
Add all the dataset information from the handler argument.- Parameters:
datasetHandler
- The handler to copy from.
-
fromNamed
Add a graph name to the from named list.- Parameters:
graphName
- The graph name to add.
-
fromNamed
Add the graph names to the from named list. The names are ordered in as defined in the collection.- Parameters:
graphNames
- The from names to add.
-
from
Add the graph names to the from list.- Parameters:
graphName
- the name to add.
-
from
Add the graph names to the named list. The names are ordered in as defined in the collection.- Parameters:
graphNames
- The names to add.
-
setVars
Description copied from interface:Handler
Set the values for variables managed by the handler implementation. This method is called by the builder to set values handled by this Handler implementation. -
build
public void build()Description copied from interface:Handler
Called by the build process for this handler to perform any adjustments to the query before the build completes. The adjustments are made after setVars() has been called.
-