Class

com.sandinh.couchbase.access

StrCao2

Related Doc: package access

Permalink

abstract class StrCao2[T, A, B] extends StrCao[T] with WithCaoKey2[T, A, B, String, CompatStringDocument]

Base class for Couchbase Access Object to access StringDocument 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, String, CompatStringDocument], StrCao[T], CaoBase[T, String, CompatStringDocument], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StrCao2
  2. WithCaoKey2
  3. StrCao
  4. CaoBase
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StrCao2(bucket: ScalaBucket)

    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
  2. abstract def reads(u: String): T

    Permalink
    Attributes
    protected
    Definition Classes
    CaoBase
  3. abstract def writes(t: T): String

    Permalink
    Attributes
    protected
    Definition Classes
    CaoBase

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[CompatStringDocument]

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

    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: String): CompatStringDocument

    Permalink
    Attributes
    protected
    Definition Classes
    StrCaoCaoBase
  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[CompatStringDocument]

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

    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 remove(a: A, b: B): Future[CompatStringDocument]

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

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

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

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

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

    Permalink

    convenient method.

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

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

    Permalink

    convenient method.

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WithCaoKey2[T, A, B, String, CompatStringDocument]

Inherited from StrCao[T]

Inherited from CaoBase[T, String, CompatStringDocument]

Inherited from AnyRef

Inherited from Any

Ungrouped