Packages

object LocalQueryable extends FallBackLookups

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LocalQueryable
  2. FallBackLookups
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class RecentAnswer[Q, W, ID](answers: Seq[AnswerFromPost[_, Q, W, ID]])(implicit h: PostHistory[W, ID]) extends LocalQueryable[Q, W, ID] with Product with Serializable

    Look up an answer in the history of a post, assuming an implicit history provider

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. def answerAsSome[Q, W, ID](implicit qw: Postable[Q, W, ID], ph: PostHistory[W, ID]): LatestAnswer[Some[Q], W, ID]

    query for Some[A] using query for A by looking up history.

    query for Some[A] using query for A by looking up history. Meant to be starting point for several options.

    qw

    query for A

    ph

    post history

    returns

    queryable for Some[A]

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. implicit def collatedQuery[P, W, ID](implicit pq: LocalQueryable[P, W, ID]): LocalQueryable[Collated[P], W, ID]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. implicit def hNilQueryable[W, ID]: LocalQueryable[HNil, W, ID]

    Querying for HNil

    Querying for HNil

    returns

    trivial query response

  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. implicit def hconsQueryable[U, V <: HList, W, ID](implicit qu: LocalQueryable[U, W, ID], qv: LocalQueryable[V, W, ID]): LocalQueryable[::[U, V], W, ID]

    query a conjunction of two queryable types

    query a conjunction of two queryable types

    qu

    queryability of the first

    qv

    queryability of the second

    returns

    implemented queryability putting these together

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. implicit def localize[U, W, ID](implicit q: Queryable[U, W]): LocalQueryable[U, W, ID]

    use a global query for local querying, ignoring position

    use a global query for local querying, ignoring position

    q

    global queryability

    returns

    local query implementation

  16. def lookupAnswer[P, W, ID](implicit pw: Postable[P, W, ID]): AnswerFromPost[P, P, W, ID]
  17. implicit def lookupLatest[Q, W, ID](implicit qw: Postable[Q, W, ID], ph: PostHistory[W, ID], tag: scala.reflect.api.JavaUniverse.TypeTag[Q]): LocalQueryable[Q, W, ID]

    default implementation of lookup for stuff that can be posted given a post-history implementation, where we look fot the latest post.

    default implementation of lookup for stuff that can be posted given a post-history implementation, where we look fot the latest post.

    qw

    postability of Q

    ph

    post history

    returns

    implementation of query lookup

    Definition Classes
    FallBackLookups
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. implicit def previousQuery[P, W, ID](implicit ph: PostHistory[W, ID], pw: Postable[P, W, ID]): LocalQueryable[PreviousPosts[P], W, ID]
  22. def query[Q, W](web: W, predicate: (Q) => Boolean)(implicit q: Queryable[Q, W]): Future[Q]

    Query for an object

    Query for an object

    web

    the web which we query

    predicate

    property the object must satisfy

    q

    queryability

    returns

    future result of typeQ

  23. def queryAt[Q, W, ID](web: W, id: ID, predicate: (Q) => Boolean)(implicit q: LocalQueryable[Q, W, ID]): Future[Vector[Q]]

    Query for an object at a position, for example the latest before that position

    Query for an object at a position, for example the latest before that position

    web

    the web which we query

    id

    the position where we query

    predicate

    property the object must satisfy

    q

    queryability

    returns

    future result of typeQ

  24. implicit def queryOptLatest[Q, W, ID](implicit qo: QueryOptions[Q, W, ID], ph: PostHistory[W, ID]): LocalQueryable[Q, W, ID]
  25. implicit def somePostQuery[P, W, ID](implicit pw: Postable[P, W, ID], ph: PostHistory[W, ID]): LocalQueryable[SomePost[P], W, ID]

    Lookup for the wrapped type SomePost, which returns all posts independent of relative position in history.

    Lookup for the wrapped type SomePost, which returns all posts independent of relative position in history.

    pw

    postability of P

    ph

    post history

    returns

    implementation of query lookup

    Definition Classes
    FallBackLookups
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. implicit def unitQueryable[W, ID]: LocalQueryable[Unit, W, ID]

    Querying for Unit

    Querying for Unit

    returns

    trivial query response

  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. 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

Inherited from FallBackLookups

Inherited from AnyRef

Inherited from Any

Ungrouped