-
Notifications
You must be signed in to change notification settings - Fork 73
[feat] ppl #1770
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
base: main
Are you sure you want to change the base?
[feat] ppl #1770
Conversation
setup nix for idx
…uandy/PipelineResult
pipeline result
# Conflicts: # README.md # google-cloud-firestore/pom.xml # google-cloud-firestore/src/main/java/com/google/cloud/firestore/AggregateQuery.java # google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java # proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
…vaPplPP # Conflicts: # README.md
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.
Thanks for the suggestions!
google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java
Outdated
Show resolved
Hide resolved
* }</pre> | ||
*/ | ||
@BetaApi | ||
public final class Pipeline { |
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.
Thanks, that PR looks very helpful.
} | ||
if (response.getResultsCount() > 0) { | ||
numDocuments += response.getResultsCount(); | ||
if (numDocuments % 100 == 0) { |
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.
Yeah, copy/paste from query does not work for pipeline here.
...-cloud-firestore/src/main/java/com/google/cloud/firestore/pipeline/expressions/Constant.java
Outdated
Show resolved
Hide resolved
* @return A new {@code Expr} representing the addition operation. | ||
*/ | ||
@BetaApi | ||
default Add add(Object other) { |
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.
I don't think this is a problem. Constant.of should take care of the type inspection?
...-cloud-firestore/src/main/java/com/google/cloud/firestore/pipeline/expressions/Function.java
Outdated
Show resolved
Hide resolved
google-cloud-firestore/src/main/java/com/google/cloud/firestore/pipeline/stages/Stage.java
Show resolved
Hide resolved
# Conflicts: # google-cloud-firestore/src/main/java/com/google/cloud/firestore/Pipeline.java
* Implement new stages. * Replace toList() with older languages feature. * Pretty * Pretty * Comment out under development API surface * Pretty
* Refactor pipelines * Pretty * Simplify
* Refactor * Cleanup
* Incomplete prototyping of pipeline options * Incomplete prototyping of pipeline options * Incomplete prototyping of pipeline options * Incomplete prototyping of pipeline options * Changes from feedback * Expand example and fix. * Comments --------- Co-authored-by: wu-hui <[email protected]>
9b73345
to
d57f777
Compare
No description provided.