class ByteArrayPayload extends Payload
Byte Array implementation of the Payload trait.
This is the recommended implementation if your payload needs to be shuffled.
- Alphabetic
- By Inheritance
- ByteArrayPayload
- Payload
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ByteArrayPayload(content: Array[Byte])
- content
The data in the partition.
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()
- val content: Array[Byte]
The content in the partition.
The content in the partition.
- Definition Classes
- ByteArrayPayload → Payload
- def dismiss(): Unit
Notifies the Payload object that its content is not needed anymore.
Notifies the Payload object that its content is not needed anymore. Implementations of the Payload trait can use this method to release resources.
- Definition Classes
- ByteArrayPayload → Payload
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
Tests this ByteArrayPayload for equality with the given object.
Tests this ByteArrayPayload for equality with the given object.
- other
the reference object with which to compare
- returns
trueif this object is the same as theotherargument;falseotherwise.
- Definition Classes
- ByteArrayPayload → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
Returns a hash code for this ByteArrayPayload.
Returns a hash code for this ByteArrayPayload.
- Definition Classes
- ByteArrayPayload → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def length: Long
Returns the size of the partition data.
Returns the size of the partition data.
- Definition Classes
- ByteArrayPayload → Payload
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
Returns true if the content is not empty.
Returns true if the content is not empty.
- Definition Classes
- ByteArrayPayload → Payload
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
Returns the string representation of this ByteArrayPayload.
Returns the string representation of this ByteArrayPayload.
- Definition Classes
- ByteArrayPayload → AnyRef → Any
- 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()
- 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)