Class

com.sandinh.couchbase.access

JsCao2

Related Doc: package access

Permalink

abstract class JsCao2[T, A, B] extends JsCao[T] with WithCaoKey2[T, A, B, JsValue, JsDocument]

Base class for Couchbase Access Object to access json documents that can be decode/encode to/from the T type - which is store in couchbase at key generated from the T.key(A, B) method

Linear Supertypes
WithCaoKey2[T, A, B, JsValue, JsDocument], JsCao[T], CaoBase[T, JsValue, JsDocument], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsCao2
  2. WithCaoKey2
  3. JsCao
  4. CaoBase
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsCao2(bucket: ScalaBucket)(implicit arg0: Format[T])

    Permalink

Abstract Value Members

  1. abstract def key(a: A, b: B): String

    Permalink

    Map 2 param of type A, B to a CB key

    Map 2 param of type A, B to a CB key

    returns

    CB key

    Attributes
    protected
    Definition Classes
    WithCaoKey2

Concrete 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. final def change(a: A, b: B)(f: (Option[T]) ⇒ T): Future[JsDocument]

    Permalink
    Definition Classes
    WithCaoKey2
  6. final def changeBulk(aa: Seq[A], b: B)(f: (Option[T]) ⇒ T): Future[Seq[JsDocument]]

    Permalink
    Definition Classes
    WithCaoKey2
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createDoc(id: String, expiry: Int, content: JsValue): JsDocument

    Permalink
    Attributes
    protected
    Definition Classes
    JsCaoCaoBase
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def expiry(): Int

    Permalink
    Attributes
    protected
    Definition Classes
    CaoBase
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def flatChange(a: A, b: B)(f: (Option[T]) ⇒ Future[T]): Future[JsDocument]

    Permalink
    Definition Classes
    WithCaoKey2
  14. final def flatChangeBulk(aa: Seq[A], b: B)(f: (Option[T]) ⇒ Future[T]): Future[Seq[JsDocument]]

    Permalink
    Definition Classes
    WithCaoKey2
  15. final def get(a: A, b: B): Future[T]

    Permalink
    Definition Classes
    WithCaoKey2
  16. final def get(id: String): Future[T]

    Permalink
    Definition Classes
    CaoBase
  17. final def getBulk(aa: Seq[A], b: B): Future[Seq[T]]

    Permalink
    Definition Classes
    WithCaoKey2
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def getOrElse(a: A, b: B)(default: ⇒ T): Future[T]

    Permalink
    Definition Classes
    WithCaoKey2
  20. def getOrElse(id: String)(default: ⇒ T): Future[T]

    Permalink
    Definition Classes
    CaoBase
  21. def getOrUpdate(id: String)(default: ⇒ T): Future[T]

    Permalink
    Definition Classes
    CaoBase
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. final def query1(n1ql: String, params: AnyRef*): Future[Option[T]]

    Permalink
    Definition Classes
    JsCao
  28. final def query1(n1ql: String, qparam: N1qlParams, params: AnyRef*): Future[Option[T]]

    Permalink
    Definition Classes
    JsCao
  29. def reads(u: JsValue): T

    Permalink
    Attributes
    protected
    Definition Classes
    JsCaoCaoBase
  30. final def remove(a: A, b: B): Future[JsDocument]

    Permalink
    Definition Classes
    WithCaoKey2
  31. final def remove(id: String): Future[JsDocument]

    Permalink
    Definition Classes
    CaoBase
  32. final def set(a: A, b: B, t: T): Future[JsDocument]

    Permalink
    Definition Classes
    WithCaoKey2
  33. final def set(id: String, t: T): Future[JsDocument]

    Permalink
    Definition Classes
    CaoBase
  34. final def setBulk(aa: Seq[A], b: B, tt: Seq[T]): Future[Seq[JsDocument]]

    Permalink
    Definition Classes
    WithCaoKey2
  35. final def setT(a: A, b: B, t: T): Future[T]

    Permalink

    convenient method.

    convenient method. = set(..).map(_ => t)

    Definition Classes
    WithCaoKey2
  36. final def setT(id: String, t: T): Future[T]

    Permalink

    convenient method.

    convenient method. = set(..).map(_ => t)

    Definition Classes
    CaoBase
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def writes(t: T): JsValue

    Permalink
    Attributes
    protected
    Definition Classes
    JsCaoCaoBase

Inherited from WithCaoKey2[T, A, B, JsValue, JsDocument]

Inherited from JsCao[T]

Inherited from CaoBase[T, JsValue, JsDocument]

Inherited from AnyRef

Inherited from Any

Ungrouped