@Override
    public void setFloat(int ordinal, float value) {
        assertIndexIsValid(ordinal);
        if (Float.isNaN(value)) {
            value = Float.NaN;
        }
        Platform.putDouble(baseObject, getFieldOffset(ordinal), value);
    }
Update this UnsafeRow to point to the underlying byte array.

@param buf         byte array to point to
@param sizeInBytes the number of bytes valid in the byte array
indexr-query-opt/src/main/java/io/indexr/query/row/UnsafeRow.java