Package com.arangodb.internal
Class SearchAliasImpl
java.lang.Object
com.arangodb.internal.ArangoExecuteable
com.arangodb.internal.InternalArangoView
com.arangodb.internal.InternalSearchAlias
com.arangodb.internal.SearchAliasImpl
- All Implemented Interfaces:
ArangoSerdeAccessor
,ArangoView
,SearchAlias
- Author:
- Michele Rastelli
-
Field Summary
Fields inherited from class com.arangodb.internal.InternalArangoView
dbName, name, PATH_API_ANALYZER, PATH_API_VIEW
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()
Creates a view, then returns view information from the server.create
(SearchAliasCreateOptions options) Creates a view with the givenoptions
, then returns view information from the server.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.getInfo()
Returns information about the view.Reads the properties of the specified view.Renames the view.Changes properties of the view.Partially changes properties of the view.Methods inherited from class com.arangodb.internal.InternalSearchAlias
getPropertiesRequest, replacePropertiesRequest, updatePropertiesRequest
Methods inherited from class com.arangodb.internal.InternalArangoView
dropRequest, getInfoRequest, name, renameRequest
Methods inherited from class com.arangodb.internal.ArangoExecuteable
createPath, executorAsync, executorSync, getSerde, request
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.arangodb.ArangoSerdeAccessor
getSerde
Methods inherited from interface com.arangodb.ArangoView
name
-
Constructor Details
-
SearchAliasImpl
-
-
Method Details
-
db
Description copied from interface:ArangoView
The the handler of the database the collection is within- Specified by:
db
in interfaceArangoView
- Returns:
- database handler
-
exists
public boolean exists()Description copied from interface:ArangoView
Checks whether the view exists.- Specified by:
exists
in interfaceArangoView
- Returns:
- true if the view exists, otherwise false
- See Also:
-
drop
public void drop()Description copied from interface:ArangoView
Deletes the view from the database.- Specified by:
drop
in interfaceArangoView
- See Also:
-
rename
Description copied from interface:ArangoView
Renames the view.- Specified by:
rename
in interfaceArangoView
- Parameters:
newName
- The new name- Returns:
- information about the view
- See Also:
-
getInfo
Description copied from interface:ArangoView
Returns information about the view.- Specified by:
getInfo
in interfaceArangoView
- Returns:
- information about the view
- See Also:
-
create
Description copied from interface:SearchAlias
Creates a view, then returns view information from the server.- Specified by:
create
in interfaceSearchAlias
- Returns:
- information about the view
- See Also:
-
create
Description copied from interface:SearchAlias
Creates a view with the givenoptions
, then returns view information from the server.- Specified by:
create
in interfaceSearchAlias
- Parameters:
options
- Additional options, can be null- Returns:
- information about the view
- See Also:
-
getProperties
Description copied from interface:SearchAlias
Reads the properties of the specified view.- Specified by:
getProperties
in interfaceSearchAlias
- Returns:
- properties of the view
- See Also:
-
updateProperties
Description copied from interface:SearchAlias
Partially changes properties of the view.- Specified by:
updateProperties
in interfaceSearchAlias
- Parameters:
options
- properties to change- Returns:
- properties of the view
- See Also:
-
replaceProperties
Description copied from interface:SearchAlias
Changes properties of the view.- Specified by:
replaceProperties
in interfaceSearchAlias
- Parameters:
options
- properties to change- Returns:
- properties of the view
- See Also:
-