Packages

class ByteArrayPayload extends Payload

Byte Array implementation of the Payload trait.

This is the recommended implementation if your payload needs to be shuffled.

Linear Supertypes
Payload, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteArrayPayload
  2. Payload
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ByteArrayPayload(content: Array[Byte])

    content

    The data in the partition.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val content: Array[Byte]

    The content in the partition.

    The content in the partition.

    Definition Classes
    ByteArrayPayloadPayload
  7. 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
    ByteArrayPayloadPayload
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. 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

    true if this object is the same as the other argument; false otherwise.

    Definition Classes
    ByteArrayPayload → AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int

    Returns a hash code for this ByteArrayPayload.

    Returns a hash code for this ByteArrayPayload.

    Definition Classes
    ByteArrayPayload → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def length: Long

    Returns the size of the partition data.

    Returns the size of the partition data.

    Definition Classes
    ByteArrayPayloadPayload
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def nonEmpty: Boolean

    Returns true if the content is not empty.

    Returns true if the content is not empty.

    Definition Classes
    ByteArrayPayloadPayload
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String

    Returns the string representation of this ByteArrayPayload.

    Returns the string representation of this ByteArrayPayload.

    Definition Classes
    ByteArrayPayload → AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Payload

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped