public class IdentityIndexer extends Object implements IIdentityIndexer
CURRENT_INDEX_ALIAS| Constructor and Description |
|---|
IdentityIndexer(String strServerUrl) |
IdentityIndexer(String strServerUrl,
String strLogin,
String strPassword) |
| Modifier and Type | Method and Description |
|---|---|
void |
bulk(List<BulkAction> bulkActions,
String index) |
void |
create(IdentityObject identity,
String index) |
void |
createOrUpdateAlias(String oldIndex,
String newIndex,
String alias) |
void |
delete(String documentId,
String index) |
void |
deleteIndex(String index) |
String |
getIndexBehindAlias(String alias) |
boolean |
indexExists(String index) |
void |
initIndex(String index) |
boolean |
isAlive() |
void |
makeIndexReadOnly(String index) |
void |
update(IdentityObject identity,
String index) |
public IdentityIndexer(String strServerUrl)
public void create(IdentityObject identity, String index)
create in interface IIdentityIndexerpublic void bulk(List<BulkAction> bulkActions, String index)
bulk in interface IIdentityIndexerpublic void update(IdentityObject identity, String index)
update in interface IIdentityIndexerpublic void delete(String documentId, String index)
delete in interface IIdentityIndexerpublic void initIndex(String index) throws ElasticClientException
initIndex in interface IIdentityIndexerElasticClientExceptionpublic void deleteIndex(String index) throws ElasticClientException
deleteIndex in interface IIdentityIndexerElasticClientExceptionpublic void makeIndexReadOnly(String index) throws ElasticClientException
makeIndexReadOnly in interface IIdentityIndexerElasticClientExceptionpublic void createOrUpdateAlias(String oldIndex, String newIndex, String alias)
createOrUpdateAlias in interface IIdentityIndexerpublic String getIndexBehindAlias(String alias)
getIndexBehindAlias in interface IIdentityIndexerpublic boolean isAlive()
isAlive in interface IIdentityIndexerpublic boolean indexExists(String index)
indexExists in interface IIdentityIndexerCopyright © 2023 City of Paris. All rights reserved.