Class TypeCasting
Inherited Members
Namespace: InfluxDB3.Client.Internal
Assembly: InfluxDB3.Client.dll
Syntax
public class TypeCasting
Methods
GetMappedValue(Field, object?)
Function to cast value return based on metadata from InfluxDB.
Declaration
public static object? GetMappedValue(Field field, object? value)
Parameters
| Type | Name | Description |
|---|---|---|
| Field | field | The Field object from Arrow |
| object | value | The value to cast |
Returns
| Type | Description |
|---|---|
| object | The value with the correct type |
IsNumber(object?)
Declaration
public static bool IsNumber(object? value)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value |
Returns
| Type | Description |
|---|---|
| bool |