Package com.arangodb.internal
Class ArangoSearchImpl
java.lang.Object
com.arangodb.internal.ArangoExecuteable
com.arangodb.internal.InternalArangoView
com.arangodb.internal.InternalArangoSearch
com.arangodb.internal.ArangoSearchImpl
- All Implemented Interfaces:
ArangoSearch
,ArangoSerdeAccessor
,ArangoView
- Author:
- Mark Vollmary
-
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
(ArangoSearchCreateOptions 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.InternalArangoSearch
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
-
ArangoSearchImpl
-
-
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:ArangoSearch
Creates a view, then returns view information from the server.- Specified by:
create
in interfaceArangoSearch
- Returns:
- information about the view
- See Also:
-
create
Description copied from interface:ArangoSearch
Creates a view with the givenoptions
, then returns view information from the server.- Specified by:
create
in interfaceArangoSearch
- Parameters:
options
- Additional options, can be null- Returns:
- information about the view
- See Also:
-
getProperties
Description copied from interface:ArangoSearch
Reads the properties of the specified view.- Specified by:
getProperties
in interfaceArangoSearch
- Returns:
- properties of the view
- See Also:
-
updateProperties
Description copied from interface:ArangoSearch
Partially changes properties of the view.- Specified by:
updateProperties
in interfaceArangoSearch
- Parameters:
options
- properties to change- Returns:
- properties of the view
- See Also:
-
replaceProperties
Description copied from interface:ArangoSearch
Changes properties of the view.- Specified by:
replaceProperties
in interfaceArangoSearch
- Parameters:
options
- properties to change- Returns:
- properties of the view
- See Also:
-