Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OCluster - getName()

Retrieves the logical name of the cluster.

Retrieving the Cluster Name

When you create a cluster on a database, OrientDB uses two reference values to identify it later: an integer that represents the Cluster ID and a string that provides its logical name. Using this method you can retrieve the logical name for the cluster.

Syntax

String OCluster().getName()

Return Value

This method returns a String value that provides the logical name for the cluster.