mirror of https://gitee.com/bigwinds/arangodb
902 B
902 B
View API
These functions implement the HTTP API for views.
Getting information about the view
See the HTTP API documentation for details.
ArangoView.exists
ArangoView.exists() : boolean
Checks whether the view exists
Examples
ArangoDB arango = new ArangoDB.Builder().build();
ArangoDatabase db = arango.db("myDB");
ArangoView view = db.view("potatos");
boolean exists = view.exists();
ArangoView.getInfo
ArangoView.getInfo() : ViewEntity
Returns information about the view.
Examples
ArangoDB arango = new ArangoDB.Builder().build();
ArangoDatabase db = arango.db("myDB");
ArangoView view = db.view("potatos");
ViewEntity info = view.getInfo();