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


search: keywords: ['java', 'oschema', 'getclass']

OSchema - getClass()

Retrieves the class 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 the given class from the schema.

Syntax

OClass OSchema().getClass(String class)
ArgumentTypeDescription
classStringDefines name of class you want to get

Return Type

This method returns the request OClass instance.