data_tools.query.FluxStatement#
- class data_tools.query.FluxStatement(statement: str, priority: int)#
Bases:
objectRepresent and construct a single Flux statement. such as
"filter(fn:(r) => r._field == "TotalPackVoltage").A FluxStatement is the atomic unit that can be composed into a FluxQuery, which is capable of querying our InfluxDB database.
- __init__(statement: str, priority: int)#
Methods
__init__(statement, priority)Attributes
The priority of this statement, which determines its position in a Flux query.
The canonical string representation of this Flux query.
- property priority: int#
The priority of this statement, which determines its position in a Flux query. Lower number indicates higher priority.
- property statement: str#
The canonical string representation of this Flux query.