getAllDBGranularity

Syntax

getAllDBGranularity()

Arguments

None

Details

This function can only be executed on a data node. It returns the chunk granularity of all databases on the current node.

Return value: 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