Skip to content

Is it impossible to get tag using 'InfluxDBResultMapper' with group by? #343

Closed
@ilias-y

Description

@ilias-y

Hi, InfluxDBResultMapper helps me to use influxdb-java.
But I wonder how to use tag in '@column(name="a", tag=true)'. I want to get the tags from QueryResult with toPOJO(). is it impossible to get the tags of series in QueryResult?

This is my QueryResult.
QueryResult [results=[Result [series=[Series [name=tb_network, tags={CARRIER=000/00, DEVICE_OS_VERSION=4.4.2}, columns=[time, median, min, max], values=[[1970-01-01T00:00:00Z, 233.8, 0.0, 3090744.0]]], Series [name=tb_network, tags={CARRIER=000/00, DEVICE_OS_VERSION=9.3.5}, columns=[time, median, min, max], values=[[1970-01-01T00:00:00Z, 552.0, 135.0, 267705.0]]]], error=null]], error=null]

I got the values but not the tags.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions