All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vertexium.elasticsearch5.bulk.DeleteBulkItem Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.elasticsearch5.bulk;

import org.elasticsearch.action.delete.DeleteRequest;
import org.vertexium.ElementId;

public class DeleteBulkItem extends BulkItem {
    private final String docId;

    public DeleteBulkItem(
        ElementId elementId,
        String docId,
        DeleteRequest deleteRequest
    ) {
        super(deleteRequest.index(), elementId, deleteRequest);
        this.docId = docId;
    }

    public String getDocId() {
        return docId;
    }

    @Override
    public String toString() {
        return String.format("DeleteBulkItem {docId='%s'}", docId);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy