Package org.aksw.facete.v3.api
Interface TreeQueryNode
- All Superinterfaces:
HasFacetPath
- All Known Implementing Classes:
TreeQueryNodeImpl
A node in a tree structure from which
FacetPath instances are derived.
The underlying tree structure can be modified which may change the result of HasFacetPath.getFacetPath().
The typical transformation is rotating the tree such that another node becomes its root using chRoot().
Instances of this class can be wrapped as Jena Nodes using NodeFacetPath which allows them to use in expressions.-
Method Summary
Modifier and TypeMethodDescriptionvoidchRoot()Rotate the tree such that this node becomes its root.getOrCreateChild(FacetStep facetStep) getTree()Resolves a path, calls getOrCreateChild on nodes as neededMethods inherited from interface org.aksw.jenax.path.core.HasFacetPath
getFacetPath
-
Method Details
-
getTree
TreeQuery getTree() -
chRoot
void chRoot()Rotate the tree such that this node becomes its root. This means, that if this node has a parent then it will become a child of this node. -
reachingStep
FacetStep reachingStep() -
getParent
TreeQueryNode getParent() -
getOrCreateChild
-
resolve
Resolves a path, calls getOrCreateChild on nodes as needed
-