case class AnalyticsResult(rows: Seq[AnalyticsChunkRow], metaData: AnalyticsMetaData) extends Product with Serializable
The results of an Analytics query.
- rows
all rows returned from the analytics service
- metaData
any additional information related to the Analytics query
- Since
1.0.0
- Alphabetic
- By Inheritance
- AnalyticsResult
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AnalyticsResult(rows: Seq[AnalyticsChunkRow], metaData: AnalyticsMetaData)
- rows
all rows returned from the analytics service
- metaData
any additional information related to the Analytics query
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metaData: AnalyticsMetaData
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def rowsAs[T](implicit deserializer: JsonDeserializer[T]): Try[Seq[T]]
All returned rows.
All returned rows. All rows are buffered from the analytics service first.
- T
The rows can be converted into the user's desired type. This can be any type for which an implicit
JsonDeserializer[T]
can be found, and can includecom.couchbase.client.scala.json.JsonObject
, a case class, String, or one of a number of supported third-party JSON libraries.- returns
either
Success
if all rows could be decoded successfully, or a Failure containing the first error
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated