public class SearchAliasImpl extends InternalSearchAlias<ArangoDBImpl,ArangoDatabaseImpl,ArangoExecutorSync> implements SearchAlias
db, name, PATH_API_ANALYZER, PATH_API_VIEW
executor, 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, 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 SearchAliasImpl(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()
SearchAlias
create
in interface SearchAlias
public ViewEntity create(SearchAliasCreateOptions options)
SearchAlias
options
, then returns view information from the server.create
in interface SearchAlias
options
- Additional options, can be nullpublic SearchAliasPropertiesEntity getProperties()
SearchAlias
getProperties
in interface SearchAlias
public SearchAliasPropertiesEntity updateProperties(SearchAliasPropertiesOptions options)
SearchAlias
updateProperties
in interface SearchAlias
options
- properties to changepublic SearchAliasPropertiesEntity replaceProperties(SearchAliasPropertiesOptions options)
SearchAlias
replaceProperties
in interface SearchAlias
options
- properties to changeCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.