“48c0684ed58d6aa113e8b4095c9d01347907aa69”上不存在“tests/pytest/insert/unsigenedBigint.py”
提交 2a3b9795 编写于 作者: W wusongqing

update docs against 6841

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 0b94732a
# Obtaining Process Information # Obtaining Process Information
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** > **NOTE**
>
> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version. > The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
...@@ -409,7 +410,7 @@ This is a system API and cannot be called by third-party applications. ...@@ -409,7 +410,7 @@ This is a system API and cannot be called by third-party applications.
| Name| Type| Mandatory| Description| | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| timeout | number | No| Maximum running time (in ms) of the child process. When the running time of the child process exceeds the value of this parameter, the parent process sends a **killSignal** to the child process to terminate it. The default value is **0**.| | timeout | number | No| Maximum running time (in ms) of the child process. When the running time of the child process exceeds the value of this parameter, the parent process sends a **killSignal** to the child process to terminate it. The default value is **0**.|
| killSignal | number&nbsp;&nbsp;\|&nbsp;string | No| Signal sent to the child process when the running time of a child process exceeds the timeout period. The default value is **SIGTERM**.| | killSignal | number \| string | No| Signal sent to the child process when the running time of a child process exceeds the timeout period. The default value is **SIGTERM**.|
| maxBuffer | number | No| Maximum buffer size for the standard input and output of the child process. When the size is exceeded, the child process will be terminated. The default value is **1024 \* 1024**.| | maxBuffer | number | No| Maximum buffer size for the standard input and output of the child process. When the size is exceeded, the child process will be terminated. The default value is **1024 \* 1024**.|
**Return value** **Return value**
......
# URL String Parsing # URL String Parsing
> **NOTE**<br> > **NOTE**
>
> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version. > The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
...@@ -25,7 +26,7 @@ Creates a **URLSearchParams** instance. ...@@ -25,7 +26,7 @@ Creates a **URLSearchParams** instance.
| Name| Type| Mandatory| Description| | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| init | string[][]&nbsp;\|&nbsp;Record&lt;string,&nbsp;string&gt;&nbsp;\|&nbsp;string&nbsp;\|&nbsp;URLSearchParams | No| Input parameter objects, which include the following:<br>- **string[][]**: two-dimensional string array<br>-&nbsp;**Record&lt;string,&nbsp;string&gt;**: list of objects<br>- **string**: string<br>- **URLSearchParams**: object | | init | string[][]&nbsp;\|&nbsp;Record&lt;string,&nbsp;string&gt;&nbsp;\|&nbsp;string&nbsp;\|&nbsp;URLSearchParams | No| Input parameter objects, which include the following:<br>- **string[][]**: two-dimensional string array<br>- **Record&lt;string,&nbsp;string&gt;**: list of objects<br>- **string**: string<br>- **URLSearchParams**: object|
**Example** **Example**
...@@ -48,10 +49,10 @@ Appends a key-value pair into the query string. ...@@ -48,10 +49,10 @@ Appends a key-value pair into the query string.
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| name | string | Yes | Key of the key-value pair to append. | | name | string | Yes| Key of the key-value pair to append.|
| value | string | Yes | Value of the key-value pair to append. | | value | string | Yes| Value of the key-value pair to append.|
**Example** **Example**
...@@ -72,9 +73,9 @@ Deletes key-value pairs of the specified key. ...@@ -72,9 +73,9 @@ Deletes key-value pairs of the specified key.
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| name | string | Yes | Key of the key-value pairs to delete. | | name | string | Yes| Key of the key-value pairs to delete.|
**Example** **Example**
...@@ -95,15 +96,15 @@ Obtains all the key-value pairs based on the specified key. ...@@ -95,15 +96,15 @@ Obtains all the key-value pairs based on the specified key.
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| name | string | Yes | Key specified to obtain all key-value pairs. | | name | string | Yes| Key specified to obtain all key-value pairs.|
**Return value** **Return value**
| Type | Description | | Type| Description|
| -------- | -------- | | -------- | -------- |
| string[] | All key-value pairs matching the specified key. | | string[] | All key-value pairs matching the specified key.|
**Example** **Example**
...@@ -125,9 +126,9 @@ Obtains an ES6 iterator. Each item of the iterator is a JavaScript array, and th ...@@ -125,9 +126,9 @@ Obtains an ES6 iterator. Each item of the iterator is a JavaScript array, and th
**Return value** **Return value**
| Type | Description | | Type| Description|
| -------- | -------- | | -------- | -------- |
| IterableIterator&lt;[string,&nbsp;string]&gt; | ES6 iterator. | | IterableIterator&lt;[string,&nbsp;string]&gt; | ES6 iterator.|
**Example** **Example**
...@@ -149,18 +150,18 @@ Traverses the key-value pairs in the **URLSearchParams** instance by using a cal ...@@ -149,18 +150,18 @@ Traverses the key-value pairs in the **URLSearchParams** instance by using a cal
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| callbackfn | function | Yes | Callback invoked to traverse the key-value pairs in the **URLSearchParams** instance. | | callbackfn | function | Yes| Callback invoked to traverse the key-value pairs in the **URLSearchParams** instance.|
| thisArg | Object | No | Value to use when the callback is invoked. | | thisArg | Object | No| Value to use when the callback is invoked.|
**Table 1** callbackfn parameter description **Table 1** callbackfn parameter description
| Name | Type | Mandatory | Description | | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| value | string | Yes | Value that is currently traversed. | | value | string | Yes| Value that is currently traversed.|
| key | string | Yes | Key that is currently traversed. | | key | string | Yes| Key that is currently traversed.|
| searchParams | Object | Yes | Instance that invokes the **forEach** method. | | searchParams | Object | Yes| Instance that invokes the **forEach** method.|
**Example** **Example**
...@@ -182,16 +183,16 @@ Obtains the value of the first key-value pair based on the specified key. ...@@ -182,16 +183,16 @@ Obtains the value of the first key-value pair based on the specified key.
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| name | string | Yes | Key specified to obtain the value. | | name | string | Yes| Key specified to obtain the value.|
**Return value** **Return value**
| Type | Description | | Type| Description|
| -------- | -------- | | -------- | -------- |
| string | Returns the value of the first key-value pair if obtained. | | string | Returns the value of the first key-value pair if obtained.|
| null | Returns null if no value is obtained. | | null | Returns null if no value is obtained.|
**Example** **Example**
...@@ -212,15 +213,15 @@ Checks whether a key has a value. ...@@ -212,15 +213,15 @@ Checks whether a key has a value.
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| name | string | Yes | Key specified to search for its value. | | name | string | Yes| Key specified to search for its value.|
**Return value** **Return value**
| Type | Description | | Type| Description|
| -------- | -------- | | -------- | -------- |
| boolean | Returns **true** if the value exists; returns **false** otherwise. | | boolean | Returns **true** if the value exists; returns **false** otherwise.|
**Example** **Example**
...@@ -241,10 +242,10 @@ Sets the value for a key. If key-value pairs matching the specified key exist, t ...@@ -241,10 +242,10 @@ Sets the value for a key. If key-value pairs matching the specified key exist, t
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| name | string | Yes | Key of the value to set. | | name | string | Yes| Key of the value to set.|
| value | string | Yes | Value to set. | | value | string | Yes| Value to set.|
**Example** **Example**
...@@ -282,9 +283,9 @@ Obtains an ES6 iterator that contains the keys of all the key-value pairs. ...@@ -282,9 +283,9 @@ Obtains an ES6 iterator that contains the keys of all the key-value pairs.
**Return value** **Return value**
| Type | Description | | Type| Description|
| -------- | -------- | | -------- | -------- |
| IterableIterator&lt;string&gt; | ES6 iterator that contains the keys of all the key-value pairs. | | IterableIterator&lt;string&gt; | ES6 iterator that contains the keys of all the key-value pairs.|
**Example** **Example**
...@@ -306,9 +307,9 @@ Obtains an ES6 iterator that contains the values of all the key-value pairs. ...@@ -306,9 +307,9 @@ Obtains an ES6 iterator that contains the values of all the key-value pairs.
**Return value** **Return value**
| Type | Description | | Type| Description|
| -------- | -------- | | -------- | -------- |
| IterableIterator&lt;string&gt; | ES6 iterator that contains the values of all the key-value pairs. | | IterableIterator&lt;string&gt; | ES6 iterator that contains the values of all the key-value pairs.|
**Example** **Example**
...@@ -330,9 +331,9 @@ Obtains an ES6 iterator. Each item of the iterator is a JavaScript array, and th ...@@ -330,9 +331,9 @@ Obtains an ES6 iterator. Each item of the iterator is a JavaScript array, and th
**Return value** **Return value**
| Type | Description | | Type| Description|
| -------- | -------- | | -------- | -------- |
| IterableIterator&lt;[string,&nbsp;string]&gt; | ES6 iterator. | | IterableIterator&lt;[string,&nbsp;string]&gt; | ES6 iterator.|
**Example** **Example**
...@@ -354,9 +355,9 @@ Obtains search parameters that are serialized as a string and, if necessary, per ...@@ -354,9 +355,9 @@ Obtains search parameters that are serialized as a string and, if necessary, per
**Return value** **Return value**
| Type | Description | | Type| Description|
| -------- | -------- | | -------- | -------- |
| string | String of serialized search parameters, which is percent-encoded if necessary. | | string | String of serialized search parameters, which is percent-encoded if necessary.|
**Example** **Example**
...@@ -400,10 +401,10 @@ Creates a URL. ...@@ -400,10 +401,10 @@ Creates a URL.
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| url | string | Yes | Input object. | | url | string | Yes| Input object.|
| base | string&nbsp;\ |&nbsp;URL | No | Input parameter, which can be any of the following:<br>- **string**: string<br>- **URL**: string or object | | base | string&nbsp;\|&nbsp;URL | No| Input parameter, which can be any of the following:<br>- **string**: string<br>- **URL**: string or object|
**Example** **Example**
...@@ -433,9 +434,9 @@ Converts the parsed URL into a string. ...@@ -433,9 +434,9 @@ Converts the parsed URL into a string.
**Return value** **Return value**
| Type | Description | | Type| Description|
| -------- | -------- | | -------- | -------- |
| string | Website address in a serialized string. | | string | Website address in a serialized string.|
**Example** **Example**
...@@ -455,12 +456,12 @@ Converts the parsed URL into a JSON string. ...@@ -455,12 +456,12 @@ Converts the parsed URL into a JSON string.
**Return value** **Return value**
| Type | Description | | Type| Description|
| -------- | -------- | | -------- | -------- |
| string | Website address in a serialized string. | | string | Website address in a serialized string.|
**Example** **Example**
```js ```js
const url = new Url.URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da'); const url = new Url.URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da');
url.toJSON() url.toJSON()
``` ```
\ No newline at end of file
# XML Parsing and Generation # XML Parsing and Generation
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**<br> > **NOTE**
>
> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version. > The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册