Skip to content
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

DOCSP-42297: Time Series #78

Merged
merged 5 commits into from
Sep 10, 2024
Merged

Conversation

mcmorisi
Copy link
Collaborator

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-42297
Staging -

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?
  • Are the facets and meta keywords accurate?

Copy link

netlify bot commented Aug 20, 2024

Deploy Preview for docs-java-rs ready!

Name Link
🔨 Latest commit 55d7f6a
🔍 Latest deploy log https://app.netlify.com/sites/docs-java-rs/deploys/66e0430202f382000859118c
😎 Deploy Preview https://deploy-preview-78--docs-java-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@jordan-smith721 jordan-smith721 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! A couple suggestions but otherwise LGTM

:backlinks: none
:depth: 1
:class: singlecol

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add facets/meta tags

Comment on lines 66 to 67
object with the `TimeSeriesOptions <{+api+}/mongodb-driver-core/com/mongodb/client/model/TimeSeriesOptions.html>`__ set
using the ``timeSeriesOptions()`` method
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S: to avoid "using"

Suggested change
object with the `TimeSeriesOptions <{+api+}/mongodb-driver-core/com/mongodb/client/model/TimeSeriesOptions.html>`__ set
using the ``timeSeriesOptions()`` method
object with the `TimeSeriesOptions <{+api+}/mongodb-driver-core/com/mongodb/client/model/TimeSeriesOptions.html>`__ specified in the ``timeSeriesOptions()`` method

Example
~~~~~~~

This example creates the ``october2024`` time series collection in the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This example creates the ``october2024`` time series collection in the
The following example creates a time series collection named ``october2024`` in the

Comment on lines +114 to +115
Example
~~~~~~~
Copy link
Collaborator

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 header is needed here

Example
~~~~~~~

This example inserts New York City temperature data into the ``october2024``
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This example inserts New York City temperature data into the ``october2024``
The following example inserts New York City temperature data into the ``october2024``

@mcmorisi mcmorisi requested review from a team and vbabanin and removed request for a team August 21, 2024 14:20
@mcmorisi
Copy link
Collaborator Author

@vbabanin Bumping this review in case it fell through the cracks!

@vbabanin vbabanin requested review from a team and rozza and removed request for vbabanin and a team September 3, 2024 19:39
.append("location", "New York City")
.append("timestamp", new Date(1727841600000L));

collection.insertMany(Arrays.asList(temperature1, temperature2));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to subscribe to the publisher for the insert to happen.

Suggested change
collection.insertMany(Arrays.asList(temperature1, temperature2));
Publisher<InsertManyResult> insertPublisher = collection.insertMany(Arrays.asList(temperature1, temperature2));
Mono.from(insertPublisher).block();

@mcmorisi mcmorisi requested a review from rozza September 9, 2024 13:02
Copy link
Member

@rozza rozza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mcmorisi mcmorisi merged commit 2a6232a into mongodb:main Sep 10, 2024
4 of 5 checks passed
@mcmorisi mcmorisi deleted the DOCSP-42297-time-series branch September 10, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants