c
com.couchbase.client.scala.transactions.config
TransactionInsertOptions
Companion object TransactionInsertOptions
case class TransactionInsertOptions extends Product with Serializable
Operations controlling a transactional insert.
- Annotations
- @Volatile()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TransactionInsertOptions
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
- 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
- final def getClass(): Class[_ <: AnyRef]
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def transcoder(transcoder: Transcoder): TransactionInsertOptions
Specify a custom Transcoder that is used to encode the content of the document.
Specify a custom Transcoder that is used to encode the content of the document.
If not-specified, the com.couchbase.client.scala.env.ClusterEnvironment's com.couchbase.client.scala.codec.JsonSerializer (NOT transcoder) is used.
It is marked as being available from 7.6.2 because prior to this, only JSON documents were supported in transactions. This release added support for binary documents.
- transcoder
the custom transcoder that should be used for encoding.
- returns
a copy of this with the change applied, for chaining.
- Annotations
- @SinceCouchbase()
- val transcoder: Option[Transcoder]
- 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])
- 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
(Since version 9)