public class SearchAliasAsyncImpl extends com.arangodb.internal.InternalSearchAlias<ArangoDBAsyncImpl,ArangoDatabaseAsyncImpl,ArangoExecutorAsync> implements SearchAliasAsync
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ViewEntity> |
create()
Creates a view, then returns view information from the server.
|
CompletableFuture<ViewEntity> |
create(SearchAliasCreateOptions 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<SearchAliasPropertiesEntity> |
getProperties()
Reads the properties of the specified view.
|
CompletableFuture<ViewEntity> |
rename(String newName)
Renames the view.
|
CompletableFuture<SearchAliasPropertiesEntity> |
replaceProperties(SearchAliasPropertiesOptions options)
Changes properties of the view.
|
CompletableFuture<SearchAliasPropertiesEntity> |
updateProperties(SearchAliasPropertiesOptions options)
Partially changes properties of the view.
|
getPropertiesRequest, replacePropertiesRequest, updatePropertiesRequest
db, dropRequest, getInfoRequest, name, renameRequest
createPath, executor, request, util, util
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
db, name
util, util
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()
SearchAliasAsync
create
in interface SearchAliasAsync
public CompletableFuture<ViewEntity> create(SearchAliasCreateOptions options)
SearchAliasAsync
options
, then returns view information from the server.create
in interface SearchAliasAsync
options
- Additional options, can be nullpublic CompletableFuture<SearchAliasPropertiesEntity> getProperties()
SearchAliasAsync
getProperties
in interface SearchAliasAsync
public CompletableFuture<SearchAliasPropertiesEntity> updateProperties(SearchAliasPropertiesOptions options)
SearchAliasAsync
updateProperties
in interface SearchAliasAsync
options
- properties to changepublic CompletableFuture<SearchAliasPropertiesEntity> replaceProperties(SearchAliasPropertiesOptions options)
SearchAliasAsync
replaceProperties
in interface SearchAliasAsync
options
- properties to changeCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.