Interface used to store database metadata, such as the function library, schema and security.

Using OMetadata

OrientDB stores metadata on the database. You can retrieve it from ODatabaseSession or ODatabaseDocument using the getMetadata() method. In order to use it in your code, you also need to import the class where relevant.

import com.orientechnologies.orient.core.metadata.OMetadata;


Method Return Type Description
getFunctionLibrary() OFunctionLibrary Retrieves the database function library
getSchema() OSchema Retrieves the database schema

results matching ""

    No results matching ""