Class ByteEntity

java.lang.Object
org.apache.druid.data.input.impl.ByteEntity
All Implemented Interfaces:
InputEntity

public class ByteEntity extends Object implements InputEntity
  • Constructor Details

    • ByteEntity

      public ByteEntity(ByteBuffer buffer)
      Create a new entity. The buffer is not duplicated, so it is important to ensure that its position and limit are not modified after this entity is created.
    • ByteEntity

      public ByteEntity(byte[] bytes)
  • Method Details