Loading

PARSESELECTOR


gts
Since v1.0.0
Available on all platforms
See also

The PARSESELECTOR function parses a GTS Selector (string) and pushes the class selector and labels selector on the stack.

Combined with TOSELECTOR, it can be used to build a selector from a subset of GTS.

[
  'READ_TOKEN'
  'io.senx.tutorial.sensors.temperature'
  { 'sensorId' '=01' }
  '2014-01-05T00:00:00.000Z'
  '2014-01-05T23:59:59.999Z'
]
FETCH

This can be used to simplify the syntax of a FETCH or FIND request.

[
  'READ_TOKEN'
  'io.senx.tutorial.sensors.temperature{sensorId=01}' PARSESELECTOR
  '2014-01-05T00:00:00.000Z'
  '2014-01-05T23:59:59.999Z'
]

FETCH

Signature

Examples

'io.senx.tutorial.sensors.temperature{sensorId=01,sensortype~numeric.*}' PARSESELECTOR