Class ReindexingUtil
- java.lang.Object
-
- org.openmetadata.service.workflows.searchIndex.ReindexingUtil
-
public class ReindexingUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringENTITY_TYPE_KEY
-
Constructor Summary
Constructors Constructor Description ReindexingUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetSuccessFromBulkResponse(org.opensearch.action.bulk.BulkResponse response)static intgetSuccessFromBulkResponseEs(org.elasticsearch.action.bulk.BulkResponse response)static intgetTotalRequestToProcess(Set<String> entities, CollectionDAO dao)static voidgetUpdatedStats(StepStats stats, int currentSuccess, int currentFailed)static booleanisDataInsightIndex(String entityType)
-
-
-
Field Detail
-
ENTITY_TYPE_KEY
public static final String ENTITY_TYPE_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUpdatedStats
public static void getUpdatedStats(StepStats stats, int currentSuccess, int currentFailed)
-
isDataInsightIndex
public static boolean isDataInsightIndex(String entityType)
-
getTotalRequestToProcess
public static int getTotalRequestToProcess(Set<String> entities, CollectionDAO dao)
-
getSuccessFromBulkResponse
public static int getSuccessFromBulkResponse(org.opensearch.action.bulk.BulkResponse response)
-
getSuccessFromBulkResponseEs
public static int getSuccessFromBulkResponseEs(org.elasticsearch.action.bulk.BulkResponse response)
-
-