Packages

object CouchbaseSource

Source
CouchbaseSource.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CouchbaseSource
  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 analyticsQuery(statement: String, scope: AsyncScope): Source[AnalyticsResult, NotUsed]

    Performs an Analytics query , QueryResult contains List<Row>

    Performs an Analytics query , QueryResult contains List<Row>

    val rows: List[JsonObject] = QueryResult.rowsAsObject, every Row is a json with CollectionName key

       {
         "collectionName": Document
       }
    

    Warning: couchbase-community not support analyticsQuery, we not test this API https://www.couchbase.com/products/editions/server/

    statement

    Analytics query sql

    Since

    2.0.0

  5. def analyticsQuery(statement: String, options: AnalyticsOptions, scope: AsyncScope): Source[AnalyticsResult, NotUsed]

    Performs an Analytics query , QueryResult contains List<Row>

    Performs an Analytics query , QueryResult contains List<Row>

    val rows: List[JsonObject] = QueryResult.rowsAsObject, every Row is a json with CollectionName key

       {
         "collectionName": Document
       }
    

    Warning: couchbase-community not support analyticsQuery, we not test this API https://www.couchbase.com/products/editions/server/

    statement

    Analytics query sql

  6. def analyticsQueryJson(statement: String, scope: AsyncScope): Source[JsonObject, NotUsed]

    Warning: couchbase-community not support analyticsQuery, we not test this API

    Warning: couchbase-community not support analyticsQuery, we not test this API

    Performs an Analytics query and convert document row to jsonObject
    different with analyticsQuery, jsonObject not has the collection Key, but is Document directly

    Since

    2.0.0

    See also

    CouchbaseSource.analyticsQuery

  7. def analyticsQueryJson(statement: String, options: AnalyticsOptions, scope: AsyncScope): Source[JsonObject, NotUsed]

    Warning: couchbase-community not support analyticsQuery, we not test this API

    Warning: couchbase-community not support analyticsQuery, we not test this API

    Performs an Analytics query and convert document row to jsonObject
    different with analyticsQuery, jsonObject not has the collection Key, but is Document directly

    See also

    CouchbaseSource.analyticsQuery

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def get(id: String, asyncCollection: AsyncCollection): Source[GetResult, NotUsed]

    get a document by id from Couchbase collection

    get a document by id from Couchbase collection

    id

    document id

    Since

    2.0.0

  13. def get(id: String, options: GetOptions, asyncCollection: AsyncCollection): Source[GetResult, NotUsed]

    get a document by id from Couchbase collection

    get a document by id from Couchbase collection

    id

    document id

    options

    reference to Couchbase options doc

  14. def getAllReplicas(id: String, asyncCollection: AsyncCollection): Source[GetReplicaResult, NotUsed]

    similar to CouchbaseSource.get .Reads from replicas or the active node based on the options and returns the results as a list

    similar to CouchbaseSource.get .Reads from replicas or the active node based on the options and returns the results as a list

    Since

    2.0.0

    See also

    CouchbaseSource#get

  15. def getAllReplicas(id: String, options: GetAllReplicasOptions, asyncCollection: AsyncCollection): Source[GetReplicaResult, NotUsed]

    similar to CouchbaseSource.get .Reads from replicas or the active node based on the options and returns the results as a list

    similar to CouchbaseSource.get .Reads from replicas or the active node based on the options and returns the results as a list

    options

    reference to Couchbase options doc

    See also

    CouchbaseSource#get

  16. def getAllReplicasJson(id: String, asyncCollection: AsyncCollection): Source[JsonObject, NotUsed]

    reference to CouchbaseSource.getAllReplicas, deserialize to Couchbase JsonObject

    reference to CouchbaseSource.getAllReplicas, deserialize to Couchbase JsonObject

    Since

    2.0.0

  17. def getAllReplicasJson(id: String, options: GetAllReplicasOptions, asyncCollection: AsyncCollection): Source[JsonObject, NotUsed]

    reference to CouchbaseSource.getAllReplicas, deserialize to Couchbase JsonObject

  18. def getAllReplicasObject[T](id: String, target: Class[T], asyncCollection: AsyncCollection): Source[T, NotUsed]

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

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

    Since

    2.0.0

  19. def getAllReplicasObject[T](id: String, target: Class[T], options: GetAllReplicasOptions, asyncCollection: AsyncCollection): Source[T, NotUsed]

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

  20. def getAllReplicasType[T](id: String, target: TypeRef[T], asyncCollection: AsyncCollection): Source[T, NotUsed]

    reference to CouchbaseSource.getAllReplicasObject, deserialize to class with Generics

    reference to CouchbaseSource.getAllReplicasObject, deserialize to class with Generics

    Since

    2.0.0

  21. def getAllReplicasType[T](id: String, target: TypeRef[T], options: GetAllReplicasOptions, asyncCollection: AsyncCollection): Source[T, NotUsed]

    reference to CouchbaseSource.getAllReplicasObject, deserialize to class with Generics

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

    reference to CouchbaseSource.get deserialize to Couchbase JsonObject

    reference to CouchbaseSource.get deserialize to Couchbase JsonObject

    Since

    2.0.0

  24. def getJson(id: String, options: GetOptions, asyncCollection: AsyncCollection): Source[JsonObject, NotUsed]

    reference to CouchbaseSource.get deserialize to Couchbase JsonObject

  25. def getObject[T](id: String, target: Class[T], asyncCollection: AsyncCollection): Source[T, NotUsed]

    reference to CouchbaseSource.get,deserialize to class

    reference to CouchbaseSource.get,deserialize to class

    Since

    2.0.0

  26. def getObject[T](id: String, target: Class[T], options: GetOptions, asyncCollection: AsyncCollection): Source[T, NotUsed]

    reference to CouchbaseSource.get,deserialize to class

  27. def getType[T](id: String, target: TypeRef[T], asyncCollection: AsyncCollection): Source[T, NotUsed]

    reference to CouchbaseSource.getObject,deserialize to class with Generics

    reference to CouchbaseSource.getObject,deserialize to class with Generics

    Since

    2.0.0

  28. def getType[T](id: String, target: TypeRef[T], options: GetOptions, asyncCollection: AsyncCollection): Source[T, NotUsed]

    reference to CouchbaseSource.getObject,deserialize to class with Generics

  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  34. def query(statement: String, scope: AsyncScope): Source[QueryResult, NotUsed]

    N1QL query in a Scope.

    N1QL query in a Scope.

    QueryResult contains List<Row>, every Row is a json like

      {
        "collectionName": Document
      }
    

    Since

    2.0.0

  35. def query(statement: String, options: QueryOptions, scope: AsyncScope): Source[QueryResult, NotUsed]

    N1QL query in a Scope.

    N1QL query in a Scope.

    QueryResult contains List<Row>, every Row is a json like

      {
        "collectionName": Document
      }
    

  36. def queryAllIndex(asyncCollection: AsyncCollection): Source[QueryIndex, NotUsed]

    Fetches all indexes from this collection with custom options.

    Fetches all indexes from this collection with custom options.

    Since

    2.0.0

    See also

    AsyncCollectionQueryIndexManager#getAllIndexes

  37. def queryAllIndex(options: GetAllQueryIndexesOptions, asyncCollection: AsyncCollection): Source[QueryIndex, NotUsed]

    Fetches all indexes from this collection with custom options.

    Fetches all indexes from this collection with custom options.

    See also

    AsyncCollectionQueryIndexManager#getAllIndexes

  38. def queryJson(statement: String, scope: AsyncScope): Source[JsonObject, NotUsed]

    N1QL query in a Scope.

    N1QL query in a Scope.

    statement

    N1QL query sql

    Since

    2.0.0

    See also

    CouchbaseSource.query

  39. def queryJson(statement: String, options: QueryOptions, scope: AsyncScope): Source[JsonObject, NotUsed]

    N1QL query in a Scope.

    N1QL query in a Scope.

    statement

    N1QL query sql

    See also

    CouchbaseSource.query

  40. def scan(scanType: ScanType, asyncCollection: AsyncCollection): Source[ScanResult, NotUsed]

    similar to GetCouchbaseSource.get, batch get documents from collection by ScanTypeScanType

    similar to GetCouchbaseSource.get, batch get documents from collection by ScanTypeScanType

    Since

    2.0.0

  41. def scan(scanType: ScanType, options: ScanOptions, asyncCollection: AsyncCollection): Source[ScanResult, NotUsed]

    similar to GetCouchbaseSource.get, batch get documents from collection by ScanTypeScanType

  42. def scanJson(scanType: ScanType, asyncCollection: AsyncCollection): Source[JsonObject, NotUsed]

    reference to CouchbaseSource.scan, deserialize to Couchbase JsonObject

    reference to CouchbaseSource.scan, deserialize to Couchbase JsonObject

    Since

    2.0.0

  43. def scanJson(scanType: ScanType, options: ScanOptions, asyncCollection: AsyncCollection): Source[JsonObject, NotUsed]

    reference to CouchbaseSource.scan, deserialize to Couchbase JsonObject

  44. def scanObject[T](scanType: ScanType, target: Class[T], asyncCollection: AsyncCollection): Source[T, NotUsed]

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

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

    Since

    2.0.0

  45. def scanObject[T](scanType: ScanType, target: Class[T], options: ScanOptions, asyncCollection: AsyncCollection): Source[T, NotUsed]

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

  46. def scanType[T](scanType: ScanType, target: TypeRef[T], asyncCollection: AsyncCollection): Source[T, NotUsed]

    reference to CouchbaseSource.scan, CouchbaseSource.scanObject, deserialize to class with Generics

    reference to CouchbaseSource.scan, CouchbaseSource.scanObject, deserialize to class with Generics

    Since

    2.0.0

  47. def scanType[T](scanType: ScanType, target: TypeRef[T], options: ScanOptions, asyncCollection: AsyncCollection): Source[T, NotUsed]

    reference to CouchbaseSource.scan, CouchbaseSource.scanObject, deserialize to class with Generics

  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  52. 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

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped