-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add a RecordCursor that flattens recursive cursors from previously returned items #2859
base: main
Are you sure you want to change the base?
Conversation
* @param rootCursorFunction a function that given a continuation or {@code null} returns the children of the root | ||
* @param childCursorFunction a function that given a value and a continuation returns the children of that level |
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.
This is more like START WITH ... CONNECT BY
than a recursive CTE, but it should be possible for planning to recognize common cases of the latter adaptable to the former.
|
||
/** | ||
* Get the depth for a recursive result. | ||
* @return the 1-based depth from the root of the given result |
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.
Like the LEVEL
pseudocolumn.
|
||
/** | ||
* Get whether a recursive result has any descendants. | ||
* @return {@code true} if the given result is a leaf, {@code false} if it has any descendants |
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.
Like the CONNECT_BY_ISLEAF
pseudocolumn.
64467ba
to
e5c435f
Compare
0f17037
to
872df02
Compare
Result of fdb-record-layer-pr on Linux CentOS 7
|
dca14bf
to
c4c9eb4
Compare
Result of fdb-record-layer-pr on Linux CentOS 7
|
c4c9eb4
to
94ec9c8
Compare
Result of fdb-record-layer-pr on Linux CentOS 7
|
94ec9c8
to
af6a2d0
Compare
Result of fdb-record-layer-pr on Linux CentOS 7
|
No description provided.