1
0
Fork 0
arangodb/Documentation/Books/Drivers/Java/Reference/View
maxkernbach e48030b37c Doc - sync external repositories (#7616) 2018-12-05 18:49:11 +01:00
..
ArangoSearch.md Doc - sync external repositories (#7616) 2018-12-05 18:49:11 +01:00
README.md Doc - sync external repositories (#7616) 2018-12-05 18:49:11 +01:00
ViewManipulation.md Doc - sync external repositories (#7616) 2018-12-05 18:49:11 +01:00

README.md

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();