Package org.aksw.jena_sparql_api.views
Class ViewInstance<T extends IViewDef>
java.lang.Object
org.aksw.jena_sparql_api.views.ViewInstance<T>
View instances relate variables (usually those of of a
SPARQL query subject to rewriting) to the variables and
constants of a view.
A view instance is comprised of
- A view definition
- A binding, which relates query variables to variables of the view and constants
TODO View instances should implement a common interface with mappings
- Author:
- Claus Stadler <cstadler@informatik.uni-leipzig.de>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDefinitionsForViewVariable(org.apache.jena.sparql.core.Var viewVar) Convenience getter.Convenience getter.inthashCode()toString()Returns for a query variable the set of definitions that is indirectly associated with it via the binding
-
Constructor Details
-
ViewInstance
-
-
Method Details
-
getViewDefinition
-
getBinding
-
getDefinitionsForViewVariable
Convenience getter. Returns the set of definitions associated with a view variable.- Parameters:
viewVar-- Returns:
-
getVarDefinition
Convenience getter. Returns the variable definitions underlying this instance.- Returns:
-
toString
Returns for a query variable the set of definitions that is indirectly associated with it via the binding -
hashCode
public int hashCode() -
equals
-