public class ArangoSearchImpl extends InternalArangoSearch<ArangoDBImpl,ArangoDatabaseImpl,ArangoExecutorSync> implements ArangoSearch
db, name, PATH_API_ANALYZER, PATH_API_VIEW
executor, 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, updatePropertiesRequest
db, dropRequest, getInfoRequest, name, renameRequest
createPath, executor, getSerde, request
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
db, name
getSerde
protected ArangoSearchImpl(ArangoDatabaseImpl db, String name)
public boolean exists()
ArangoView
exists
in interface ArangoView
public void drop()
ArangoView
drop
in interface ArangoView
public ViewEntity rename(String newName)
ArangoView
rename
in interface ArangoView
newName
- The new namepublic ViewEntity getInfo()
ArangoView
getInfo
in interface ArangoView
public ViewEntity create()
ArangoSearch
create
in interface ArangoSearch
public ViewEntity create(ArangoSearchCreateOptions options)
ArangoSearch
options
, then returns view information from the server.create
in interface ArangoSearch
options
- Additional options, can be nullpublic ArangoSearchPropertiesEntity getProperties()
ArangoSearch
getProperties
in interface ArangoSearch
public ArangoSearchPropertiesEntity updateProperties(ArangoSearchPropertiesOptions options)
ArangoSearch
updateProperties
in interface ArangoSearch
options
- properties to changepublic ArangoSearchPropertiesEntity replaceProperties(ArangoSearchPropertiesOptions options)
ArangoSearch
replaceProperties
in interface ArangoSearch
options
- properties to changeCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.