InfluxDB PHP Client
Public Member Functions | Public Attributes | List of all members
InfluxDB2\FluxRecord Class Reference
Inheritance diagram for InfluxDB2\FluxRecord:

Public Member Functions

 __construct ($table, $values=null)
 
 getStart ()
 
 getStop ()
 
 getTime ()
 
 getValue ()
 
 getField ()
 
 getMeasurement ()
 
 offsetSet ($offset, $value)
 
 offsetExists ($offset)
 
 offsetUnset ($offset)
 
 offsetGet ($offset)
 

Public Attributes

 $table
 
 $values
 

Constructor & Destructor Documentation

◆ __construct()

InfluxDB2\FluxRecord::__construct (   $table,
  $values = null 
)

FluxRecord constructor.

Parameters
$tableint table index
$valuesarray array with record values, key is the column name

Member Function Documentation

◆ getField()

InfluxDB2\FluxRecord::getField ( )
Returns
mixed record value for column named '_field'

◆ getMeasurement()

InfluxDB2\FluxRecord::getMeasurement ( )
Returns
mixed record value for column named '_measurement'

◆ getStart()

InfluxDB2\FluxRecord::getStart ( )
Returns
mixed record value for column named '_start'

◆ getStop()

InfluxDB2\FluxRecord::getStop ( )
Returns
mixed record value for column named '_stop'

◆ getTime()

InfluxDB2\FluxRecord::getTime ( )
Returns
mixed record value for column named '_time'

◆ getValue()

InfluxDB2\FluxRecord::getValue ( )
Returns
mixed record value for column named '_value'

The documentation for this class was generated from the following file: