コード例 #1
0
 @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);
 }
コード例 #2
0
 @Override
 public void addFloat(float value) {
   holder.value = value;
   writer.write(holder);
 }
コード例 #3
0
  public static Float4Holder getFloat4Holder(float value) {
    Float4Holder holder = new Float4Holder();
    holder.value = value;

    return holder;
  }