case class QueryResult(rows: Seq[QueryChunkRow], metaData: QueryMetaData) extends Product with Serializable
The results of a N1QL query.
- rows
all rows returned from the query
- metaData
any additional information related to the query
- Alphabetic
- By Inheritance
- QueryResult
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new QueryResult(rows: Seq[QueryChunkRow], metaData: QueryMetaData)
- rows
all rows returned from the query
- metaData
any additional information related to the 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: QueryMetaData
- 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]]
Returns an
Iterator
of any returned rows.Returns an
Iterator
of any returned rows. All rows are buffered from the query service first.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 includeJsonObject
, a case class, String, or one of a number of supported third-party JSON libraries; see these JSON docs for a full listThe return type is of
Iterator[Try[T]]
in case any row cannot be decoded. See rowsAsfor a more convenient interface that does not require handling individual row decode errors.
- 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