Package org.aksw.facete.v4.impl
Class MappedQuery
java.lang.Object
org.aksw.facete.v4.impl.MappedQuery
A query with information about which variable corresponds to which path
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.jena.query.Queryprotected TreeData<ScopedFacetPath>protected com.google.common.collect.BiMap<org.apache.jena.sparql.core.Var,ScopedFacetPath> These are the paths that have a corresponding variable in the query's projection -
Constructor Summary
ConstructorsConstructorDescriptionMappedQuery(TreeData<ScopedFacetPath> tree, org.apache.jena.query.Query query, com.google.common.collect.BiMap<org.apache.jena.sparql.core.Var, ScopedFacetPath> varToPath) -
Method Summary
Modifier and TypeMethodDescriptionMap<ScopedFacetPath,org.apache.jena.sparql.core.Var> org.apache.jena.query.QuerygetQuery()getTree()com.google.common.collect.BiMap<org.apache.jena.sparql.core.Var,ScopedFacetPath>
-
Field Details
-
query
protected org.apache.jena.query.Query query -
varToPath
protected com.google.common.collect.BiMap<org.apache.jena.sparql.core.Var,ScopedFacetPath> varToPathThese are the paths that have a corresponding variable in the query's projection -
tree
-
-
Constructor Details
-
MappedQuery
public MappedQuery(TreeData<ScopedFacetPath> tree, org.apache.jena.query.Query query, com.google.common.collect.BiMap<org.apache.jena.sparql.core.Var, ScopedFacetPath> varToPath)
-
-
Method Details
-
getTree
-
getVarToPath
public com.google.common.collect.BiMap<org.apache.jena.sparql.core.Var,ScopedFacetPath> getVarToPath() -
getPathToVar
-
getQuery
public org.apache.jena.query.Query getQuery()
-