OSchema - countClasses()

Returns the number of classes in the schema.

Classes

OrientDB has the concept of class within the database, as defined by an OClass instance. Using this method, you can retrieve the number of classes created in the given schema.

Syntax

int OSchema().countClasses()

Return Type

This method returns an int instance, with a value representing the number of OClass instances created on the schema.