@Override
 public void eval() {
   org.apache.drill.exec.util.ByteBufUtil.checkBufferLength(in.buffer, in.start, in.end, 5);
   in.buffer.getBytes(in.start, bytes, 0, 5);
   br.set(bytes);
   out.value = org.apache.hadoop.hbase.util.OrderedBytes.decodeFloat32(br);
 }
Exemplo n.º 2
0
 @Override
 public void setup(RecordBatch incoming) {
   buffer = org.apache.drill.exec.util.ByteBufUtil.createBuffer(1);
 }