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
- Serializable
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
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] to any2stringadd[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] to ArrowAssoc[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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
ensuring(cond: (CommandWithPackRunner[P]) ⇒ Boolean, msg: ⇒ Any): CommandWithPackRunner[P]
- Implicit
- This member is added by an implicit conversion from CommandWithPackRunner[P] to Ensuring[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] to Ensuring[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] to Ensuring[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] to Ensuring[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
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from CommandWithPackRunner[P] to StringFormat[CommandWithPackRunner[P]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pack: P
- 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
commandand returns its result along with the MongoDB response. -
def
→[B](y: B): (CommandWithPackRunner[P], B)
- Implicit
- This member is added by an implicit conversion from CommandWithPackRunner[P] to ArrowAssoc[CommandWithPackRunner[P]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- object RawCommand extends Serializable