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

nbcp.myoql.db.es.component.EsBulkDeleteClip.kt Maven / Gradle / Ivy

The newest version!
package nbcp.myoql.db.es.component


import nbcp.myoql.db.es.enums.EsPutRefreshEnum
import org.slf4j.LoggerFactory
import java.io.Serializable

/**
 * Created by udi on 17-4-17.
 */

/**
 * EsDelete
 */
class EsBulkDeleteClip>(var eserEntity: M)
    : EsBaseBulkDeleteClip(eserEntity.tableName){
    companion object {
        private var logger = LoggerFactory.getLogger(this::class.java.declaringClass)
    }


    fun add(id:String): EsBulkDeleteClip {
        super.addId(id)
        return this;
    }

    @JvmOverloads
    fun routing(routing:String = ""): EsBulkDeleteClip {
        this.withRouting(routing)
        return this;
    }

    @JvmOverloads
    fun pipeline(pipeline:String = ""): EsBulkDeleteClip {
        this.withPipeLine(pipeline)
        return this;
    }

    fun refresh(refresh: EsPutRefreshEnum): EsBulkDeleteClip {
        this.withRefresh(refresh)
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy