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

com.sksamuel.elastic4s.handlers.pit.DeletePitBuilderFn.scala Maven / Gradle / Ivy

The newest version!
package com.sksamuel.elastic4s.handlers.pit

import com.sksamuel.elastic4s.json.{XContentBuilder, XContentFactory}
import com.sksamuel.elastic4s.requests.pit.DeletePitRequest

object DeletePitBuilderFn {
  def apply(request: DeletePitRequest): XContentBuilder =
    XContentFactory.jsonBuilder().field("id" , request.id)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy