Skip to content

Files

Latest commit

f0b7625 · Dec 5, 2018

History

History
42 lines (27 loc) · 826 Bytes

File metadata and controls

42 lines (27 loc) · 826 Bytes

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