Uses of Class
nz.co.gregs.dbvolution.query.TreeNode
-
Packages that use TreeNode Package Description nz.co.gregs.dbvolution nz.co.gregs.dbvolution.query Internal API plus QueryGraph. -
-
Uses of TreeNode in nz.co.gregs.dbvolution
Methods in nz.co.gregs.dbvolution that return types with arguments of type TreeNode Modifier and Type Method Description List<TreeNode<T>>
DBRecursiveQuery. getPathsToRoot()
Creates a List of paths (actually non-branching trees) from the rows returned by this query to a root node of the example table by repeatedly following the recursive foreign key provided.List<TreeNode<T>>
DBRecursiveQuery. getTrees()
Creates a list of trees from the rows returned by this query to to the leaf nodes of the example table by repeatedly following the recursive foreign key provided. -
Uses of TreeNode in nz.co.gregs.dbvolution.query
Methods in nz.co.gregs.dbvolution.query that return TreeNode Modifier and Type Method Description TreeNode<T>
TreeNode. getParent()
Retrieves the node that is the parent of this node.Methods in nz.co.gregs.dbvolution.query that return types with arguments of type TreeNode Modifier and Type Method Description List<TreeNode<T>>
TreeNode. getChildren()
Returns a list of all known children of this node, that is all database rows returned by the recursive query that referenced this row.Methods in nz.co.gregs.dbvolution.query with parameters of type TreeNode Modifier and Type Method Description void
TreeNode. addChild(TreeNode<T> child)
Append the supplied DBRow to the list of children for this node.Constructors in nz.co.gregs.dbvolution.query with parameters of type TreeNode Constructor Description TreeNode(T data, TreeNode<T> parent)
Create a new node the contains the specified DBRow as the data, and the specified TreeNode as the parent of the node.
-