final case class CompoundWrite(head: SimpleWriteCommand, tailCommand: WriteCommand) extends WriteCommand with Iterable[SimpleWriteCommand] with Product with Serializable
A write command which aggregates two other write commands. Using this construct
you can chain a number of Write and/or WriteFile commands together in a way
that allows them to be handled as a single write which gets written out to the
network as quickly as possible.
If the sub commands contain ack
requests they will be honored as soon as the
respective write has been written completely.
- Alphabetic
- By Inheritance
- CompoundWrite
- Serializable
- Product
- Equals
- Iterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- WriteCommand
- Command
- HasFailureMessage
- Message
- NoSerializationVerificationNeeded
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CompoundWrite(head: SimpleWriteCommand, tailCommand: WriteCommand)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ++[B >: SimpleWriteCommand](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def ++:(writes: Iterable[WriteCommand]): WriteCommand
Prepends this command with a number of other writes.
Prepends this command with a number of other writes. The first element of the given Iterable becomes the first sub write of a potentially created
CompoundWrite
.- Definition Classes
- WriteCommand
- def +:(other: SimpleWriteCommand): CompoundWrite
Prepends this command with another
Write
orWriteFile
to form aCompoundWrite
.Prepends this command with another
Write
orWriteFile
to form aCompoundWrite
.- Definition Classes
- WriteCommand
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addString(b: StringBuilder): b.type
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: StringBuilder, sep: String): b.type
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
- Definition Classes
- IterableOnceOps
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def className: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def coll: CompoundWrite.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[B](pf: PartialFunction[SimpleWriteCommand, B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[SimpleWriteCommand, B]): Option[B]
- Definition Classes
- IterableOnceOps
- def concat[B >: SimpleWriteCommand](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- def copyToArray[B >: SimpleWriteCommand](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: SimpleWriteCommand](xs: Array[B], start: Int): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def copyToArray[B >: SimpleWriteCommand](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def corresponds[B](that: IterableOnce[B])(p: (SimpleWriteCommand, B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: (SimpleWriteCommand) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def drop(n: Int): Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps → IterableOnceOps
- def dropRight(n: Int): Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps
- def dropWhile(p: (SimpleWriteCommand) => Boolean): Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps → IterableOnceOps
- def empty: Iterable[SimpleWriteCommand]
- Definition Classes
- IterableFactoryDefaults → IterableOps
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def exists(p: (SimpleWriteCommand) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def failureMessage: CommandFailed
- Definition Classes
- Command → HasFailureMessage
- def filter(pred: (SimpleWriteCommand) => Boolean): Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps → IterableOnceOps
- def filterNot(pred: (SimpleWriteCommand) => Boolean): Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps → IterableOnceOps
- def find(p: (SimpleWriteCommand) => Boolean): Option[SimpleWriteCommand]
- Definition Classes
- IterableOnceOps
- def flatMap[B](f: (SimpleWriteCommand) => IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: (SimpleWriteCommand) => IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def fold[A1 >: SimpleWriteCommand](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, SimpleWriteCommand) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: (SimpleWriteCommand, B) => B): B
- Definition Classes
- IterableOnceOps
- def forall(p: (SimpleWriteCommand) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def foreach[U](f: (SimpleWriteCommand) => U): Unit
- Definition Classes
- IterableOnceOps
- def fromSpecific(coll: IterableOnce[SimpleWriteCommand]): Iterable[SimpleWriteCommand]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def groupBy[K](f: (SimpleWriteCommand) => K): Map[K, Iterable[SimpleWriteCommand]]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: (SimpleWriteCommand) => K)(f: (SimpleWriteCommand) => B): Map[K, Iterable[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: (SimpleWriteCommand) => K)(f: (SimpleWriteCommand) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): Iterator[Iterable[SimpleWriteCommand]]
- Definition Classes
- IterableOps
- val head: SimpleWriteCommand
- Definition Classes
- CompoundWrite → IterableOps
- def headOption: Option[SimpleWriteCommand]
- Definition Classes
- IterableOps
- def init: Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps
- def inits: Iterator[Iterable[SimpleWriteCommand]]
- Definition Classes
- IterableOps
- def isEmpty: Boolean
- Definition Classes
- IterableOnceOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- def iterableFactory: IterableFactory[Iterable]
- Definition Classes
- Iterable → Iterable → IterableOps
- def iterator: Iterator[SimpleWriteCommand]
- Definition Classes
- CompoundWrite → IterableOnce
- def knownSize: Int
- Definition Classes
- IterableOnce
- def last: SimpleWriteCommand
- Definition Classes
- IterableOps
- def lastOption: Option[SimpleWriteCommand]
- Definition Classes
- IterableOps
- def lazyZip[B](that: Iterable[B]): LazyZip2[SimpleWriteCommand, B, CompoundWrite.this.type]
- Definition Classes
- Iterable
- def map[B](f: (SimpleWriteCommand) => B): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def max[B >: SimpleWriteCommand](implicit ord: Ordering[B]): SimpleWriteCommand
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: (SimpleWriteCommand) => B)(implicit ord: Ordering[B]): SimpleWriteCommand
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: (SimpleWriteCommand) => B)(implicit ord: Ordering[B]): Option[SimpleWriteCommand]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: SimpleWriteCommand](implicit ord: Ordering[B]): Option[SimpleWriteCommand]
- Definition Classes
- IterableOnceOps
- def min[B >: SimpleWriteCommand](implicit ord: Ordering[B]): SimpleWriteCommand
- Definition Classes
- IterableOnceOps
- def minBy[B](f: (SimpleWriteCommand) => B)(implicit ord: Ordering[B]): SimpleWriteCommand
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: (SimpleWriteCommand) => B)(implicit ord: Ordering[B]): Option[SimpleWriteCommand]
- Definition Classes
- IterableOnceOps
- def minOption[B >: SimpleWriteCommand](implicit ord: Ordering[B]): Option[SimpleWriteCommand]
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpecificBuilder: Builder[SimpleWriteCommand, Iterable[SimpleWriteCommand]]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def partition(p: (SimpleWriteCommand) => Boolean): (Iterable[SimpleWriteCommand], Iterable[SimpleWriteCommand])
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: (SimpleWriteCommand) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def prepend(writes: Iterable[WriteCommand]): WriteCommand
Java API: prepends this command with a number of other writes.
Java API: prepends this command with a number of other writes. The first element of the given Iterable becomes the first sub write of a potentially created
CompoundWrite
.- Definition Classes
- WriteCommand
- def prepend(that: SimpleWriteCommand): CompoundWrite
Java API: prepends this command with another
Write
orWriteFile
to form aCompoundWrite
.Java API: prepends this command with another
Write
orWriteFile
to form aCompoundWrite
.- Definition Classes
- WriteCommand
- def product[B >: SimpleWriteCommand](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def reduce[B >: SimpleWriteCommand](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: SimpleWriteCommand](op: (B, SimpleWriteCommand) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: SimpleWriteCommand](op: (B, SimpleWriteCommand) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: SimpleWriteCommand](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: SimpleWriteCommand](op: (SimpleWriteCommand, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: SimpleWriteCommand](op: (SimpleWriteCommand, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reversed: Iterable[SimpleWriteCommand]
- Attributes
- protected
- Definition Classes
- IterableOnceOps
- def scan[B >: SimpleWriteCommand](z: B)(op: (B, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, SimpleWriteCommand) => B): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: (SimpleWriteCommand, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- def size: Int
- Definition Classes
- IterableOnceOps
- def sizeCompare(that: Iterable[_]): Int
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Definition Classes
- IterableOps
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): Iterator[Iterable[SimpleWriteCommand]]
- Definition Classes
- IterableOps
- def sliding(size: Int): Iterator[Iterable[SimpleWriteCommand]]
- Definition Classes
- IterableOps
- def span(p: (SimpleWriteCommand) => Boolean): (Iterable[SimpleWriteCommand], Iterable[SimpleWriteCommand])
- Definition Classes
- IterableOps → IterableOnceOps
- def splitAt(n: Int): (Iterable[SimpleWriteCommand], Iterable[SimpleWriteCommand])
- Definition Classes
- IterableOps → IterableOnceOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[SimpleWriteCommand, S]): S
- Definition Classes
- IterableOnce
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- Annotations
- @deprecatedOverriding()
- def sum[B >: SimpleWriteCommand](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps
- val tailCommand: WriteCommand
- def tails: Iterator[Iterable[SimpleWriteCommand]]
- Definition Classes
- IterableOps
- def take(n: Int): Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps → IterableOnceOps
- def takeRight(n: Int): Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps
- def takeWhile(p: (SimpleWriteCommand) => Boolean): Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps → IterableOnceOps
- def tapEach[U](f: (SimpleWriteCommand) => U): Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps → IterableOnceOps
- def to[C1](factory: Factory[SimpleWriteCommand, C1]): C1
- Definition Classes
- IterableOnceOps
- def toArray[B >: SimpleWriteCommand](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: SimpleWriteCommand]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: IndexedSeq[SimpleWriteCommand]
- Definition Classes
- IterableOnceOps
- def toList: List[SimpleWriteCommand]
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[SimpleWriteCommand, (K, V)]): Map[K, V]
- Definition Classes
- IterableOnceOps
- def toSeq: Seq[SimpleWriteCommand]
- Definition Classes
- IterableOnceOps
- def toSet[B >: SimpleWriteCommand]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- Iterable → AnyRef → Any
- def toVector: Vector[SimpleWriteCommand]
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: (SimpleWriteCommand) => Iterable[B]): Iterable[Iterable[B]]
- Definition Classes
- IterableOps
- def unzip[A1, A2](implicit asPair: (SimpleWriteCommand) => (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: (SimpleWriteCommand) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- IterableOps
- def view: View[SimpleWriteCommand]
- Definition Classes
- IterableOps
- 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])
- def withFilter(p: (SimpleWriteCommand) => Boolean): WithFilter[SimpleWriteCommand, [_]Iterable[_]]
- Definition Classes
- IterableOps
- def zip[B](that: IterableOnce[B]): Iterable[(SimpleWriteCommand, B)]
- Definition Classes
- IterableOps
- def zipAll[A1 >: SimpleWriteCommand, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
- Definition Classes
- IterableOps
- def zipWithIndex: Iterable[(SimpleWriteCommand, Int)]
- Definition Classes
- IterableOps → IterableOnceOps
Deprecated Value Members
- def ++:[B >: SimpleWriteCommand](that: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- final def /:[B](z: B)(op: (B, SimpleWriteCommand) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- final def :\[B](z: B)(op: (SimpleWriteCommand, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldRight instead of :\
- def aggregate[B](z: => B)(seqop: (B, SimpleWriteCommand) => B, combop: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0)
aggregate
is not relevant for sequential collections. UsefoldLeft(z)(seqop)
instead.
- def companion: IterableFactory[[_]Iterable[_]]
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding() @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- final def copyToBuffer[B >: SimpleWriteCommand](dest: Buffer[B]): Unit
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def hasDefiniteSize: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
- final def repr: Iterable[SimpleWriteCommand]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside
- def seq: CompoundWrite.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- final def toIterable: CompoundWrite.this.type
- Definition Classes
- Iterable → IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to
toList
ortoSeq
, but it doesn't copy non-immutable collections
- final def toIterator: Iterator[SimpleWriteCommand]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- final def toStream: Stream[SimpleWriteCommand]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[SimpleWriteCommand]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to
toList
ortoSeq
, but it doesn't copy non-immutable collections
- def view(from: Int, until: Int): View[SimpleWriteCommand]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)