Packages

case class GetResponse(id: String, index: String, type: String, version: Long, seqNo: Long, primaryTerm: Long, found: Boolean, _fields: Map[String, AnyRef], _source: Map[String, AnyRef]) extends Hit with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Hit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GetResponse
  2. Serializable
  3. Product
  4. Equals
  5. Hit
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GetResponse(id: String, index: String, type: String, version: Long, seqNo: Long, primaryTerm: Long, found: Boolean, _fields: Map[String, AnyRef], _source: Map[String, AnyRef])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def exists: Boolean
    Definition Classes
    GetResponse → Hit
  8. def fields: Map[String, AnyRef]
  9. val found: Boolean
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. val id: String
    Definition Classes
    GetResponse → Hit
  12. val index: String
    Definition Classes
    GetResponse → Hit
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def isSourceEmpty: Boolean
    Definition Classes
    Hit
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. val primaryTerm: Long
    Definition Classes
    GetResponse → Hit
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. final def ref: DocumentRef
    Definition Classes
    Hit
  21. final def safeTo[T](implicit reader: HitReader[T]): Try[T]

    Uses a HitReader typeclass to convert the returned source into type T.

    Uses a HitReader typeclass to convert the returned source into type T. This method will return a Left[Throwable] if there was an error during the marshalling, otherwise it will return a Right[T]

    Definition Classes
    Hit
  22. final def safeToOpt[T](implicit arg0: HitReader[T]): Option[Try[T]]
    Definition Classes
    Hit
  23. def score: Float
    Definition Classes
    GetResponse → Hit
  24. val seqNo: Long
    Definition Classes
    GetResponse → Hit
  25. def sort: Option[Seq[AnyRef]]
    Definition Classes
    GetResponse → Hit
  26. def source: Map[String, Any]
  27. final def sourceAsByteBuffer: ByteBuffer
    Definition Classes
    Hit
  28. final def sourceAsBytes: Array[Byte]
    Definition Classes
    Hit
  29. def sourceAsMap: Map[String, AnyRef]
    Definition Classes
    GetResponse → Hit
  30. final def sourceAsMutableMap: Map[String, AnyRef]
    Definition Classes
    Hit
  31. def sourceAsString: String
    Definition Classes
    GetResponse → Hit
  32. final def sourceField(name: String): AnyRef
    Definition Classes
    Hit
  33. final def sourceFieldOpt(name: String): Option[AnyRef]
    Definition Classes
    Hit
  34. def storedField(fieldName: String): HitField
  35. def storedFieldOpt(fieldName: String): Option[HitField]
  36. def storedFieldsAsMap: Map[String, AnyRef]
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. final def to[T](implicit arg0: HitReader[T]): T

    Uses a HitReader typeclass to convert the returned source into type T.

    Uses a HitReader typeclass to convert the returned source into type T. This method will throw an exception if the marshalling process fails

    Definition Classes
    Hit
  39. final def toOpt[T](implicit arg0: HitReader[T]): Option[T]

    Returns a Some(t) if the hit exists.

    Returns a Some(t) if the hit exists. It might not exist (an empty hit) if this was returned by a Get request and the given id did not exist, in which case it will return None.

    Definition Classes
    Hit
  40. val type: String
  41. val version: Long
    Definition Classes
    GetResponse → Hit
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Hit

Inherited from AnyRef

Inherited from Any

Ungrouped