Created
September 12, 2012 20:23
-
-
Save giastfader/3709615 to your computer and use it in GitHub Desktop.
OrientDB: obtain the list of defined classes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OGraphDatabase db = OGraphDatabase ((ODatabaseRecordTx)ODatabaseRecordThreadLocal.INSTANCE.get()); | |
| Collection<OClass> classes; | |
| classes = db.getMetadata().getSchema().getClasses(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment