Interface WorkExecutionIndexManagerContext
public interface WorkExecutionIndexManagerContext
An interface with knowledge of the index manager internals,
able to leverage information necessary for work execution on this index.
Note this interface exists mainly to more cleanly pass information from the index manager to the various work execution components. If we just passed the index manager to the various work execution components, we would have a cyclic dependency. If we passed all the components held by the index manager to the various work execution components, we would end up with methods with many parameters.
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonObjectcreateDocument(String tenantId, String id, DocumentContributor documentContributor) toElasticsearchId(String tenantId, String id)
-
Method Details
-
getMappedTypeName
String getMappedTypeName() -
getElasticsearchIndexWriteName
URLEncodedString getElasticsearchIndexWriteName() -
toElasticsearchId
-
createDocument
com.google.gson.JsonObject createDocument(String tenantId, String id, DocumentContributor documentContributor)
-