case class CommandWithPackRunner[P <: SerializationPack](pack: P, failover: FailoverStrategy = FailoverStrategy()) extends Product with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 0.16.0) Internal: will be made private
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommandWithPackRunner
- Serializable
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CommandWithPackRunner(pack: P, failover: FailoverStrategy = FailoverStrategy())
Type Members
- case class RawCommand(document: P.Document) extends Command with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from CommandWithPackRunner[P] toany2stringadd[CommandWithPackRunner[P]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (CommandWithPackRunner[P], B)
- Implicit
- This member is added by an implicit conversion from CommandWithPackRunner[P] toArrowAssoc[CommandWithPackRunner[P]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[C <: CollectionCommand](collection: Collection, command: C)(implicit writer: P.Writer[ResolvedCollectionCommand[C]]): CursorFetcher[pack.type, Cursor]
- def apply[R, C <: CollectionCommand with CommandWithResult[R]](collection: Collection, command: C with CommandWithResult[R], rp: ReadPreference)(implicit writer: P.Writer[ResolvedCollectionCommand[C]], reader: P.Reader[R], ec: ExecutionContext): Future[R]
- def apply[C <: Command](db: DB, command: C)(implicit writer: P.Writer[C]): CursorFetcher[pack.type, Cursor]
- def apply[R, C <: Command with CommandWithResult[R]](db: DB, command: C with CommandWithResult[R], rp: ReadPreference)(implicit writer: P.Writer[C], reader: P.Reader[R], ec: ExecutionContext): Future[R]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (CommandWithPackRunner[P]) => Boolean, msg: => Any): CommandWithPackRunner[P]
- Implicit
- This member is added by an implicit conversion from CommandWithPackRunner[P] toEnsuring[CommandWithPackRunner[P]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (CommandWithPackRunner[P]) => Boolean): CommandWithPackRunner[P]
- Implicit
- This member is added by an implicit conversion from CommandWithPackRunner[P] toEnsuring[CommandWithPackRunner[P]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): CommandWithPackRunner[P]
- Implicit
- This member is added by an implicit conversion from CommandWithPackRunner[P] toEnsuring[CommandWithPackRunner[P]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): CommandWithPackRunner[P]
- Implicit
- This member is added by an implicit conversion from CommandWithPackRunner[P] toEnsuring[CommandWithPackRunner[P]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val failover: FailoverStrategy
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from CommandWithPackRunner[P] toStringFormat[CommandWithPackRunner[P]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val pack: P
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def rawCommand[T](input: T)(implicit writer: P.Writer[T]): RawCommand
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def unboxed[A <: AnyVal, R <: BoxedAnyVal[A], C <: CollectionCommand with CommandWithResult[R]](collection: Collection, command: C with CommandWithResult[R with BoxedAnyVal[A]], rp: ReadPreference)(implicit writer: P.Writer[ResolvedCollectionCommand[C]], reader: P.Reader[R], ec: ExecutionContext): Future[A]
- def unboxed[A <: AnyVal, R <: BoxedAnyVal[A], C <: Command with CommandWithResult[R]](db: DB, command: C with CommandWithResult[R with BoxedAnyVal[A]], rp: ReadPreference)(implicit writer: P.Writer[C], reader: P.Reader[R], ec: ExecutionContext): Future[A]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def withResponse[R, C <: CollectionCommand with CommandWithResult[R]](collection: Collection, command: C, rp: ReadPreference)(implicit writer: P.Writer[ResolvedCollectionCommand[C]], reader: P.Reader[R], ec: ExecutionContext): Future[ResponseResult[R]]
Executes the
command
and returns its result along with the MongoDB response. - object RawCommand extends Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def →[B](y: B): (CommandWithPackRunner[P], B)
- Implicit
- This member is added by an implicit conversion from CommandWithPackRunner[P] toArrowAssoc[CommandWithPackRunner[P]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.