-
Notifications
You must be signed in to change notification settings - Fork 160
Demonstrate custom logic for Tree Tables #393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demonstrate custom logic for Tree Tables #393
Conversation
|
|
| List<Integer> ids = ghs.stream().map(gh -> gh.getNodeId()).toList(); | ||
| Set<Integer> parents = ghs.stream().map(gh -> gh.getParentId()).filter(p -> p != 0).collect(Collectors.toSet()); | ||
| CqnSelect q = Select.from(GENRE_HIERARCHY, gh -> gh.parent()).columns(gh -> gh.node_id()) | ||
| CqnSelect q = Select.from(AdminService_.GENRE_HIERARCHY, gh -> gh.parent()).columns(gh -> gh.node_id()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or use a static import for AdminService_.GENRE_HIERARCHY
agoerler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just stick with the push/pop method names.
Custom handler for non-HANA DBs.