文章标题
2016-10-25 15:43
232 查看
Create Timeseries
CREATE TIMESERIES timeseries WITH propertyClauses;
timeseries:= ROOT DOT deviceType nodes DOT device DOT sensor;
propertyClauses:= DATATYPE=propertyValue,ENCODING=propertyValue (,propertyClause)*;
propertyClause:= propertyName=propertyValue;
propertyName:=identifier;
propertyValue:=identifier;
nodes:=(DOT identifier)*
deviceType:=identifier
device:=identifier
sensor:=identifier
Delete Timeseries
DELETE TIMESERIES timeseries;
timeseries:= ROOT DOT deviceType nodes DOT device DOT sensor;
nodes:=(DOT identifier)*
deviceType:=identifier
device:=identifier
sensor:=identifier
Set File Level
SET FILELEVEL TO number;
number:=(DIGIT)+
Add a Property Tree
CREATE PROPERTY property;
property:=identifier
Add a Label Property Tree
ADD LABEL label TO PROPERTY property;
label:=identifier
property:=identifier
Delete a Label From Property Tree
DELETE LABEL label FROM PROPERTY property;
label:=identifier
property:=identifier
Link Metedata Node To Property Tree
LINK timeseriesPath TO propertyPath;
timeseriesPath:=ROOT (DOT identifier)+
propertyPath:=property DOT label
property:=identifier
label:=identifier
Unlink Metadata Node From Property Tree
UNLINK timeseriesPath FROM propertyPath;
timeseriesPath:=ROOT (DOT identifier)+
propertyPath:=property DOT label
property:=identifier
label:=identifier
CREATE TIMESERIES timeseries WITH propertyClauses;
timeseries:= ROOT DOT deviceType nodes DOT device DOT sensor;
propertyClauses:= DATATYPE=propertyValue,ENCODING=propertyValue (,propertyClause)*;
propertyClause:= propertyName=propertyValue;
propertyName:=identifier;
propertyValue:=identifier;
nodes:=(DOT identifier)*
deviceType:=identifier
device:=identifier
sensor:=identifier
Delete Timeseries
DELETE TIMESERIES timeseries;
timeseries:= ROOT DOT deviceType nodes DOT device DOT sensor;
nodes:=(DOT identifier)*
deviceType:=identifier
device:=identifier
sensor:=identifier
Set File Level
SET FILELEVEL TO number;
number:=(DIGIT)+
Add a Property Tree
CREATE PROPERTY property;
property:=identifier
Add a Label Property Tree
ADD LABEL label TO PROPERTY property;
label:=identifier
property:=identifier
Delete a Label From Property Tree
DELETE LABEL label FROM PROPERTY property;
label:=identifier
property:=identifier
Link Metedata Node To Property Tree
LINK timeseriesPath TO propertyPath;
timeseriesPath:=ROOT (DOT identifier)+
propertyPath:=property DOT label
property:=identifier
label:=identifier
Unlink Metadata Node From Property Tree
UNLINK timeseriesPath FROM propertyPath;
timeseriesPath:=ROOT (DOT identifier)+
propertyPath:=property DOT label
property:=identifier
label:=identifier