mirror of https://gitee.com/bigwinds/arangodb
838 B
838 B
layout | description |
---|---|
default | These functions implement theHTTP API for views |
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("potatoes");
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("potatoes");
ViewEntity info = view.getInfo();