public class ArangoSearchAsyncImpl extends InternalArangoSearch<ArangoDBAsyncImpl,ArangoDatabaseAsyncImpl,ArangoExecutorAsync> implements ArangoSearchAsync
db, name, PATH_API_ANALYZER, PATH_API_VIEW
executor, serde
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ViewEntity> |
create()
Creates a view, then returns view information from the server.
|
CompletableFuture<ViewEntity> |
create(ArangoSearchCreateOptions options)
Creates a view with the given
options , then returns view information from the server. |
CompletableFuture<Void> |
drop()
Deletes the view from the database.
|
CompletableFuture<Boolean> |
exists()
Checks whether the view exists.
|
CompletableFuture<ViewEntity> |
getInfo()
Returns information about the view.
|
CompletableFuture<ArangoSearchPropertiesEntity> |
getProperties()
Reads the properties of the specified view.
|
CompletableFuture<ViewEntity> |
rename(String newName)
Renames the view.
|
CompletableFuture<ArangoSearchPropertiesEntity> |
replaceProperties(ArangoSearchPropertiesOptions options)
Changes properties of the view.
|
CompletableFuture<ArangoSearchPropertiesEntity> |
updateProperties(ArangoSearchPropertiesOptions options)
Partially changes properties of the view.
|
getPropertiesRequest, replacePropertiesRequest, updatePropertiesRequest
db, dropRequest, getInfoRequest, name, renameRequest
createPath, executor, getSerde, request
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
db, name
getSerde
public CompletableFuture<Boolean> exists()
ArangoViewAsync
exists
in interface ArangoViewAsync
public CompletableFuture<Void> drop()
ArangoViewAsync
drop
in interface ArangoViewAsync
public CompletableFuture<ViewEntity> rename(String newName)
ArangoViewAsync
rename
in interface ArangoViewAsync
newName
- The new namepublic CompletableFuture<ViewEntity> getInfo()
ArangoViewAsync
getInfo
in interface ArangoViewAsync
public CompletableFuture<ViewEntity> create()
ArangoSearchAsync
create
in interface ArangoSearchAsync
public CompletableFuture<ViewEntity> create(ArangoSearchCreateOptions options)
ArangoSearchAsync
options
, then returns view information from the server.create
in interface ArangoSearchAsync
options
- Additional options, can be nullpublic CompletableFuture<ArangoSearchPropertiesEntity> getProperties()
ArangoSearchAsync
getProperties
in interface ArangoSearchAsync
public CompletableFuture<ArangoSearchPropertiesEntity> updateProperties(ArangoSearchPropertiesOptions options)
ArangoSearchAsync
updateProperties
in interface ArangoSearchAsync
options
- properties to changepublic CompletableFuture<ArangoSearchPropertiesEntity> replaceProperties(ArangoSearchPropertiesOptions options)
ArangoSearchAsync
replaceProperties
in interface ArangoSearchAsync
options
- properties to changeCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.