-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
81 changed files
with
1,617 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
influxdb3-client.getfieldtypemissmatcherror._constructor_.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@influxdata/influxdb3-client](./influxdb3-client.md) > [GetFieldTypeMissmatchError](./influxdb3-client.getfieldtypemissmatcherror.md) > [(constructor)](./influxdb3-client.getfieldtypemissmatcherror._constructor_.md) | ||
|
||
## GetFieldTypeMissmatchError.(constructor) | ||
|
||
Constructs a new instance of the `GetFieldTypeMissmatchError` class | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
constructor(fieldName: string, expectedType: PointFieldType, actualType: PointFieldType); | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| fieldName | string | | | ||
| expectedType | [PointFieldType](./influxdb3-client.pointfieldtype.md) | | | ||
| actualType | [PointFieldType](./influxdb3-client.pointfieldtype.md) | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@influxdata/influxdb3-client](./influxdb3-client.md) > [GetFieldTypeMissmatchError](./influxdb3-client.getfieldtypemissmatcherror.md) | ||
|
||
## GetFieldTypeMissmatchError class | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
declare class GetFieldTypeMissmatchError extends Error | ||
``` | ||
**Extends:** Error | ||
## Constructors | ||
| Constructor | Modifiers | Description | | ||
| --- | --- | --- | | ||
| [(constructor)(fieldName, expectedType, actualType)](./influxdb3-client.getfieldtypemissmatcherror._constructor_.md) | | Constructs a new instance of the <code>GetFieldTypeMissmatchError</code> class | | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@influxdata/influxdb3-client](./influxdb3-client.md) > [InfluxDBClient](./influxdb3-client.influxdbclient.md) > [queryPoints](./influxdb3-client.influxdbclient.querypoints.md) | ||
|
||
## InfluxDBClient.queryPoints() method | ||
|
||
Execute a query and return the results as an async generator. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
queryPoints(query: string, database?: string, queryType?: QueryType): AsyncGenerator<PointValues, void, void>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| query | string | The query string. | | ||
| database | string | _(Optional)_ The name of the database to query. | | ||
| queryType | [QueryType](./influxdb3-client.querytype.md) | _(Optional)_ The type of query (default: 'sql'). | | ||
|
||
**Returns:** | ||
|
||
AsyncGenerator<[PointValues](./influxdb3-client.pointvalues.md)<!-- -->, void, void> | ||
|
||
An async generator that yields PointValues object. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@influxdata/influxdb3-client](./influxdb3-client.md) > [Point](./influxdb3-client.point.md) > [copy](./influxdb3-client.point.copy.md) | ||
|
||
## Point.copy() method | ||
|
||
Creates a copy of this object. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
copy(): Point; | ||
``` | ||
**Returns:** | ||
|
||
[Point](./influxdb3-client.point.md) | ||
|
||
A new instance with same values. | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@influxdata/influxdb3-client](./influxdb3-client.md) > [Point](./influxdb3-client.point.md) > [fromValues](./influxdb3-client.point.fromvalues.md) | ||
|
||
## Point.fromValues() method | ||
|
||
Creates new point from PointValues object. Can throw error if measurement missing. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
static fromValues(values: PointValues): Point; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| values | [PointValues](./influxdb3-client.pointvalues.md) | point values object with measurement | | ||
|
||
**Returns:** | ||
|
||
[Point](./influxdb3-client.point.md) | ||
|
||
new point from values | ||
|
||
## Exceptions | ||
|
||
missing measurement | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@influxdata/influxdb3-client](./influxdb3-client.md) > [Point](./influxdb3-client.point.md) > [getBooleanField](./influxdb3-client.point.getbooleanfield.md) | ||
|
||
## Point.getBooleanField() method | ||
|
||
Gets the boolean field value associated with the specified name. Throws if actual type of field with given name is not boolean. If the field is not present, returns undefined. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
getBooleanField(name: string): boolean | undefined; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| name | string | field name | | ||
|
||
**Returns:** | ||
|
||
boolean \| undefined | ||
|
||
The boolean field value or undefined. | ||
|
||
## Exceptions | ||
|
||
[GetFieldTypeMissmatchError](./influxdb3-client.getfieldtypemissmatcherror.md) Actual type of field doesn't match boolean type. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@influxdata/influxdb3-client](./influxdb3-client.md) > [Point](./influxdb3-client.point.md) > [getField](./influxdb3-client.point.getfield.md) | ||
|
||
## Point.getField() method | ||
|
||
Get field of numeric type. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
getField(name: string, type: 'float' | 'integer' | 'uinteger'): number | undefined; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| name | string | field name | | ||
| type | 'float' \| 'integer' \| 'uinteger' | field numeric type | | ||
|
||
**Returns:** | ||
|
||
number \| undefined | ||
|
||
this | ||
|
||
## Exceptions | ||
|
||
Field type doesn't match actual type | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@influxdata/influxdb3-client](./influxdb3-client.md) > [Point](./influxdb3-client.point.md) > [getField](./influxdb3-client.point.getfield_1.md) | ||
|
||
## Point.getField() method | ||
|
||
Get field of string type. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
getField(name: string, type: 'string'): string | undefined; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| name | string | field name | | ||
| type | 'string' | field string type | | ||
|
||
**Returns:** | ||
|
||
string \| undefined | ||
|
||
this | ||
|
||
## Exceptions | ||
|
||
Field type doesn't match actual type | ||
|
Oops, something went wrong.