Description
It's possible to access hidden nodes by using the Tree/Root class.
Using something like
o.a.j.o.a.Root root = ...; Tree hidden = root.getTree("/oak:index/test-index/:index"); for(Tree t : hidden.getChildren()){ System.out.println(t); }
will dump something like
/oak:index/test-index/:index/value049: { :next = , test = { ... } } /oak:index/test-index/:index/value009: { :next = value010, test = { ... } } /oak:index/test-index/:index/value046: { :next = value047, test = { ... } } /oak:index/test-index/:index/value045: { :next = value046, test = { ... } }
Attachments
Issue Links
- relates to
-
OAK-1440 o.a.j.o.api.Tree.toString hits hidden nodes
- Closed