getCatalogsByCluster

Syntax

getCatalogsByCluster(clusterName)

Details

Return all catalogs in the specified cluster. This function can only be executed by an administrator on the MoM (Master of Masters) cluster.

Parameters

clusterName is a STRING scalar or vector, indicating the cluster name(s).

Returns

A STRING vector.

Examples

// MoMSender cluster:
createCatalog("catalog1")
createCatalog("catalog2")
createCatalog("catalog3")
createCatalog("catalog4")
   
// MoM cluster:
getCatalogsByCluster("MoMSender")
// Output: ["catalog1","catalog2","catalog3","catalog4"]