public class SearchAliasImpl extends InternalSearchAlias<ArangoDBImpl,ArangoDatabaseImpl,ArangoExecutorSync> implements SearchAlias
db, name, PATH_API_ANALYZER, PATH_API_VIEWexecutor, serde| Modifier | Constructor and Description |
|---|---|
protected |
SearchAliasImpl(ArangoDatabaseImpl db,
String name) |
| Modifier and Type | Method and Description |
|---|---|
ViewEntity |
create()
Creates a view, then returns view information from the server.
|
ViewEntity |
create(SearchAliasCreateOptions options)
Creates a view with the given
options, then returns view information from the server. |
void |
drop()
Deletes the view from the database.
|
boolean |
exists()
Checks whether the view exists.
|
ViewEntity |
getInfo()
Returns information about the view.
|
SearchAliasPropertiesEntity |
getProperties()
Reads the properties of the specified view.
|
ViewEntity |
rename(String newName)
Renames the view.
|
SearchAliasPropertiesEntity |
replaceProperties(SearchAliasPropertiesOptions options)
Changes properties of the view.
|
SearchAliasPropertiesEntity |
updateProperties(SearchAliasPropertiesOptions options)
Partially changes properties of the view.
|
getPropertiesRequest, replacePropertiesRequest, updatePropertiesRequestdb, dropRequest, getInfoRequest, name, renameRequestcreatePath, executor, getSerde, requestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdb, namegetSerdeprotected SearchAliasImpl(ArangoDatabaseImpl db, String name)
public boolean exists()
ArangoViewexists in interface ArangoViewpublic void drop()
ArangoViewdrop in interface ArangoViewpublic ViewEntity rename(String newName)
ArangoViewrename in interface ArangoViewnewName - The new namepublic ViewEntity getInfo()
ArangoViewgetInfo in interface ArangoViewpublic ViewEntity create()
SearchAliascreate in interface SearchAliaspublic ViewEntity create(SearchAliasCreateOptions options)
SearchAliasoptions, then returns view information from the server.create in interface SearchAliasoptions - Additional options, can be nullpublic SearchAliasPropertiesEntity getProperties()
SearchAliasgetProperties in interface SearchAliaspublic SearchAliasPropertiesEntity updateProperties(SearchAliasPropertiesOptions options)
SearchAliasupdateProperties in interface SearchAliasoptions - properties to changepublic SearchAliasPropertiesEntity replaceProperties(SearchAliasPropertiesOptions options)
SearchAliasreplaceProperties in interface SearchAliasoptions - properties to changeCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.