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
Ordering
- Alphabetic
- By Inheritance
Inherited
- GetResponse
- Serializable
- Product
- Equals
- Hit
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def exists: Boolean
- Definition Classes
- GetResponse → Hit
- def fields: Map[String, AnyRef]
- val found: Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val id: String
- Definition Classes
- GetResponse → Hit
- val index: String
- Definition Classes
- GetResponse → Hit
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isSourceEmpty: Boolean
- Definition Classes
- Hit
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val primaryTerm: Long
- Definition Classes
- GetResponse → Hit
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def ref: DocumentRef
- Definition Classes
- Hit
- 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
- final def safeToOpt[T](implicit arg0: HitReader[T]): Option[Try[T]]
- Definition Classes
- Hit
- def score: Float
- Definition Classes
- GetResponse → Hit
- val seqNo: Long
- Definition Classes
- GetResponse → Hit
- def sort: Option[Seq[AnyRef]]
- Definition Classes
- GetResponse → Hit
- def source: Map[String, Any]
- final def sourceAsByteBuffer: ByteBuffer
- Definition Classes
- Hit
- final def sourceAsBytes: Array[Byte]
- Definition Classes
- Hit
- def sourceAsMap: Map[String, AnyRef]
- Definition Classes
- GetResponse → Hit
- final def sourceAsMutableMap: Map[String, AnyRef]
- Definition Classes
- Hit
- def sourceAsString: String
- Definition Classes
- GetResponse → Hit
- final def sourceField(name: String): AnyRef
- Definition Classes
- Hit
- final def sourceFieldOpt(name: String): Option[AnyRef]
- Definition Classes
- Hit
- def storedField(fieldName: String): HitField
- def storedFieldOpt(fieldName: String): Option[HitField]
- def storedFieldsAsMap: Map[String, AnyRef]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- 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
- val type: String
- val version: Long
- Definition Classes
- GetResponse → Hit
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)