public interface OSchema
int countClasses()
void dropClass(String iClassName)
<RET extends ODocumentWrapper> RET reload()
boolean existsClass(String iClassName)
OClass getClass(String iClassName)
If the class is not configured and the database has an entity manager with the requested class as registered, then creates a schema class for it at the fly.
If the database nor the entity manager have not registered class with specified name, returns null.
iClassName
- Name of the class to retrieveCollection<OClass> getClasses()
@Deprecated void create()
@Deprecated int getVersion()
ORID getIdentity()
@Deprecated <RET extends ODocumentWrapper> RET save()
Set<OClass> getClassesRelyOnCluster(String iClusterName)
iClusterName
- Cluster nameOClass getClassByClusterId(int clusterId)
OGlobalProperty getGlobalPropertyById(int id)
List<OGlobalProperty> getGlobalProperties()
OGlobalProperty createGlobalProperty(String name, OType type, Integer id)
OClusterSelectionFactory getClusterSelectionFactory()
OImmutableSchema makeSnapshot()
Copyright © 2009–2020 OrientDB. All rights reserved.