You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is Issue 901 moved from a Google Code project.
Added by 2012-06-19T16:20:25.000Z by odbu...@hotmail.com.
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Enhancement, Priority-Low
Original description
Requested in the forum:
-----
Can you add a few more convenience methods to check existence of objects?
These already exist:
db.exists()
db.getMetadata().getSchema().existsClass(...)
db.getMetadata().getSchema().getClass(...).existsProperty(...)
These should probably be added for consistency:
db.getMetadata().getIndexManager().existsIndex(...)
db.existsCluster(...)
Also, the method name on OClass and the term "alias" should be unified in the console and java api:
OClass o = ...;
//Instead of:
o.setShortName("thisIsAnAlias");
//Should be:
o.setAlias("thisIsAnAlias");
//So that it matches the output in the console:
Class................: test
Alias................: thisIsAnAlias
Default cluster......: test (id=6)
Supported cluster ids: [6]
The text was updated successfully, but these errors were encountered:
This is Issue 901 moved from a Google Code project.
Added by 2012-06-19T16:20:25.000Z by odbu...@hotmail.com.
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Enhancement, Priority-Low
Original description
The text was updated successfully, but these errors were encountered: