Interface IIdentityIndexer
-
- All Known Implementing Classes:
IdentityIndexer
public interface IIdentityIndexer
-
-
Field Summary
Fields Modifier and Type Field Description static StringCURRENT_INDEX_ALIAS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanbulk(List<BulkAction> bulkActions, String index)voidcreate(IdentityObject identity, String index)voidcreateOrUpdateAlias(String oldIndex, String newIndex, String alias)voiddelete(String documentId, String index)voiddeleteIndex(String index)StringgetIndexBehindAlias(String alias)booleanindexExists(String index)voidinitIndex(String index)booleanisAlive()voidmakeIndexReadOnly(String index)voidupdate(IdentityObject identity, String index)
-
-
-
Field Detail
-
CURRENT_INDEX_ALIAS
static final String CURRENT_INDEX_ALIAS
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
void create(IdentityObject identity, String index)
-
bulk
boolean bulk(List<BulkAction> bulkActions, String index)
-
update
void update(IdentityObject identity, String index)
-
isAlive
boolean isAlive()
-
indexExists
boolean indexExists(String index)
-
initIndex
void initIndex(String index) throws ElasticClientException
- Throws:
ElasticClientException
-
deleteIndex
void deleteIndex(String index) throws ElasticClientException
- Throws:
ElasticClientException
-
makeIndexReadOnly
void makeIndexReadOnly(String index) throws ElasticClientException
- Throws:
ElasticClientException
-
-