forked from google/android-fhir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Balance SQLite expression tree for logical operators (AND/OR) to lowe…
…r the depth (google#2565) * Modify toQueryString to chunk large list of ConditionParam https://stackoverflow.com/a/17032196 * Add test for condition params chunking and wrapping in brackets * Add support for chunkSize param in SearchDsl filters * Update workflow engine dependency to use latest * Refactor remove `chunkSize` parameter * Recursively bifurcate expression tree to reduce depth * Revert touched files not relevant for the PR * Refactor toQueryString * Update tests to include base cases for toQueryString * Refactor and update related test cases * Refactor test to make filter strict --------- Co-authored-by: Jing Tang <jingtang@google.com>
- Loading branch information
1 parent
3320691
commit 6977691
Showing
5 changed files
with
327 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.