|
| __construct (array $options) |
|
| queryRaw ($query, ?string $org=null, ?Dialect $dialect=null) |
|
| query ($query, ?string $org=null, ?Dialect $dialect=null) |
|
| queryStream ($query, ?string $org=null, ?Dialect $dialect=null) |
|
| post ($payload, $uriPath, $queryParams) |
|
| get ($payload, $uriPath, $queryParams) |
|
| configuredClient (ClientInterface $client) |
|
| createRequest (string $method, string $uriPath, string $payload, array $headers, array $queryParams) |
|
| sendRequest (RequestInterface $request) |
|
|
static | log (string $level, string $message, array $options) |
|
| $options |
|
| $http |
|
| check ($key, $value) |
|
◆ __construct()
InfluxDB2\QueryApi::__construct |
( |
array | $options | ) |
|
◆ query()
InfluxDB2\QueryApi::query |
( |
| $query, |
|
|
?string | $org = null, |
|
|
?Dialect | $dialect = null ) |
Executes the Flux query against the InfluxDB 2.x and synchronously map the whole response to FluxTable[] NOTE: This method is not intended for large query results.
- Parameters
-
string | Query | $query | |
string | null | $org | |
Dialect | null | $dialect | |
- Returns
- FluxTable[]
◆ queryRaw()
InfluxDB2\QueryApi::queryRaw |
( |
| $query, |
|
|
?string | $org = null, |
|
|
?Dialect | $dialect = null ) |
Executes the Flux query and returns the unparsed raw result
- Parameters
-
string | Query | $query | flux query to execute. The data could be represent by string, Query |
string | null | $org | specifies the source organization |
Dialect | null | $dialect | csv dialect |
- Returns
- string
◆ queryStream()
InfluxDB2\QueryApi::queryStream |
( |
| $query, |
|
|
?string | $org = null, |
|
|
?Dialect | $dialect = null ) |
Executes the Flux query against the InfluxDB 2.x and returns generator to stream the result.
- Parameters
-
string | Query | $query | |
string | null | $org | |
Dialect | null | $dialect | |
- Returns
- FluxCsvParser generator
The documentation for this class was generated from the following file:
- src/InfluxDB2/QueryApi.php