Implementation detailsΒΆ
Since InfluxDB exposes all its functionality through an HTTP
API,
InfluxDBClient
tries to be nothing more
than a thin and simple wrapper around that API.
The InfluxDB HTTP API exposes exactly three endpoints/functions:
ping()
,
write()
and
query()
.
InfluxDBClient
merely wraps these three functions and provides
some parsing functionality for generating line protocol data (when
writing) and parsing JSON responses (when querying).