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 ArangoDatabase
db()
The the handler of the database the collection is withinvoid
drop()
Deletes the view from the database.boolean
exists()
Checks whether the view exists.ViewEntity
getInfo()
Returns information about the view.String
name()
The name of the viewViewEntity
rename(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
-
-