Package com.arangodb
Interface ArangoView
-
- All Superinterfaces:
ArangoSerdeAccessor
- All Known Subinterfaces:
ArangoSearch,SearchAlias
@ThreadSafe public interface ArangoView extends ArangoSerdeAccessor
Interface for operations on ArangoDB view level.- Since:
- ArangoDB 3.4.0
- Author:
- Mark Vollmary
- See Also:
- View API Documentation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArangoDatabasedb()The the handler of the database the collection is withinvoiddrop()Deletes the view from the database.booleanexists()Checks whether the view exists.ViewEntitygetInfo()Returns information about the view.Stringname()The name of the viewViewEntityrename(String newName)Renames the view.-
Methods inherited from interface com.arangodb.ArangoSerdeAccessor
getSerde
-
-
-
-
Method Detail
-
db
ArangoDatabase db()
The the handler of the database the collection is within- Returns:
- database handler
-
name
String name()
The name of the view- Returns:
- view name
-
exists
boolean exists()
Checks whether the view exists.- Returns:
- true if the view exists, otherwise false
- See Also:
- API Documentation
-
drop
void drop()
Deletes the view from the database.- See Also:
- API Documentation
-
rename
ViewEntity rename(String newName)
Renames the view.- Parameters:
newName- The new name- Returns:
- information about the view
- See Also:
- API Documentation
-
getInfo
ViewEntity getInfo()
Returns information about the view.- Returns:
- information about the view
- See Also:
- API Documentation
-
-