getAllDBGranularity
Syntax
getAllDBGranularity()
Details
This function can only be executed on a data node. It returns the chunk granularity of all databases on the current node.
Parameters
None
Returns
A dictionary, where
-
key: the database name;
-
value: the chunk granularity (TABLE or DATABASE). Refer to parameter chunkGranularity of function database for details.
Examples
getAllDBGranularity()
// output: /valuedb->TABLE
