public class ArangoSearchImpl extends InternalArangoSearch<ArangoDBImpl,ArangoDatabaseImpl,ArangoExecutorSync> implements ArangoSearch
db, name, PATH_API_ANALYZER, PATH_API_VIEWexecutor, serde| Modifier | Constructor and Description |
|---|---|
protected |
ArangoSearchImpl(ArangoDatabaseImpl db,
String name) |
| Modifier and Type | Method and Description |
|---|---|
ViewEntity |
create()
Creates a view, then returns view information from the server.
|
ViewEntity |
create(ArangoSearchCreateOptions 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.
|
ArangoSearchPropertiesEntity |
getProperties()
Reads the properties of the specified view.
|
ViewEntity |
rename(String newName)
Renames the view.
|
ArangoSearchPropertiesEntity |
replaceProperties(ArangoSearchPropertiesOptions options)
Changes properties of the view.
|
ArangoSearchPropertiesEntity |
updateProperties(ArangoSearchPropertiesOptions 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 ArangoSearchImpl(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()
ArangoSearchcreate in interface ArangoSearchpublic ViewEntity create(ArangoSearchCreateOptions options)
ArangoSearchoptions, then returns view information from the server.create in interface ArangoSearchoptions - Additional options, can be nullpublic ArangoSearchPropertiesEntity getProperties()
ArangoSearchgetProperties in interface ArangoSearchpublic ArangoSearchPropertiesEntity updateProperties(ArangoSearchPropertiesOptions options)
ArangoSearchupdateProperties in interface ArangoSearchoptions - properties to changepublic ArangoSearchPropertiesEntity replaceProperties(ArangoSearchPropertiesOptions options)
ArangoSearchreplaceProperties in interface ArangoSearchoptions - properties to changeCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.