influxdata / influxdata/influxdb-java
Could you make add methods(getTags, getField) in Point Class?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 469
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I want to extract only the Tags and Fields in the failedPoints(Iterable) in the lower part and create them as a file.
influxDB.enableBatch(BatchOptions.DEFAULTS.exceptionHandler(
(failedPoints, throwable) -> { /* custom error handling here */ })
);
However, Point does not seem to be serialized(implements Serializable) so it can not be created file in object form(writeObject)
I want to directly extract the Iteralable my Tags and Fields and create it as a file.
Are there any plans to create public getTags and getFields methods in Point class?
(GetTags method should only add public access modifier.)
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 by locating the Point class and reviewing how its tags and fields are represented and accessed. Check any existing Point tests, then add the requested public accessors and verify that callers handling failedPoints can retrieve tags and fields for file creation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100