Generic database select function.
Returns heartbeat associated with given node id in beat
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
type(beat_type), | intent(out) | :: | beat |
Returned beat type. |
||
character(len=*), | intent(in) | :: | node_id |
Node id. |
Returns log associated with given id in log
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
type(log_type), | intent(out) | :: | log |
Returned log data. |
||
character(len=*), | intent(in) | :: | log_id |
Log id. |
Returns node data associated with given id in node
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
type(node_type), | intent(out) | :: | node |
Returned node data. |
||
character(len=*), | intent(in) | :: | node_id |
Node id. |
Returns observation referenced by the given id from database.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
type(observ_type), | intent(out) | :: | observ |
Selected observation. |
||
character(len=*), | intent(in) | :: | observ_id |
Observation id (UUID). |
Returns sensor data associated with given sensor id from database.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
type(sensor_type), | intent(out) | :: | sensor |
Returned sensor data. |
||
character(len=*), | intent(in) | :: | sensor_id |
Sensor id. |
Returns target data associated with given target id from database.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
type(target_type), | intent(out) | :: | target |
Returned target data. |
||
character(len=*), | intent(in) | :: | target_id |
Target id. |