InfluxDB PHP Client
|
Public Member Functions | |
__construct (DefaultApi $defaultApi) | |
getQuerySuggestions ($zap_trace_span=null) | |
getQuerySuggestionsWithHttpInfo ($zap_trace_span=null) | |
getQuerySuggestionsName ($name, $zap_trace_span=null) | |
getQuerySuggestionsNameWithHttpInfo ($name, $zap_trace_span=null) | |
postQuery ($zap_trace_span=null, $accept_encoding='identity', $content_type=null, $org=null, $org_id=null, $query=null) | |
postQueryWithHttpInfo ($zap_trace_span=null, $accept_encoding='identity', $content_type=null, $org=null, $org_id=null, $query=null) | |
postQueryAnalyze ($zap_trace_span=null, $content_type=null, $query=null) | |
postQueryAnalyzeWithHttpInfo ($zap_trace_span=null, $content_type=null, $query=null) | |
postQueryAst ($zap_trace_span=null, $content_type=null, $language_request=null) | |
postQueryAstWithHttpInfo ($zap_trace_span=null, $content_type=null, $language_request=null) | |
Protected Member Functions | |
getQuerySuggestionsRequest ($zap_trace_span=null) | |
getQuerySuggestionsNameRequest ($name, $zap_trace_span=null) | |
postQueryRequest ($zap_trace_span=null, $accept_encoding='identity', $content_type=null, $org=null, $org_id=null, $query=null) | |
postQueryAnalyzeRequest ($zap_trace_span=null, $content_type=null, $query=null) | |
postQueryAstRequest ($zap_trace_span=null, $content_type=null, $language_request=null) | |
Protected Attributes | |
$defaultApi | |
$headerSelector | |
InfluxDB2\Service\QueryService::__construct | ( | DefaultApi | $defaultApi | ) |
DefaultApi | $defaultApi | |
HeaderSelector | $selector |
InfluxDB2\Service\QueryService::getQuerySuggestions | ( | $zap_trace_span = null | ) |
Operation getQuerySuggestions
Retrieve Flux query suggestions
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\QueryService::getQuerySuggestionsName | ( | $name, | |
$zap_trace_span = null ) |
Operation getQuerySuggestionsName
Retrieve a query suggestion for a branching suggestion
string | $name | A Flux Function name. Only returns functions with this name. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'getQuerySuggestionsName'
string | $name | A Flux Function name. Only returns functions with this name. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InvalidArgumentException
InfluxDB2\Service\QueryService::getQuerySuggestionsNameWithHttpInfo | ( | $name, | |
$zap_trace_span = null ) |
Operation getQuerySuggestionsNameWithHttpInfo
Retrieve a query suggestion for a branching suggestion
string | $name | A Flux Function name. Only returns functions with this name. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'getQuerySuggestions'
string | $zap_trace_span | OpenTracing span context (optional) |
InvalidArgumentException
InfluxDB2\Service\QueryService::getQuerySuggestionsWithHttpInfo | ( | $zap_trace_span = null | ) |
Operation getQuerySuggestionsWithHttpInfo
Retrieve Flux query suggestions
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\QueryService::postQuery | ( | $zap_trace_span = null, | |
$accept_encoding = 'identity', | |||
$content_type = null, | |||
$org = null, | |||
$org_id = null, | |||
$query = null ) |
Operation postQuery
Query data
string | $zap_trace_span | OpenTracing span context (optional) |
string | $accept_encoding | The content encoding (usually a compression algorithm) that the client can understand. (optional, default to 'identity') |
string | $content_type | content_type (optional) |
string | $org | The name or ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. (optional) |
string | $org_id | The ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. (optional) |
\InfluxDB2\Model\Query | $query | Flux query or specification to execute (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\QueryService::postQueryAnalyze | ( | $zap_trace_span = null, | |
$content_type = null, | |||
$query = null ) |
Operation postQueryAnalyze
Analyze a Flux query
string | $zap_trace_span | OpenTracing span context (optional) |
string | $content_type | content_type (optional) |
\InfluxDB2\Model\Query | $query | Flux query to analyze (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'postQueryAnalyze'
string | $zap_trace_span | OpenTracing span context (optional) |
string | $content_type | (optional) |
\InfluxDB2\Model\Query | $query | Flux query to analyze (optional) |
InvalidArgumentException
InfluxDB2\Service\QueryService::postQueryAnalyzeWithHttpInfo | ( | $zap_trace_span = null, | |
$content_type = null, | |||
$query = null ) |
Operation postQueryAnalyzeWithHttpInfo
Analyze a Flux query
string | $zap_trace_span | OpenTracing span context (optional) |
string | $content_type | (optional) |
\InfluxDB2\Model\Query | $query | Flux query to analyze (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\QueryService::postQueryAst | ( | $zap_trace_span = null, | |
$content_type = null, | |||
$language_request = null ) |
Operation postQueryAst
Generate a query Abstract Syntax Tree (AST)
string | $zap_trace_span | OpenTracing span context (optional) |
string | $content_type | content_type (optional) |
\InfluxDB2\Model\LanguageRequest | $language_request | The Flux query to analyze. (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'postQueryAst'
string | $zap_trace_span | OpenTracing span context (optional) |
string | $content_type | (optional) |
\InfluxDB2\Model\LanguageRequest | $language_request | The Flux query to analyze. (optional) |
InvalidArgumentException
InfluxDB2\Service\QueryService::postQueryAstWithHttpInfo | ( | $zap_trace_span = null, | |
$content_type = null, | |||
$language_request = null ) |
Operation postQueryAstWithHttpInfo
Generate a query Abstract Syntax Tree (AST)
string | $zap_trace_span | OpenTracing span context (optional) |
string | $content_type | (optional) |
\InfluxDB2\Model\LanguageRequest | $language_request | The Flux query to analyze. (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'postQuery'
string | $zap_trace_span | OpenTracing span context (optional) |
string | $accept_encoding | The content encoding (usually a compression algorithm) that the client can understand. (optional, default to 'identity') |
string | $content_type | (optional) |
string | $org | The name or ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. (optional) |
string | $org_id | The ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. (optional) |
\InfluxDB2\Model\Query | $query | Flux query or specification to execute (optional) |
InvalidArgumentException
InfluxDB2\Service\QueryService::postQueryWithHttpInfo | ( | $zap_trace_span = null, | |
$accept_encoding = 'identity', | |||
$content_type = null, | |||
$org = null, | |||
$org_id = null, | |||
$query = null ) |
Operation postQueryWithHttpInfo
Query data
string | $zap_trace_span | OpenTracing span context (optional) |
string | $accept_encoding | The content encoding (usually a compression algorithm) that the client can understand. (optional, default to 'identity') |
string | $content_type | (optional) |
string | $org | The name or ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. (optional) |
string | $org_id | The ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. (optional) |
\InfluxDB2\Model\Query | $query | Flux query or specification to execute (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException