Class DrillByteArray

java.lang.Object
org.apache.drill.exec.expr.fn.impl.DrillByteArray

public class DrillByteArray extends Object
Thin wrapper around byte array. This class is used by aggregate functions which consume decimal, variable width vectors as inputs.
  • Constructor Details

    • DrillByteArray

      public DrillByteArray()
    • DrillByteArray

      public DrillByteArray(byte[] bytes, int length)
    • DrillByteArray

      public DrillByteArray(byte[] bytes)
  • Method Details

    • setLength

      public void setLength(int length)
    • getBytes

      public byte[] getBytes()
    • getLength

      public int getLength()
    • setBytes

      public void setBytes(byte[] bytes)
    • setBytes

      public void setBytes(byte[] bytes, int length)