com.foursquare.slashem

Response

case class Response [T <: Record[T], Y] (schema: T, creator: Option[(()) ⇒ Y], numFound: Int, start: Int, docs: Array[()], fallOf: Option[Double], min: Option[Int]) extends Product with Serializable

The response its self. The "docs" field is not type safe, you should use one of results or oids to access the results Y is the type that we are extracting from the response (e.g. a case class)

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Response
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Response (schema: T, creator: Option[(()) ⇒ Y], numFound: Int, start: Int, docs: Array[()], fallOf: Option[Double], min: Option[Int])

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def canEqual (arg0: Any): Boolean

    Definition Classes
    Response → Equals
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. val creator : Option[(()) ⇒ Y]

  10. val docs : Array[()]

  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (arg0: Any): Boolean

    Definition Classes
    Response → Equals → AnyRef → Any
  13. val fallOf : Option[Double]

  14. val filteredDocs : Array[(Map[String, Any], Option[Map[String, ArrayList[String]]])]

  15. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  17. def hashCode (): Int

    Definition Classes
    Response → AnyRef → Any
  18. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  19. val min : Option[Int]

  20. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. val numFound : Int

  24. def oidScorePair : List[(ObjectId, Double)]

    Another special case for extracting just ObjectId & score pairs.

    Another special case for extracting just ObjectId & score pairs. Please think twice before using

  25. def oids : List[ObjectId]

    Special for extracting just ObjectIds without the overhead of record.

  26. def processedResults : List[Y]

    Return a list of results handled by the creator Most commonly used for case class based queries

  27. def productArity : Int

    Definition Classes
    Response → Product
  28. def productElement (arg0: Int): Any

    Definition Classes
    Response → Product
  29. def productIterator : Iterator[Any]

    Definition Classes
    Product
  30. def productPrefix : String

    Definition Classes
    Response → Product
  31. def results : List[T]

    Return a list of the documents in a usable form

  32. def results [T <: Record[T]] (B: Record[T]): List[T]

  33. val schema : T

  34. val start : Int

  35. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  36. def toString (): String

    Definition Classes
    Response → AnyRef → Any
  37. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any