BBPartHandle (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.fs, class: BBPartHandle

Package org.apache.hadoop.fs

# Class BBPartHandle

java.lang.Object
org.apache.hadoop.fs.BBPartHandle

All Implemented Interfaces:
  `Serializable`, `PartHandle`

@Private @Unstable public final class BBPartHandle extends Object implements PartHandle
Byte array backed part handle.

See Also:
  - Serialized Form

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ByteBuffer`
  `bytes()`
  `boolean`
  `equals(Object other)`
  `static PartHandle`
  `from(ByteBuffer byteBuffer)`
  `int`
  `hashCode()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface org.apache.hadoop.fs.PartHandle

  `toByteArray`

- ## Method Details

  - ### from

    public static PartHandle from(ByteBuffer byteBuffer)

  - ### bytes

    public ByteBuffer bytes()
    Specified by:
      `bytes` in interface `PartHandle`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object other)
    Specified by:
      `equals` in interface `PartHandle`
    Overrides:
      `equals` in class `Object`