Retrieves the Cluster ID for the given cluster.
OrientDB uses two systems to identify clusters. The first is the Cluster ID, which is represented by the first set of digits in a Record ID. The second is the logical cluster name. Using this method, you can retrieve the Cluster ID for the given cluster name. If you have the Cluster ID already and want the cluster name, use the
int ODatabaseDocument().getClusterIdByName(String name)
||Defines the cluster name|
This method returns an
int value, which corresponds to the Cluster ID of the given cluster.