You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [BEAM-8376] Google Cloud Firestore Connector - Add Firestore v1 Read Operations
Entry point for accessing Firestore V1 read methods is `FirestoreIO.v1().read()`.
Currently supported read RPC methods:
* `PartitionQuery`
* `RunQuery`
* `ListCollectionIds`
* `ListDocuments`
* `BatchGetDocuments`
### Unit Tests
No external dependencies are needed for this suite
A large suite of unit tests have been added to cover most branches and error
scenarios in the various components. Test for input validation and bounds
checking are also included in this suite.
### Integration Tests
Integration tests for each type of RPC is present in
`org.apache.beam.sdk.io.gcp.firestore.it.FirestoreV1IT`. All of these tests
leverage `TestPipeline` and verify the expected Documents/Collections are all
operated on during the test.
* fix failing nullability check for cursor comparator
* fix @nullable imports
* fix typo
* throw exception upon failing to determine restart point for batch get
* add unit test for org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.PartitionQuery.PartitionQueryResponseToRunQueryRequest.processElement
* javadoc typo fixes from review
* Explicitly set Client built in retry to max 1 attempt since we're taking care of all retry logic at a higher level
* Clean up names of DoFn base classes to make them more accurate
* rename FirestoreV1Fn -> FirestoreV1RpcAttemptContexts
* restructure javadocs a big to keep context close to code samples
* decouple partition query from run query
it can be advantageous to allow a customer to perform some post processing of a query before executing it. By decoupling PartitionQuery from directly outputting to RunQuery this is easily possible.
* Add todo to jira issues for query integration improvements
* spotless
* fix incorrect nullable annotation
Copy file name to clipboardExpand all lines: sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/firestore/FirestoreStatefulComponentFactory.java
0 commit comments