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', 'odatabasedocument', 'getmetadata']

ODatabaseDocument - getMetadata()

Retrieves the database metadata.

Retrieving Metadata

OrientDB stores general information, like the function library, schema and security information on an OMetadata instance of the database. Using this method, you can retrieve the metadata to read it or operate on it.

Syntax

OMetadata ODatabaseDocument().getMetadata()

Return Value

This method returns the OMetadata instance that corresponds to the current database.