influxdata / influxdata/influxdb-java
Point should have accessor for time
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 469
- PR merge metrics
- No merged PRs in 30d
Description
Point carries information about time instant, but offers no way to access it (which is sometimes needed).
Otherwise, we need to wrap Points with time information, thus, duplicating it.
Proposed method signature:
public Instant utcTime() {
// return based upon time value and precision
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Point class and inspect how it stores its time value and precision. Add the proposed utcTime() accessor so callers can obtain the represented Instant without wrapping the Point. Done means the accessor reflects the stored time and precision; add or update coverage if the repository has Point tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design, databases
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100