
com.sksamuel.elastic4s.Reader.scala Maven / Gradle / Ivy
package com.sksamuel.elastic4s
@deprecated("use HitAs, this reader trait has a broken contravariance implementation", "1.6.1")
trait Reader[-U] {
def read[T <: U : Manifest](json: String): T
}
trait HitAs[T] {
def as(hit: RichSearchHit): T
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy