Class

com.sandinh.couchbase.access

JsCao1

Related Doc: package access

Permalink

abstract class JsCao1[T, A] extends JsCao[T] with WithCaoKey1[T, A, 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) method

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

Instance Constructors

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

    Permalink

Abstract Value Members

  1. abstract def key(a: A): String

    Permalink
    Attributes
    protected
    Definition Classes
    WithCaoKey1

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)(f: (Option[T]) ⇒ T): Future[JsDocument]

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

    Permalink
    Definition Classes
    WithCaoKey1
  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)(f: (Option[T]) ⇒ Future[T]): Future[JsDocument]

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

    Permalink
    Definition Classes
    WithCaoKey1
  15. final def get(a: A): Future[T]

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

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

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

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

    Permalink
    Definition Classes
    WithCaoKey1
  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): Future[JsDocument]

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

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

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

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

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

    Permalink

    convenient method.

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

    Definition Classes
    WithCaoKey1
  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 WithCaoKey1[T, A, JsValue, JsDocument]

Inherited from JsCao[T]

Inherited from CaoBase[T, JsValue, JsDocument]

Inherited from AnyRef

Inherited from Any

Ungrouped