Hit
A common trait for Get, MultiGet, Search and MultiSearch results to provide common functionality for the HitReader typeclass.
Value members
Abstract methods
Concrete methods
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]
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]
Uses a HitReader typeclass to convert the returned source into type T. This method will throw an exception if the marshalling process fails
Uses a HitReader typeclass to convert the returned source into type T. This method will throw an exception if the marshalling process fails
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.
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.