Packages

object CouchbaseFlow

Source
CouchbaseFlow.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CouchbaseFlow
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 append(asyncCollection: AsyncCollection): Flow[MutationBinaryDocument, MutationResult, NotUsed]

    Appends binary content to the document with custom options.

    Appends binary content to the document with custom options.

    See also

    com.couchbase.client.java.AsyncBinaryCollection#append

  5. def append(options: AppendOptions, asyncCollection: AsyncCollection): Flow[MutationBinaryDocument, MutationResult, NotUsed]

    Appends binary content to the document with custom options.

    Appends binary content to the document with custom options.

    See also

    com.couchbase.client.java.AsyncBinaryCollection#append

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. def decrement(asyncCollection: AsyncCollection): Flow[String, CounterResult, NotUsed]

    Decrements the counter document by one or the number defined in the options.

    Decrements the counter document by one or the number defined in the options.

    See also

    com.couchbase.client.java.AsyncBinaryCollection#decrement

  9. def decrement(options: DecrementOptions, asyncCollection: AsyncCollection): Flow[String, CounterResult, NotUsed]

    Decrements the counter document by one or the number defined in the options.

    Decrements the counter document by one or the number defined in the options.

    See also

    com.couchbase.client.java.AsyncBinaryCollection#decrement

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def exists[T](applyId: Function[T, String], asyncCollection: AsyncCollection): Flow[T, Boolean, NotUsed]

    Checks if the given document ID exists on the active partition with custom options.

    Checks if the given document ID exists on the active partition with custom options.

    applyId

    parse id function, which is the document id, id streams can use exists[String](e => e)

    See also

    com.couchbase.client.java.AsyncCollection#exists

  13. def exists[T](applyId: Function[T, String], existsOptions: ExistsOptions, asyncCollection: AsyncCollection): Flow[T, Boolean, NotUsed]

    Checks if the given document ID exists on the active partition with custom options.

    Checks if the given document ID exists on the active partition with custom options.

    applyId

    parse id function, which is the document id, id streams can use exists[String](e => e)

    See also

    com.couchbase.client.java.AsyncCollection#exists

  14. def get(asyncCollection: AsyncCollection): Flow[String, GetResult, NotUsed]

    get a document by id from Couchbase collection

  15. def get(options: GetOptions, asyncCollection: AsyncCollection): Flow[String, GetResult, NotUsed]

    get a document by id from Couchbase collection

    get a document by id from Couchbase collection

    options

    reference to Couchbase options doc

  16. def getAllReplicas(asyncCollection: AsyncCollection): Flow[String, GetReplicaResult, NotUsed]

    similar to CouchbaseFlow.get, but reads from all replicas on the active node

    similar to CouchbaseFlow.get, but reads from all replicas on the active node

    See also

    CouchbaseFlow#get

  17. def getAllReplicas(options: GetAllReplicasOptions, asyncCollection: AsyncCollection): Flow[String, GetReplicaResult, NotUsed]

    similar to CouchbaseFlow.get, but reads from all replicas on the active node

    similar to CouchbaseFlow.get, but reads from all replicas on the active node

    See also

    CouchbaseFlow#get

  18. def getAllReplicasJson(asyncCollection: AsyncCollection): Flow[String, JsonObject, NotUsed]

    reference to CouchbaseFlow.getAllReplicas, deserialize to Couchbase JsonObject

  19. def getAllReplicasJson(options: GetAllReplicasOptions, asyncCollection: AsyncCollection): Flow[String, JsonObject, NotUsed]

    reference to CouchbaseFlow.getAllReplicas, deserialize to Couchbase JsonObject

  20. def getAllReplicasObject[T](target: Class[T], asyncCollection: AsyncCollection): Flow[String, T, NotUsed]

    reference to CouchbaseFlow.getAllReplicas, deserialize to class If you add DefaultScalaModule to jackson of couchbase, it could deserialize to scala class

  21. def getAllReplicasObject[T](target: Class[T], getOptions: GetAllReplicasOptions, asyncCollection: AsyncCollection): Flow[String, T, NotUsed]

    reference to CouchbaseFlow.getAllReplicas, deserialize to class If you add DefaultScalaModule to jackson of couchbase, it could deserialize to scala class

  22. def getAllReplicasType[T](target: TypeRef[T], asyncCollection: AsyncCollection): Flow[String, T, NotUsed]

    reference to CouchbaseFlow.getAllReplicasObject, deserialize to class with Generics

  23. def getAllReplicasType[T](target: TypeRef[T], getOptions: GetAllReplicasOptions, asyncCollection: AsyncCollection): Flow[String, T, NotUsed]

    reference to CouchbaseFlow.getAllReplicasObject, deserialize to class with Generics

  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  25. def getJson(asyncCollection: AsyncCollection): Flow[String, JsonObject, NotUsed]

    reference to CouchbaseFlow.get deserialize to Couchbase JsonObject

  26. def getJson(options: GetOptions, asyncCollection: AsyncCollection): Flow[String, JsonObject, NotUsed]

    reference to CouchbaseFlow.get deserialize to Couchbase JsonObject

  27. def getObject[T](target: Class[T], asyncCollection: AsyncCollection): Flow[String, T, NotUsed]

    reference to CouchbaseFlow.get,deserialize to class If you add DefaultScalaModule to jackson of couchbase, it could deserialize to scala class

  28. def getObject[T](target: Class[T], options: GetOptions, asyncCollection: AsyncCollection): Flow[String, T, NotUsed]

    reference to CouchbaseFlow.get,deserialize to class If you add DefaultScalaModule to jackson of couchbase, it could deserialize to scala class

  29. def getType[T](target: TypeRef[T], asyncCollection: AsyncCollection): Flow[String, T, NotUsed]

    reference to CouchbaseSource.getObject,deserialize to class with Generics

  30. def getType[T](target: TypeRef[T], options: GetOptions, asyncCollection: AsyncCollection): Flow[String, T, NotUsed]

    reference to CouchbaseSource.getObject,deserialize to class with Generics

  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  32. def increment(asyncCollection: AsyncCollection): Flow[String, CounterResult, NotUsed]

    Increments the counter document by one or the number defined in the options.

    Increments the counter document by one or the number defined in the options.

    See also

    com.couchbase.client.java.AsyncBinaryCollection#increment

  33. def increment(options: IncrementOptions, asyncCollection: AsyncCollection): Flow[String, CounterResult, NotUsed]

    Increments the counter document by one or the number defined in the options.

    Increments the counter document by one or the number defined in the options.

    See also

    com.couchbase.client.java.AsyncBinaryCollection#increment

  34. def insert[T](applyId: Function[T, String], asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Inserts a full document which does not exist yet with custom options.

    Inserts a full document which does not exist yet with custom options.

    applyId

    parse id function, which is the document id

    See also

    com.couchbase.client.java.AsyncCollection#insert

  35. def insert[T](applyId: Function[T, String], insertOptions: InsertOptions, asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Inserts a full document which does not exist yet with custom options.

    Inserts a full document which does not exist yet with custom options.

    applyId

    parse id function, which is the document id

    See also

    com.couchbase.client.java.AsyncCollection#insert

  36. def insertDoc[T](asyncCollection: AsyncCollection): Flow[MutationDocument[T], MutationDocument[T], NotUsed]

    reference to CouchbaseFlow.insert
    use MutationDocument to wrapper id, document and result(MutationResult)

  37. def insertDoc[T](insertOptions: InsertOptions, asyncCollection: AsyncCollection): Flow[MutationDocument[T], MutationDocument[T], NotUsed]

    reference to CouchbaseFlow.insert
    use MutationDocument to wrapper id, document and result(MutationResult)

  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. def mutateIn(specs: List[MutateInSpec], asyncCollection: AsyncCollection): Flow[String, MutateInResult, NotUsed]

    Performs mutations to document fragments with custom options.

    Performs mutations to document fragments with custom options.

    See also

    com.couchbase.client.java.AsyncCollection#mutateIn

  40. def mutateIn(specs: List[MutateInSpec], options: MutateInOptions, asyncCollection: AsyncCollection): Flow[String, MutateInResult, NotUsed]

    Performs mutations to document fragments with custom options.

    Performs mutations to document fragments with custom options.

    See also

    com.couchbase.client.java.AsyncCollection#mutateIn

  41. def mutateInDoc[T](specs: List[MutateInSpec], asyncCollection: AsyncCollection): Flow[MutationDocument[T], MutationDocument[T], NotUsed]

    reference to CouchbaseFlow.mutateIn use MutationDocument to wrapper id, document and result(MutationResult)

  42. def mutateInDoc[T](specs: List[MutateInSpec], options: MutateInOptions, asyncCollection: AsyncCollection): Flow[MutationDocument[T], MutationDocument[T], NotUsed]

    reference to CouchbaseFlow.mutateIn use MutationDocument to wrapper id, document and result(MutationResult)

  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  46. def prepend(asyncCollection: AsyncCollection): Flow[MutationBinaryDocument, MutationResult, NotUsed]

    Prepends binary content to the document with custom options.

    Prepends binary content to the document with custom options.

    See also

    com.couchbase.client.java.AsyncBinaryCollection#prepend

  47. def prepend(options: PrependOptions, asyncCollection: AsyncCollection): Flow[MutationBinaryDocument, MutationResult, NotUsed]

    Prepends binary content to the document with custom options.

    Prepends binary content to the document with custom options.

    See also

    com.couchbase.client.java.AsyncBinaryCollection#prepend

  48. def remove[T](applyId: Function[T, String], asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Removes a Document from a collection with custom options.

    Removes a Document from a collection with custom options.

    applyId

    parse id function, which is the document id, id streams can use remove[String](e => e)

    See also

    com.couchbase.client.java.AsyncCollection#remove

  49. def remove[T](applyId: Function[T, String], removeOptions: RemoveOptions, asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Removes a Document from a collection with custom options.

    Removes a Document from a collection with custom options.

    applyId

    parse id function, which is the document id, id streams can use remove[String](e => e)

    See also

    com.couchbase.client.java.AsyncCollection#remove

  50. def replace[T](applyId: Function[T, String], asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Replaces a full document which already exists with custom options.

    Replaces a full document which already exists with custom options.

    applyId

    parse id function, which is the document id

    See also

    com.couchbase.client.java.AsyncCollection#replace

  51. def replace[T](applyId: Function[T, String], replaceOptions: ReplaceOptions, asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Replaces a full document which already exists with custom options.

    Replaces a full document which already exists with custom options.

    applyId

    parse id function, which is the document id

    See also

    com.couchbase.client.java.AsyncCollection#replace

  52. def replaceDoc[T](asyncCollection: AsyncCollection): Flow[MutationDocument[T], MutationDocument[T], NotUsed]

    reference to CouchbaseFlow.replace use MutationDocument to wrapper id, document and result(MutationResult)

  53. def replaceDoc[T](replaceOptions: ReplaceOptions, asyncCollection: AsyncCollection): Flow[MutationDocument[T], MutationDocument[T], NotUsed]

    reference to CouchbaseFlow.replace use MutationDocument to wrapper id, document and result(MutationResult)

  54. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  55. def toString(): String
    Definition Classes
    AnyRef → Any
  56. def touch(expiry: Duration, asyncCollection: AsyncCollection): Flow[String, MutationResult, NotUsed]

    Updates the expiry of the document with the given id with custom options.

    Updates the expiry of the document with the given id with custom options.

    See also

    com.couchbase.client.java.AsyncCollection#touch

  57. def touch(expiry: Duration, options: TouchOptions, asyncCollection: AsyncCollection): Flow[String, MutationResult, NotUsed]

    Updates the expiry of the document with the given id with custom options.

    Updates the expiry of the document with the given id with custom options.

    See also

    com.couchbase.client.java.AsyncCollection#touch

  58. def touchDuration[T](applyId: Function[T, String], expiry: Duration, asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Updates the expiry of the document with the given id with custom options.

    Updates the expiry of the document with the given id with custom options.

    applyId

    parse id function, which is the document id

  59. def touchDuration[T](applyId: Function[T, String], expiry: Duration, touchOptions: TouchOptions, asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Updates the expiry of the document with the given id with custom options.

    Updates the expiry of the document with the given id with custom options.

    applyId

    parse id function, which is the document id

  60. def touchInstant[T](applyId: Function[T, String], expiry: Instant, asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Updates the expiry of the document with the given id with custom options.

    Updates the expiry of the document with the given id with custom options.

    See also

    com.couchbase.client.java.AsyncCollection#touch

  61. def touchInstant[T](applyId: Function[T, String], expiry: Instant, touchOptions: TouchOptions, asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Updates the expiry of the document with the given id with custom options.

    Updates the expiry of the document with the given id with custom options.

    See also

    com.couchbase.client.java.AsyncCollection#touch

  62. def upsert[T](applyId: Function[T, String], asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Upsert a full document which might or might not exist yet with custom options.

    Upsert a full document which might or might not exist yet with custom options.

    applyId

    parse id function, which is the document id

    See also

    com.couchbase.client.java.AsyncCollection#upsert

  63. def upsert[T](applyId: Function[T, String], upsertOptions: UpsertOptions, asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Upsert a full document which might or might not exist yet with custom options.

    Upsert a full document which might or might not exist yet with custom options.

    applyId

    parse id function, which is the document id

    See also

    com.couchbase.client.java.AsyncCollection#upsert

  64. def upsertDoc[T](asyncCollection: AsyncCollection): Flow[MutationDocument[T], MutationDocument[T], NotUsed]

    reference to CouchbaseFlow.upsert use MutationDocument to wrapper id, document and result(MutationResult)

  65. def upsertDoc[T](upsertOptions: UpsertOptions, asyncCollection: AsyncCollection): Flow[MutationDocument[T], MutationDocument[T], NotUsed]

    reference to CouchbaseFlow.upsert use MutationDocument to wrapper id, document and result(MutationResult)

  66. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  67. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  68. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def exists[T](applyId: (T) => String)(implicit asyncCollection: AsyncCollection): Flow[T, Boolean, NotUsed]

    Checks if the given document ID exists on the active partition with custom options.

    Checks if the given document ID exists on the active partition with custom options.

    applyId

    parse id function, which is the document id, id streams can use exists[String](e => e)

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) Use the overloaded method that takes a java.util.function.Function instead

    See also

    com.couchbase.client.java.AsyncCollection#exists

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  3. def insert[T](applyId: (T) => String, insertOptions: InsertOptions = InsertOptions.insertOptions())(implicit asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Inserts a full document which does not exist yet with custom options.

    Inserts a full document which does not exist yet with custom options.

    applyId

    parse id function, which is the document id

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) Use the overloaded method that takes a java.util.function.Function instead

    See also

    com.couchbase.client.java.AsyncCollection#insert

  4. def remove[T](applyId: (T) => String, removeOptions: RemoveOptions = RemoveOptions.removeOptions())(implicit asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Removes a Document from a collection with custom options.

    Removes a Document from a collection with custom options.

    applyId

    parse id function, which is the document id, id streams can use remove[String](e => e)

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) Use the overloaded method that takes a java.util.function.Function instead

    See also

    com.couchbase.client.java.AsyncCollection#remove

  5. def replace[T](applyId: (T) => String, replaceOptions: ReplaceOptions = ReplaceOptions.replaceOptions())(implicit asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Replaces a full document which already exists with custom options.

    Replaces a full document which already exists with custom options.

    applyId

    parse id function, which is the document id

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) Use the overloaded method that takes a java.util.function.Function instead

    See also

    com.couchbase.client.java.AsyncCollection#replace

  6. def touchDuration[T](applyId: (T) => String, expiry: Duration, touchOptions: TouchOptions = TouchOptions.touchOptions())(implicit asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Updates the expiry of the document with the given id with custom options.

    Updates the expiry of the document with the given id with custom options.

    applyId

    parse id function, which is the document id

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) Use the overloaded method that takes a java.util.function.Function instead

  7. def touchInstant[T](applyId: (T) => String, expiry: Instant, touchOptions: TouchOptions = TouchOptions.touchOptions())(implicit asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Updates the expiry of the document with the given id with custom options.

    Updates the expiry of the document with the given id with custom options.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) Use the overloaded method that takes a java.util.function.Function instead

    See also

    com.couchbase.client.java.AsyncCollection#touch

  8. def upsert[T](applyId: (T) => String, upsertOptions: UpsertOptions = UpsertOptions.upsertOptions())(implicit asyncCollection: AsyncCollection): Flow[T, T, NotUsed]

    Upsert a full document which might or might not exist yet with custom options.

    Upsert a full document which might or might not exist yet with custom options.

    applyId

    parse id function, which is the document id

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) Use the overloaded method that takes a java.util.function.Function instead

    See also

    com.couchbase.client.java.AsyncCollection#upsert

Inherited from AnyRef

Inherited from Any

Ungrouped