Class FullyFilledBuffer

java.lang.Object
org.apache.flink.runtime.io.network.buffer.AbstractCompositeBuffer
org.apache.flink.runtime.io.network.buffer.FullyFilledBuffer
All Implemented Interfaces:
Buffer

public class FullyFilledBuffer extends AbstractCompositeBuffer
An implementation of Buffer represents a fully filled buffer which contains multiple partial buffers for network data communication.

All partial must have the same data type and compression status. And they are originate from different write buffers but are combined to minimize network overhead.

  • Constructor Details

    • FullyFilledBuffer

      public FullyFilledBuffer(Buffer.DataType dataType, int length, boolean isCompressed)
  • Method Details

    • asByteBuf

      public org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf asByteBuf()
      Returns:
      self as ByteBuf implementation.
    • addPartialBuffer

      public void addPartialBuffer(Buffer buffer)
      Specified by:
      addPartialBuffer in class AbstractCompositeBuffer