Description
This type of objects provides unified APIs for accessing persistent data.
Method
Method Name | Description |
---|---|
Gets data. If ParaDataInfo exists, this method also returns ParaDataInfo. | |
Sets data. You can also set associated metadata. This method returns the new value and associated metadata information. | |
Increments the value corresponding to a key and returns the new value. | |
Updates the data corresponding to a key through a callback function. The callback function gets the current value and returns the new value based on the defined logic. The callback function cannot be paused once executed. | |
Deletes the data corresponding to a key. This method does not actually delete the data due to version management. Instead, it creates a "gravestone" version and returns the original data. | |
Gets the data of a specified version. If ParaDataInfo exists, this method also returns ParaDataInfo. | |
Permanently deletes the version of a specified key. The data cannot be restored once deleted. | |
Queries the version content of a specified key and returns the content in the order of version. | |
Pulls the key list according to the prefix and returns the ParaDataPages page object, through which data can be incrementally pulled by page. If the ParaDataPages.GetCurrentPage() API is called, it returns the key list of string type. | |
Pulls the value list according to the prefix and returns the ParaDataPages page object, through which data can be incrementally pulled by page. If the ParaDataPages.GetCurrentPage() API is called, it returns the value list of ParaDataInfo type. |