object CouchbaseSource
- Source
- CouchbaseSource.scala
- Alphabetic
- By Inheritance
- CouchbaseSource
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- 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
- 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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- 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
- 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 listsimilar 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
- 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 listsimilar 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
- def getAllReplicasJson(id: String, asyncCollection: AsyncCollection): Source[JsonObject, NotUsed]
reference to
CouchbaseSource.getAllReplicas, deserialize to Couchbase JsonObjectreference to
CouchbaseSource.getAllReplicas, deserialize to Couchbase JsonObject- Since
2.0.0
- def getAllReplicasJson(id: String, options: GetAllReplicasOptions, asyncCollection: AsyncCollection): Source[JsonObject, NotUsed]
reference to
CouchbaseSource.getAllReplicas, deserialize to Couchbase JsonObject - 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 classreference to
CouchbaseSource.getAllReplicas, deserialize to class If you add DefaultScalaModule to jackson of couchbase, it could deserialize to scala class- Since
2.0.0
- 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 - def getAllReplicasType[T](id: String, target: TypeRef[T], asyncCollection: AsyncCollection): Source[T, NotUsed]
reference to
CouchbaseSource.getAllReplicasObject, deserialize to class with Genericsreference to
CouchbaseSource.getAllReplicasObject, deserialize to class with Generics- Since
2.0.0
- def getAllReplicasType[T](id: String, target: TypeRef[T], options: GetAllReplicasOptions, asyncCollection: AsyncCollection): Source[T, NotUsed]
reference to
CouchbaseSource.getAllReplicasObject, deserialize to class with Generics - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getJson(id: String, asyncCollection: AsyncCollection): Source[JsonObject, NotUsed]
reference to
CouchbaseSource.getdeserialize to Couchbase JsonObjectreference to
CouchbaseSource.getdeserialize to Couchbase JsonObject- Since
2.0.0
- def getJson(id: String, options: GetOptions, asyncCollection: AsyncCollection): Source[JsonObject, NotUsed]
reference to
CouchbaseSource.getdeserialize to Couchbase JsonObject - def getObject[T](id: String, target: Class[T], asyncCollection: AsyncCollection): Source[T, NotUsed]
reference to
CouchbaseSource.get,deserialize to classreference to
CouchbaseSource.get,deserialize to class- Since
2.0.0
- def getObject[T](id: String, target: Class[T], options: GetOptions, asyncCollection: AsyncCollection): Source[T, NotUsed]
reference to
CouchbaseSource.get,deserialize to class - def getType[T](id: String, target: TypeRef[T], asyncCollection: AsyncCollection): Source[T, NotUsed]
reference to
CouchbaseSource.getObject,deserialize to class with Genericsreference to
CouchbaseSource.getObject,deserialize to class with Generics- Since
2.0.0
- def getType[T](id: String, target: TypeRef[T], options: GetOptions, asyncCollection: AsyncCollection): Source[T, NotUsed]
reference to
CouchbaseSource.getObject,deserialize to class with Generics - def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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
- 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 } - 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
- 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
- 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
- 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
- def scan(scanType: ScanType, asyncCollection: AsyncCollection): Source[ScanResult, NotUsed]
similar to Get
CouchbaseSource.get, batch get documents from collection by ScanTypeScanTypesimilar to Get
CouchbaseSource.get, batch get documents from collection by ScanTypeScanType- Since
2.0.0
- def scan(scanType: ScanType, options: ScanOptions, asyncCollection: AsyncCollection): Source[ScanResult, NotUsed]
similar to Get
CouchbaseSource.get, batch get documents from collection by ScanTypeScanType - def scanJson(scanType: ScanType, asyncCollection: AsyncCollection): Source[JsonObject, NotUsed]
reference to
CouchbaseSource.scan, deserialize to Couchbase JsonObjectreference to
CouchbaseSource.scan, deserialize to Couchbase JsonObject- Since
2.0.0
- def scanJson(scanType: ScanType, options: ScanOptions, asyncCollection: AsyncCollection): Source[JsonObject, NotUsed]
reference to
CouchbaseSource.scan, deserialize to Couchbase JsonObject - 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 classreference to
CouchbaseSource.scan, deserialize to class If you add DefaultScalaModule to jackson of couchbase, it could deserialize to scala class- Since
2.0.0
- 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 - def scanType[T](scanType: ScanType, target: TypeRef[T], asyncCollection: AsyncCollection): Source[T, NotUsed]
reference to
CouchbaseSource.scan,CouchbaseSource.scanObject, deserialize to class with Genericsreference to
CouchbaseSource.scan,CouchbaseSource.scanObject, deserialize to class with Generics- Since
2.0.0
- 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 - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])