Свойство | Type | Description | |
---|---|---|---|
$fields | array | ||
$measurement | string | ||
$tags | array | ||
$timestamp | string |
Méthode | Description | |
---|---|---|
__construct ( string $measurement, float $value = null, array $tags = [], array $additionalFields = [], integer $timestamp = null ) | The timestamp is optional. If you do not specify a timestamp the server’s local timestamp will be used | |
__toString ( ) | ||
getFields ( ) : array | ||
getMeasurement ( ) : string | ||
getTags ( ) : array | ||
getTimestamp ( ) : string | ||
setFields ( array $fields ) | ||
setMeasurement ( string $measurement ) | ||
setTags ( array $tags ) | ||
setTimestamp ( string $timestamp ) |
Méthode | Description | |
---|---|---|
addSlashes ( string $value ) : string | Returns strings with space, comma, or equals sign characters backslashed per Influx write protocol syntax | |
arrayToString ( array $arr ) : string | ||
escapeCharacters ( array $arr, boolean $escapeValues ) : array | Escapes invalid characters in both the array key and optionally the array value | |
escapeFieldValue ( $value ) | * Returns string double-quoted and double-quotes escaped per Influx write protocol syntax | |
isValidTimeStamp ( integer $timestamp ) : boolean |