提交 76dd4a11 编写于 作者: R Ring-k 提交者: Jiang Tian

update doc on alter pw/create user/delete storage group (#499)

上级 04263bd2
......@@ -33,6 +33,15 @@ SET STORAGE GROUP TO <PrefixPath>
Eg: IoTDB > SET STORAGE GROUP TO root.ln.wf01.wt01
Note: PrefixPath can not include `*`
```
* 删除存储组
```
DELETE STORAGE GROUP <PrefixPath> [COMMA <PrefixPath>]*
Eg: IoTDB > DELETE STORAGE GROUP root.ln.wf01.wt01
Eg: IoTDB > DELETE STORAGE GROUP root.ln.wf01.wt01, root.ln.wf01.wt02
Note: PrefixPath can not include `*`
```
* 创建时间序列语句
```
......@@ -274,8 +283,8 @@ Note: <FillClause> can not use <LIMITClause> but not <SLIMITClause>.
```
CREATE USER <userName> <password>;
userName:=identifier
password:=identifier
Eg: IoTDB > CREATE USER thulab pwd;
password:=string
Eg: IoTDB > CREATE USER thulab 'pwd';
```
* 删除用户
......@@ -427,10 +436,10 @@ Eg: IoTDB > LIST ALL USER OF ROLE roleuser;
* 更新密码
```
UPDATE USER <username> SET PASSWORD <password>;
ALTER USER <username> SET PASSWORD <password>;
roleName:=identifier
password:=identifier
Eg: IoTDB > UPDATE USER tempuser SET PASSWORD newpwd;
password:=string
Eg: IoTDB > UPDATE USER tempuser SET PASSWORD 'newpwd';
```
### 功能
......
......@@ -41,6 +41,16 @@ SET STORAGE GROUP TO <PrefixPath>
Eg: IoTDB > SET STORAGE GROUP TO root.ln.wf01.wt01
Note: PrefixPath can not include `*`
```
* Delete Storage Group
```
DELETE STORAGE GROUP <PrefixPath> [COMMA <PrefixPath>]*
Eg: IoTDB > DELETE STORAGE GROUP root.ln.wf01.wt01
Eg: IoTDB > DELETE STORAGE GROUP root.ln.wf01.wt01, root.ln.wf01.wt02
Note: PrefixPath can not include `*`
```
* Create Timeseries Statement
```
......@@ -359,8 +369,8 @@ For example, "select s0,s0,s1 from root.sg.* group by device" is not equal to "s
```
CREATE USER <userName> <password>;
userName:=identifier
password:=identifier
Eg: IoTDB > CREATE USER thulab pwd;
password:=string
Eg: IoTDB > CREATE USER thulab 'pwd';
```
* Delete User
......@@ -509,13 +519,13 @@ roleName:=identifier
Eg: IoTDB > LIST ALL USER OF ROLE roleuser;
```
* Update Password
* Alter Password
```
UPDATE USER <username> SET PASSWORD <password>;
ALTER USER <username> SET PASSWORD <password>;
roleName:=identifier
password:=identifier
Eg: IoTDB > UPDATE USER tempuser SET PASSWORD newpwd;
password:=string
Eg: IoTDB > UPDATE USER tempuser SET PASSWORD 'newpwd';
```
### Functions
......
......@@ -33,7 +33,7 @@ import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
public class IOTDBFillIT {
public class IoTDBFillIT {
private static IoTDB daemon;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册