trait HasPartition[Value] extends Tracked[Value]
A Tracked wrapper superclass for Tracked types which know the partition of their inputs. NOTE: THESE OBJECTS CANNOT BE FLATTENED FROM SEPARATE PARTITIONS!
- Value
The type of the object contained by the tracking wrapper.
- Alphabetic
- By Inheritance
- HasPartition
- Tracked
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
fold[NewValue](fn: (Value, NewValue) ⇒ Value)(other: Tracked[NewValue]): Tracked[Value]
Apply a fold to 2 messages so that their tracking information can be combined.
Apply a fold to 2 messages so that their tracking information can be combined.
- NewValue
The type of the wrapped object of the other tracked object.
- fn
2 argument fold function to apply to the wrapped types.
- other
The other tracked type to merge.
- returns
A new Tracked object with the result of
fn
on each wrapped object which contains the merged tracking information.
- Attributes
- protected
- Definition Classes
- Tracked
-
abstract
def
map[NewValue](fn: (Value) ⇒ NewValue): Tracked[NewValue]
Modify the wrapped
Value
by the functionfn
and preserve the tracking information.Modify the wrapped
Value
by the functionfn
and preserve the tracking information.- NewValue
The result type of the function.
- fn
A function to apply to the wrapped
Value
.- returns
A new Tracked type with the same tracking, containing the new value.
- Attributes
- protected
- Definition Classes
- Tracked
-
abstract
def
part: Int
Partition of the source message of this object.
Partition of the source message of this object.
- returns
The partition ID of the source message.
-
abstract
def
value: Value
- Definition Classes
- Tracked
Concrete 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 HasPartition[Value] to any2stringadd[HasPartition[Value]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (HasPartition[Value], B)
- Implicit
- This member is added by an implicit conversion from HasPartition[Value] to ArrowAssoc[HasPartition[Value]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
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( ... ) @native()
-
def
ensuring(cond: (HasPartition[Value]) ⇒ Boolean, msg: ⇒ Any): HasPartition[Value]
- Implicit
- This member is added by an implicit conversion from HasPartition[Value] to Ensuring[HasPartition[Value]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (HasPartition[Value]) ⇒ Boolean): HasPartition[Value]
- Implicit
- This member is added by an implicit conversion from HasPartition[Value] to Ensuring[HasPartition[Value]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): HasPartition[Value]
- Implicit
- This member is added by an implicit conversion from HasPartition[Value] to Ensuring[HasPartition[Value]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): HasPartition[Value]
- Implicit
- This member is added by an implicit conversion from HasPartition[Value] to Ensuring[HasPartition[Value]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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 HasPartition[Value] to StringFormat[HasPartition[Value]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- 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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... ) @native()
-
def
→[B](y: B): (HasPartition[Value], B)
- Implicit
- This member is added by an implicit conversion from HasPartition[Value] to ArrowAssoc[HasPartition[Value]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc