@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); }
@Override public void addFloat(float value) { holder.value = value; writer.write(holder); }
public static Float4Holder getFloat4Holder(float value) { Float4Holder holder = new Float4Holder(); holder.value = value; return holder; }