influxdata / influxdata/influxdb-java

Point should have accessor for Tags and Fields

Open
#627 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.2k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

Currently Point class has only package-private accessors for getTags() and getFields(). Thus, it makes it very hard to test whether my data from POJO has been properly converted or used at all. The only option is to use lineProtocol() that returns a String in lineProtocol format, which I would need to parse to extract values to compare to what I have provided.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Point class and inspect its package-private getTags() and getFields() accessors. Done means callers outside the package can directly inspect tags and fields to verify POJO conversion without parsing the lineProtocol() result.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.