public abstract static class MultiplePath2GCRootsQuery.Tree extends Object implements IResultTree
Modifier and Type | Method and Description |
---|---|
List<?> |
getChildren(Object parent)
Returns the child elements of the given parent.
|
List<?> |
getElements()
Returns the root elements of the tree.
|
abstract MultiplePath2GCRootsQuery.Grouping |
getGroupedBy() |
ResultMetaData |
getResultMetaData()
(Optionally) Return meta data of the result needed to fine-tune the
display of the result.
|
MultiplePath2GCRootsQuery.Tree |
groupBy(MultiplePath2GCRootsQuery.Grouping groupBy) |
boolean |
hasChildren(Object element)
Returns whether the given element has children.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumns, getColumnValue, getContext
public ResultMetaData getResultMetaData()
IResult
getResultMetaData
in interface IResult
public List<?> getElements()
IResultTree
getElements
in interface IResultTree
IResultTree.getChildren(Object)
or
IStructuredResult.getContext(Object)
or
IStructuredResult.getColumnValue(Object, int)
.public boolean hasChildren(Object element)
IResultTree
hasChildren
in interface IResultTree
element
- the opaque object used to indicate which branchpublic List<?> getChildren(Object parent)
IResultTree
getChildren
in interface IResultTree
parent
- The row object as returned by the
IResultTree.getElements()
or
IResultTree.getChildren(Object)
methods.public abstract MultiplePath2GCRootsQuery.Grouping getGroupedBy()
public MultiplePath2GCRootsQuery.Tree groupBy(MultiplePath2GCRootsQuery.Grouping groupBy)