OSchema - getClasses()

Retrieves the classes from the schema.

Getting Classes

OrientDB has the concept of class within the database, which represents a broad grouping of records, similar to the table in relational contexts. Internally, OrientDB represents a class as an OClass instance. Using this method you can retrieve a set of all the classes in the schema.

Syntax

Set<OClass> OSchema().getClasses()

Return Type

This method returns a Set of the given OClass instances in the schema.