Module org.apache.jena.querybuilder
Class DatasetHandler
java.lang.Object
org.apache.jena.arq.querybuilder.handlers.DatasetHandler
- All Implemented Interfaces:
Handler
Handler for a dataset.
-
Constructor Summary
-
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 one or more graph names to the query.void
Add one or more named graphs to the query.void
Set the values for variables managed by the handler implementation.
-
Constructor Details
-
DatasetHandler
public DatasetHandler(org.apache.jena.query.Query query) 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 one or more named graphs to the query. ifgraphName
is acollection
or an array each element in the -
from
Add one or more graph names to the query. ifgraphName
is acollection
or an array each element in the -
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.
-