Class

com.sksamuel.elastic4s.requests.get

GetResponse

Related Doc: package get

Permalink

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, Serializable, Product, Equals, Hit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GetResponse
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Hit
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def exists: Boolean

    Permalink
    Definition Classes
    GetResponseHit
  8. def fields: Map[String, AnyRef]

    Permalink
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. val found: Boolean

    Permalink
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. val id: String

    Permalink
    Definition Classes
    GetResponseHit
  13. val index: String

    Permalink
    Definition Classes
    GetResponseHit
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def isSourceEmpty: Boolean

    Permalink
    Definition Classes
    Hit
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val primaryTerm: Long

    Permalink
  20. final def ref: DocumentRef

    Permalink
    Definition Classes
    Hit
  21. final def safeTo[T](implicit reader: HitReader[T]): Try[T]

    Permalink

    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]]

    Permalink
    Definition Classes
    Hit
  23. def score: Float

    Permalink
    Definition Classes
    GetResponseHit
  24. val seqNo: Long

    Permalink
  25. def source: Map[String, Any]

    Permalink
  26. final def sourceAsByteBuffer: ByteBuffer

    Permalink
    Definition Classes
    Hit
  27. final def sourceAsBytes: Array[Byte]

    Permalink
    Definition Classes
    Hit
  28. def sourceAsMap: Map[String, AnyRef]

    Permalink
    Definition Classes
    GetResponseHit
  29. final def sourceAsMutableMap: Map[String, AnyRef]

    Permalink
    Definition Classes
    Hit
  30. def sourceAsString: String

    Permalink
    Definition Classes
    GetResponseHit
  31. final def sourceField(name: String): AnyRef

    Permalink
    Definition Classes
    Hit
  32. final def sourceFieldOpt(name: String): Option[AnyRef]

    Permalink
    Definition Classes
    Hit
  33. def storedField(fieldName: String): HitField

    Permalink
  34. def storedFieldOpt(fieldName: String): Option[HitField]

    Permalink
  35. def storedFieldsAsMap: Map[String, AnyRef]

    Permalink
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. final def to[T](implicit arg0: HitReader[T]): T

    Permalink

    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
  38. final def toOpt[T](implicit arg0: HitReader[T]): Option[T]

    Permalink

    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
  39. val type: String

    Permalink
    Definition Classes
    GetResponseHit
  40. val version: Long

    Permalink
    Definition Classes
    GetResponseHit
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Hit

Inherited from AnyRef

Inherited from Any

Ungrouped