You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/UserGuide/Master/Tree/Basic-Concept/Operate-Metadata_apache.md
+53-1Lines changed: 53 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1011,7 +1011,59 @@ IoTDB> show timeseries where TAGS(tag1)='v1'
1011
1011
1012
1012
The above operations are supported for timeseries tag, attribute updates, etc.
1013
1013
1014
-
## Node Management
1014
+
## Path query
1015
+
1016
+
### Path
1017
+
1018
+
A `path` is an expression that conforms to the following constraints:
1019
+
1020
+
```sql
1021
+
path
1022
+
: nodeName ('.' nodeName)*
1023
+
;
1024
+
1025
+
nodeName
1026
+
: wildcard? identifier wildcard?
1027
+
| wildcard
1028
+
;
1029
+
1030
+
wildcard
1031
+
: '*'
1032
+
| '**'
1033
+
;
1034
+
```
1035
+
1036
+
### NodeName
1037
+
1038
+
- The parts of a path separated by `.` are called node names (`nodeName`).
1039
+
- For example, `root.a.b.c` is a path with a depth of 4 levels, where `root`, `a`, `b`, and `c` are all node names.
1040
+
1041
+
#### Constraints
1042
+
1043
+
-**Reserved keyword `root`**: `root` is a reserved keyword that is only allowed at the beginning of a path. If `root` appears in any other level, the system will fail to parse it and report an error.
1044
+
-**Character support**: Except for the first level (`root`), other levels support the following characters:
1045
+
- Letters (`a-z`, `A-Z`)
1046
+
- Digits (`0-9`)
1047
+
- Underscores (`_`)
1048
+
- UNICODE Chinese characters (`\u2E80` to `\u9FFF`)
1049
+
-**Case sensitivity**: On Windows systems, path node names in the database are case-insensitive. For example, `root.ln` and `root.LN` are considered the same path.
1050
+
1051
+
### Special Characters (Backquote)
1052
+
1053
+
If special characters (such as spaces or punctuation marks) are needed in a `nodeName`, you can enclose the node name in Backquote (`). For more information on the use of backticks, please refer to [Backquote](../SQL-Manual/Syntax-Rule.md#reverse-quotation-marks).
1054
+
1055
+
### Path Pattern
1056
+
1057
+
To make it more convenient and efficient to express multiple time series, IoTDB provides paths with wildcards `*` and `**`. Wildcards can appear in any level of a path.
1058
+
1059
+
-**Single-level wildcard (`\*`)**: Represents one level in a path.
1060
+
- For example, `root.vehicle.*.sensor1` represents paths with a depth of 4 levels, prefixed by `root.vehicle` and suffixed by `sensor1`.
1061
+
-**Multi-level wildcard (`\**`)**: Represents one or more levels (`*`+).
1062
+
- For example:
1063
+
-`root.vehicle.device1.**` represents all paths with a depth of 4 or more levels, prefixed by `root.vehicle.device1`.
1064
+
-`root.vehicle.**.sensor1` represents paths with a depth of 4 or more levels, prefixed by `root.vehicle` and suffixed by `sensor1`.
1065
+
1066
+
**Note**: `*` and `**` cannot be placed at the beginning of a path.
Copy file name to clipboardExpand all lines: src/UserGuide/Master/Tree/Basic-Concept/Operate-Metadata_timecho.md
+53-1Lines changed: 53 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1052,7 +1052,59 @@ IoTDB> show timeseries where TAGS(tag1)='v1'
1052
1052
1053
1053
The above operations are supported for timeseries tag, attribute updates, etc.
1054
1054
1055
-
## Node Management
1055
+
## Path query
1056
+
1057
+
### Path
1058
+
1059
+
A `path` is an expression that conforms to the following constraints:
1060
+
1061
+
```sql
1062
+
path
1063
+
: nodeName ('.' nodeName)*
1064
+
;
1065
+
1066
+
nodeName
1067
+
: wildcard? identifier wildcard?
1068
+
| wildcard
1069
+
;
1070
+
1071
+
wildcard
1072
+
: '*'
1073
+
| '**'
1074
+
;
1075
+
```
1076
+
1077
+
### NodeName
1078
+
1079
+
- The parts of a path separated by `.` are called node names (`nodeName`).
1080
+
- For example, `root.a.b.c` is a path with a depth of 4 levels, where `root`, `a`, `b`, and `c` are all node names.
1081
+
1082
+
#### Constraints
1083
+
1084
+
-**Reserved keyword `root`**: `root` is a reserved keyword that is only allowed at the beginning of a path. If `root` appears in any other level, the system will fail to parse it and report an error.
1085
+
-**Character support**: Except for the first level (`root`), other levels support the following characters:
1086
+
- Letters (`a-z`, `A-Z`)
1087
+
- Digits (`0-9`)
1088
+
- Underscores (`_`)
1089
+
- UNICODE Chinese characters (`\u2E80` to `\u9FFF`)
1090
+
-**Case sensitivity**: On Windows systems, path node names in the database are case-insensitive. For example, `root.ln` and `root.LN` are considered the same path.
1091
+
1092
+
### Special Characters (Backquote)
1093
+
1094
+
If special characters (such as spaces or punctuation marks) are needed in a `nodeName`, you can enclose the node name in Backquote (`). For more information on the use of backticks, please refer to [Backquote](../SQL-Manual/Syntax-Rule.md#reverse-quotation-marks).
1095
+
1096
+
### Path Pattern
1097
+
1098
+
To make it more convenient and efficient to express multiple time series, IoTDB provides paths with wildcards `*` and `**`. Wildcards can appear in any level of a path.
1099
+
1100
+
-**Single-level wildcard (`\*`)**: Represents one level in a path.
1101
+
- For example, `root.vehicle.*.sensor1` represents paths with a depth of 4 levels, prefixed by `root.vehicle` and suffixed by `sensor1`.
1102
+
-**Multi-level wildcard (`\**`)**: Represents one or more levels (`*`+).
1103
+
- For example:
1104
+
-`root.vehicle.device1.**` represents all paths with a depth of 4 or more levels, prefixed by `root.vehicle.device1`.
1105
+
-`root.vehicle.**.sensor1` represents paths with a depth of 4 or more levels, prefixed by `root.vehicle` and suffixed by `sensor1`.
1106
+
1107
+
**Note**: `*` and `**` cannot be placed at the beginning of a path.
Copy file name to clipboardExpand all lines: src/UserGuide/Master/Tree/Basic-Concept/Write-Delete-Data.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Writing a repeat timestamp covers the original timestamp data, which can be rega
31
31
32
32
### Use of INSERT Statements
33
33
34
-
The [INSERT SQL statement](../SQL-Manual/SQL-Manual.md#insert-data) statement is used to insert data into one or more specified timeseries created. For each point of data inserted, it consists of a [timestamp](../Background-knowledge/Data-Model-and-Terminology.md) and a sensor acquisition value (see [Data Type](../Background-knowledge/Data-Type.md)).
34
+
The [INSERT SQL statement](../SQL-Manual/SQL-Manual.md#insert-data) statement is used to insert data into one or more specified timeseries created. For each point of data inserted, it consists of a [timestamp](../Basic-Concept/Operate-Metadata.md) and a sensor acquisition value (see [Data Type](../Background-knowledge/Data-Type.md)).
35
35
36
36
**Schema-less writing**: When metadata is not defined, data can be directly written through an insert statement, and the required metadata will be automatically recognized and registered in the database, achieving automatic modeling.
37
37
@@ -244,7 +244,7 @@ delete from root.ln.wf02.wt02.status
244
244
245
245
### Delete Multiple Timeseries
246
246
247
-
If both the power supply status and hardware version of the ln group wf02 plant wt02 device before 2017-11-01 16:26:00 need to be deleted, [the prefix path with broader meaning or the path with star](../Background-knowledge/Data-Model-and-Terminology.md) can be used to delete the data. The SQL statement for this operation is:
247
+
If both the power supply status and hardware version of the ln group wf02 plant wt02 device before 2017-11-01 16:26:00 need to be deleted, [the prefix path with broader meaning or the path with star](../Basic-Concept/Operate-Metadata.md) can be used to delete the data. The SQL statement for this operation is:
Copy file name to clipboardExpand all lines: src/UserGuide/latest/Basic-Concept/Operate-Metadata_apache.md
+53-1Lines changed: 53 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1011,7 +1011,59 @@ IoTDB> show timeseries where TAGS(tag1)='v1'
1011
1011
1012
1012
The above operations are supported for timeseries tag, attribute updates, etc.
1013
1013
1014
-
## Node Management
1014
+
## Path query
1015
+
1016
+
### Path
1017
+
1018
+
A `path` is an expression that conforms to the following constraints:
1019
+
1020
+
```sql
1021
+
path
1022
+
: nodeName ('.' nodeName)*
1023
+
;
1024
+
1025
+
nodeName
1026
+
: wildcard? identifier wildcard?
1027
+
| wildcard
1028
+
;
1029
+
1030
+
wildcard
1031
+
: '*'
1032
+
| '**'
1033
+
;
1034
+
```
1035
+
1036
+
### NodeName
1037
+
1038
+
- The parts of a path separated by `.` are called node names (`nodeName`).
1039
+
- For example, `root.a.b.c` is a path with a depth of 4 levels, where `root`, `a`, `b`, and `c` are all node names.
1040
+
1041
+
#### Constraints
1042
+
1043
+
-**Reserved keyword `root`**: `root` is a reserved keyword that is only allowed at the beginning of a path. If `root` appears in any other level, the system will fail to parse it and report an error.
1044
+
-**Character support**: Except for the first level (`root`), other levels support the following characters:
1045
+
- Letters (`a-z`, `A-Z`)
1046
+
- Digits (`0-9`)
1047
+
- Underscores (`_`)
1048
+
- UNICODE Chinese characters (`\u2E80` to `\u9FFF`)
1049
+
-**Case sensitivity**: On Windows systems, path node names in the database are case-insensitive. For example, `root.ln` and `root.LN` are considered the same path.
1050
+
1051
+
### Special Characters (Backquote)
1052
+
1053
+
If special characters (such as spaces or punctuation marks) are needed in a `nodeName`, you can enclose the node name in Backquote (`). For more information on the use of backticks, please refer to [Backquote](../SQL-Manual/Syntax-Rule.md#reverse-quotation-marks).
1054
+
1055
+
### Path Pattern
1056
+
1057
+
To make it more convenient and efficient to express multiple time series, IoTDB provides paths with wildcards `*` and `**`. Wildcards can appear in any level of a path.
1058
+
1059
+
-**Single-level wildcard (`\*`)**: Represents one level in a path.
1060
+
- For example, `root.vehicle.*.sensor1` represents paths with a depth of 4 levels, prefixed by `root.vehicle` and suffixed by `sensor1`.
1061
+
-**Multi-level wildcard (`\**`)**: Represents one or more levels (`*`+).
1062
+
- For example:
1063
+
-`root.vehicle.device1.**` represents all paths with a depth of 4 or more levels, prefixed by `root.vehicle.device1`.
1064
+
-`root.vehicle.**.sensor1` represents paths with a depth of 4 or more levels, prefixed by `root.vehicle` and suffixed by `sensor1`.
1065
+
1066
+
**Note**: `*` and `**` cannot be placed at the beginning of a path.
Copy file name to clipboardExpand all lines: src/UserGuide/latest/Basic-Concept/Operate-Metadata_timecho.md
+53-1Lines changed: 53 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1052,7 +1052,59 @@ IoTDB> show timeseries where TAGS(tag1)='v1'
1052
1052
1053
1053
The above operations are supported for timeseries tag, attribute updates, etc.
1054
1054
1055
-
## Node Management
1055
+
## Path query
1056
+
1057
+
### Path
1058
+
1059
+
A `path` is an expression that conforms to the following constraints:
1060
+
1061
+
```sql
1062
+
path
1063
+
: nodeName ('.' nodeName)*
1064
+
;
1065
+
1066
+
nodeName
1067
+
: wildcard? identifier wildcard?
1068
+
| wildcard
1069
+
;
1070
+
1071
+
wildcard
1072
+
: '*'
1073
+
| '**'
1074
+
;
1075
+
```
1076
+
1077
+
### NodeName
1078
+
1079
+
- The parts of a path separated by `.` are called node names (`nodeName`).
1080
+
- For example, `root.a.b.c` is a path with a depth of 4 levels, where `root`, `a`, `b`, and `c` are all node names.
1081
+
1082
+
#### Constraints
1083
+
1084
+
-**Reserved keyword `root`**: `root` is a reserved keyword that is only allowed at the beginning of a path. If `root` appears in any other level, the system will fail to parse it and report an error.
1085
+
-**Character support**: Except for the first level (`root`), other levels support the following characters:
1086
+
- Letters (`a-z`, `A-Z`)
1087
+
- Digits (`0-9`)
1088
+
- Underscores (`_`)
1089
+
- UNICODE Chinese characters (`\u2E80` to `\u9FFF`)
1090
+
-**Case sensitivity**: On Windows systems, path node names in the database are case-insensitive. For example, `root.ln` and `root.LN` are considered the same path.
1091
+
1092
+
### Special Characters (Backquote)
1093
+
1094
+
If special characters (such as spaces or punctuation marks) are needed in a `nodeName`, you can enclose the node name in Backquote (`). For more information on the use of backticks, please refer to [Backquote](../SQL-Manual/Syntax-Rule.md#reverse-quotation-marks).
1095
+
1096
+
### Path Pattern
1097
+
1098
+
To make it more convenient and efficient to express multiple time series, IoTDB provides paths with wildcards `*` and `**`. Wildcards can appear in any level of a path.
1099
+
1100
+
-**Single-level wildcard (`\*`)**: Represents one level in a path.
1101
+
- For example, `root.vehicle.*.sensor1` represents paths with a depth of 4 levels, prefixed by `root.vehicle` and suffixed by `sensor1`.
1102
+
-**Multi-level wildcard (`\**`)**: Represents one or more levels (`*`+).
1103
+
- For example:
1104
+
-`root.vehicle.device1.**` represents all paths with a depth of 4 or more levels, prefixed by `root.vehicle.device1`.
1105
+
-`root.vehicle.**.sensor1` represents paths with a depth of 4 or more levels, prefixed by `root.vehicle` and suffixed by `sensor1`.
1106
+
1107
+
**Note**: `*` and `**` cannot be placed at the beginning of a path.
0 commit comments