kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [13/51] [partial] kudu-site git commit: Publish commit(s) from site source repo: 95b9a7a Update site for 1.2.0 release 5095504 KUDU-1818. Add link to Cloudera training in FAQ
Date Fri, 20 Jan 2017 19:19:59 GMT
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/9b792926/cpp-client-api/status_8h.html
----------------------------------------------------------------------
diff --git a/cpp-client-api/status_8h.html b/cpp-client-api/status_8h.html
index 6bf5a30..8a7f0df 100644
--- a/cpp-client-api/status_8h.html
+++ b/cpp-client-api/status_8h.html
@@ -3,15 +3,16 @@
 <head>
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.6"/>
+<meta name="generator" content="Doxygen 1.8.11"/>
 <title>Kudu C++ client API: include/kudu/util/status.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
 <link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/searchdata.js"></script>
 <script type="text/javascript" src="search/search.js"></script>
 <script type="text/javascript">
-  $(document).ready(function() { searchBox.OnSelectItem(0); });
+  $(document).ready(function() { init_search(); });
 </script>
 <link href="doxygen.css" rel="stylesheet" type="text/css" />
 </head>
@@ -21,7 +22,7 @@
 <table cellspacing="0" cellpadding="0">
  <tbody>
  <tr style="height: 56px;">
-  <td style="padding-left: 0.5em;">
+  <td id="projectalign" style="padding-left: 0.5em;">
    <div id="projectname">Kudu C++ client API
    </div>
   </td>
@@ -30,7 +31,7 @@
 </table>
 </div>
 <!-- end header part -->
-<!-- Generated by Doxygen 1.8.6 -->
+<!-- Generated by Doxygen 1.8.11 -->
 <script type="text/javascript">
 var searchBox = new SearchBox("searchBox", "search",false,'Search');
 </script>
@@ -69,7 +70,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      onmouseover="return searchBox.OnSearchSelectShow()"
      onmouseout="return searchBox.OnSearchSelectHide()"
      onkeydown="return searchBox.OnSearchSelectKey(event)">
-<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span
class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)"
onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a
class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span
class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)"
onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a
class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span
class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem"
href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a
class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span
class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem"
href="javascript:vo
 id(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a
class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span
class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem"
href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a
class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span
class="SelectionMark">&#160;</span>Pages</a></div>
+</div>
 
 <!-- iframe showing the search results (closed by default) -->
 <div id="MSearchResultsWindow">
@@ -80,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="dir_235407dca341f46b6fb19f405883843a.html">include</a></li><li
class="navelem"><a class="el" href="dir_449cf6114614d9b381f0615a58145d61.html">kudu</a></li><li
class="navelem"><a class="el" href="dir_435ca886c8310cf8df82255558e368ec.html">util</a></li>
 </ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li
class="navelem"><a class="el" href="dir_58b01e52e53886b8d78ab5060a2cd2bd.html">kudu</a></li><li
class="navelem"><a class="el" href="dir_e8a2e446cf73a5a1ae0ad6a5a21b6d03.html">util</a></li>
 </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -91,52 +92,69 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 <div class="title">status.h File Reference</div>  </div>
 </div><!--header-->
 <div class="contents">
-<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br/>
-<code>#include &lt;string&gt;</code><br/>
-<code>#include &quot;kudu/client/stubs.h&quot;</code><br/>
-<code>#include &quot;kudu/util/kudu_export.h&quot;</code><br/>
-<code>#include &quot;kudu/util/slice.h&quot;</code><br/>
+<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br
/>
+<code>#include &lt;string&gt;</code><br />
+<code>#include &quot;kudu/client/stubs.h&quot;</code><br />
+<code>#include &quot;kudu/util/kudu_export.h&quot;</code><br />
+<code>#include &quot;kudu/util/slice.h&quot;</code><br />
+</div><div class="textblock"><div class="dynheader">
+Include dependency graph for status.h:</div>
+<div class="dyncontent">
+<div class="center"><img src="status_8h__incl.png" border="0" usemap="#include_2kudu_2util_2status_8h"
alt=""/></div>
+<map name="include_2kudu_2util_2status_8h" id="include_2kudu_2util_2status_8h">
+<area shape="rect" id="node4" href="stubs_8h_source.html" title="kudu/client/stubs.h"
alt="" coords="675,80,807,107"/>
+<area shape="rect" id="node7" href="kudu__export_8h_source.html" title="kudu/util/kudu_export.h"
alt="" coords="174,155,331,181"/>
+<area shape="rect" id="node8" href="slice_8h_source.html" title="kudu/util/slice.h" alt=""
coords="311,80,424,107"/>
+</map>
+</div>
+</div><div class="textblock"><div class="dynheader">
+This graph shows which files directly or indirectly include this file:</div>
+<div class="dyncontent">
+<div class="center"><img src="status_8h__dep__incl.png" border="0" usemap="#include_2kudu_2util_2status_8hdep"
alt=""/></div>
+<map name="include_2kudu_2util_2status_8hdep" id="include_2kudu_2util_2status_8hdep">
+<area shape="rect" id="node2" href="client_8h_source.html" title="include/kudu/client\l/client.h"
alt="" coords="23,80,154,121"/>
+</map>
+</div>
 </div>
 <p><a href="status_8h_source.html">Go to the source code of this file.</a></p>
 <table class="memberdecls">
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
 Classes</h2></td></tr>
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1Status.html">kudu::Status</a></td></tr>
-<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A
representation of an operation's outcome.  <a href="classkudu_1_1Status.html#details">More...</a><br/></td></tr>
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A
representation of an operation's outcome.  <a href="classkudu_1_1Status.html#details">More...</a><br
/></td></tr>
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
 </table><table class="memberdecls">
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
 Macros</h2></td></tr>
 <tr class="memitem:a0de56a3f0e9d83b8ffdd63eac83c54ab"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#a0de56a3f0e9d83b8ffdd63eac83c54ab">KUDU_RETURN_NOT_OK</a>(s)</td></tr>
-<tr class="memdesc:a0de56a3f0e9d83b8ffdd63eac83c54ab"><td class="mdescLeft">&#160;</td><td
class="mdescRight">Return the given status if it is not <code>OK</code>.  <a
href="#a0de56a3f0e9d83b8ffdd63eac83c54ab">More...</a><br/></td></tr>
+<tr class="memdesc:a0de56a3f0e9d83b8ffdd63eac83c54ab"><td class="mdescLeft">&#160;</td><td
class="mdescRight">Return the given status if it is not <code>OK</code>.  <a
href="#a0de56a3f0e9d83b8ffdd63eac83c54ab">More...</a><br /></td></tr>
 <tr class="separator:a0de56a3f0e9d83b8ffdd63eac83c54ab"><td class="memSeparator"
colspan="2">&#160;</td></tr>
-<tr class="memitem:af66b8458f1d3f1264c1da86744e29e46"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#af66b8458f1d3f1264c1da86744e29e46">KUDU_RETURN_NOT_OK_PREPEND</a>(s,
msg)</td></tr>
-<tr class="memdesc:af66b8458f1d3f1264c1da86744e29e46"><td class="mdescLeft">&#160;</td><td
class="mdescRight">Return the given status if it is not OK, but first clone it and prepend
the given message.  <a href="#af66b8458f1d3f1264c1da86744e29e46">More...</a><br/></td></tr>
+<tr class="memitem:af66b8458f1d3f1264c1da86744e29e46"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#af66b8458f1d3f1264c1da86744e29e46">KUDU_RETURN_NOT_OK_PREPEND</a>(s,
 msg)</td></tr>
+<tr class="memdesc:af66b8458f1d3f1264c1da86744e29e46"><td class="mdescLeft">&#160;</td><td
class="mdescRight">Return the given status if it is not OK, but first clone it and prepend
the given message.  <a href="#af66b8458f1d3f1264c1da86744e29e46">More...</a><br
/></td></tr>
 <tr class="separator:af66b8458f1d3f1264c1da86744e29e46"><td class="memSeparator"
colspan="2">&#160;</td></tr>
-<tr class="memitem:a58d31c81bf1101a3ead737e9a4a4f223"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#a58d31c81bf1101a3ead737e9a4a4f223">KUDU_RETURN_NOT_OK_RET</a>(to_call,
to_return)</td></tr>
-<tr class="memdesc:a58d31c81bf1101a3ead737e9a4a4f223"><td class="mdescLeft">&#160;</td><td
class="mdescRight">Return <code>to_return</code> if <code>to_call</code>
returns a bad status. The substitution for 'to_return' may reference the variable <code>s</code>
for the bad status.  <a href="#a58d31c81bf1101a3ead737e9a4a4f223">More...</a><br/></td></tr>
+<tr class="memitem:a58d31c81bf1101a3ead737e9a4a4f223"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#a58d31c81bf1101a3ead737e9a4a4f223">KUDU_RETURN_NOT_OK_RET</a>(to_call,
 to_return)</td></tr>
+<tr class="memdesc:a58d31c81bf1101a3ead737e9a4a4f223"><td class="mdescLeft">&#160;</td><td
class="mdescRight">Return <code>to_return</code> if <code>to_call</code>
returns a bad status. The substitution for 'to_return' may reference the variable <code>s</code>
for the bad status.  <a href="#a58d31c81bf1101a3ead737e9a4a4f223">More...</a><br
/></td></tr>
 <tr class="separator:a58d31c81bf1101a3ead737e9a4a4f223"><td class="memSeparator"
colspan="2">&#160;</td></tr>
-<tr class="memitem:a1e64fec5ef85c0c738f6ac3f398f607e"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#a1e64fec5ef85c0c738f6ac3f398f607e">KUDU_WARN_NOT_OK</a>(to_call,
warning_prefix)</td></tr>
-<tr class="memdesc:a1e64fec5ef85c0c738f6ac3f398f607e"><td class="mdescLeft">&#160;</td><td
class="mdescRight">Emit a warning if <code>to_call</code> returns a bad status.
 <a href="#a1e64fec5ef85c0c738f6ac3f398f607e">More...</a><br/></td></tr>
+<tr class="memitem:a1e64fec5ef85c0c738f6ac3f398f607e"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#a1e64fec5ef85c0c738f6ac3f398f607e">KUDU_WARN_NOT_OK</a>(to_call,
 warning_prefix)</td></tr>
+<tr class="memdesc:a1e64fec5ef85c0c738f6ac3f398f607e"><td class="mdescLeft">&#160;</td><td
class="mdescRight">Emit a warning if <code>to_call</code> returns a bad status.
 <a href="#a1e64fec5ef85c0c738f6ac3f398f607e">More...</a><br /></td></tr>
 <tr class="separator:a1e64fec5ef85c0c738f6ac3f398f607e"><td class="memSeparator"
colspan="2">&#160;</td></tr>
-<tr class="memitem:abbd85cc2c5535627091bb06a21918150"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#abbd85cc2c5535627091bb06a21918150">KUDU_LOG_AND_RETURN</a>(level,
status)</td></tr>
-<tr class="memdesc:abbd85cc2c5535627091bb06a21918150"><td class="mdescLeft">&#160;</td><td
class="mdescRight">Log the given status and return immediately.  <a href="#abbd85cc2c5535627091bb06a21918150">More...</a><br/></td></tr>
+<tr class="memitem:abbd85cc2c5535627091bb06a21918150"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#abbd85cc2c5535627091bb06a21918150">KUDU_LOG_AND_RETURN</a>(level,
 status)</td></tr>
+<tr class="memdesc:abbd85cc2c5535627091bb06a21918150"><td class="mdescLeft">&#160;</td><td
class="mdescRight">Log the given status and return immediately.  <a href="#abbd85cc2c5535627091bb06a21918150">More...</a><br
/></td></tr>
 <tr class="separator:abbd85cc2c5535627091bb06a21918150"><td class="memSeparator"
colspan="2">&#160;</td></tr>
-<tr class="memitem:af09a6a2eca53c9424d74c7fd9f39c5ce"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#af09a6a2eca53c9424d74c7fd9f39c5ce">KUDU_RETURN_NOT_OK_LOG</a>(s,
level, msg)</td></tr>
-<tr class="memdesc:af09a6a2eca53c9424d74c7fd9f39c5ce"><td class="mdescLeft">&#160;</td><td
class="mdescRight">If the given status is not OK, log it and 'msg' at 'level' and return
the status.  <a href="#af09a6a2eca53c9424d74c7fd9f39c5ce">More...</a><br/></td></tr>
+<tr class="memitem:af09a6a2eca53c9424d74c7fd9f39c5ce"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#af09a6a2eca53c9424d74c7fd9f39c5ce">KUDU_RETURN_NOT_OK_LOG</a>(s,
 level,  msg)</td></tr>
+<tr class="memdesc:af09a6a2eca53c9424d74c7fd9f39c5ce"><td class="mdescLeft">&#160;</td><td
class="mdescRight">If the given status is not OK, log it and 'msg' at 'level' and return
the status.  <a href="#af09a6a2eca53c9424d74c7fd9f39c5ce">More...</a><br /></td></tr>
 <tr class="separator:af09a6a2eca53c9424d74c7fd9f39c5ce"><td class="memSeparator"
colspan="2">&#160;</td></tr>
-<tr class="memitem:a706c9f6ef1715b8f7a9185fb3c247d3f"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#a706c9f6ef1715b8f7a9185fb3c247d3f">KUDU_CHECK_OK_PREPEND</a>(to_call,
msg)</td></tr>
-<tr class="memdesc:a706c9f6ef1715b8f7a9185fb3c247d3f"><td class="mdescLeft">&#160;</td><td
class="mdescRight">If <code>to_call</code> returns a bad status, CHECK immediately
with a logged message of <code>msg</code> followed by the status.  <a href="#a706c9f6ef1715b8f7a9185fb3c247d3f">More...</a><br/></td></tr>
+<tr class="memitem:a706c9f6ef1715b8f7a9185fb3c247d3f"><td class="memItemLeft" align="right"
valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a
class="el" href="status_8h.html#a706c9f6ef1715b8f7a9185fb3c247d3f">KUDU_CHECK_OK_PREPEND</a>(to_call,
 msg)</td></tr>
+<tr class="memdesc:a706c9f6ef1715b8f7a9185fb3c247d3f"><td class="mdescLeft">&#160;</td><td
class="mdescRight">If <code>to_call</code> returns a bad status, CHECK immediately
with a logged message of <code>msg</code> followed by the status.  <a href="#a706c9f6ef1715b8f7a9185fb3c247d3f">More...</a><br
/></td></tr>
 <tr class="separator:a706c9f6ef1715b8f7a9185fb3c247d3f"><td class="memSeparator"
colspan="2">&#160;</td></tr>
 <tr class="memitem:ac503ba85e942147294cdc82087da60f6"><td class="memItemLeft" align="right"
valign="top"><a class="anchor" id="ac503ba85e942147294cdc82087da60f6"></a>
 #define&#160;</td><td class="memItemRight" valign="bottom"><a class="el"
href="status_8h.html#ac503ba85e942147294cdc82087da60f6">KUDU_CHECK_OK</a>(s)&#160;&#160;&#160;<a
class="el" href="status_8h.html#a706c9f6ef1715b8f7a9185fb3c247d3f">KUDU_CHECK_OK_PREPEND</a>(s,
&quot;Bad status&quot;)</td></tr>
-<tr class="memdesc:ac503ba85e942147294cdc82087da60f6"><td class="mdescLeft">&#160;</td><td
class="mdescRight">If the status is bad, CHECK immediately, appending the status to the
logged message. <br/></td></tr>
+<tr class="memdesc:ac503ba85e942147294cdc82087da60f6"><td class="mdescLeft">&#160;</td><td
class="mdescRight">If the status is bad, CHECK immediately, appending the status to the
logged message. <br /></td></tr>
 <tr class="separator:ac503ba85e942147294cdc82087da60f6"><td class="memSeparator"
colspan="2">&#160;</td></tr>
 </table>
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
 <div class="textblock"><p>This header is used in both the Kudu build as well
as in builds of applications that use the Kudu C++ client. In the latter we need to be careful
to "namespace" our macros, to avoid colliding or overriding with similarly named macros belonging
to the application.</p>
-<p>KUDU_HEADERS_USE_SHORT_STATUS_MACROS handles this behavioral change. When defined,
we're building Kudu and: </p>
-<ul>
+<p>KUDU_HEADERS_USE_SHORT_STATUS_MACROS handles this behavioral change. When defined,
we're building Kudu and: </p><ul>
 <li>Non-namespaced macros are allowed and mapped to the namespaced versions defined
above. </li>
 <li>Namespaced versions of glog macros are mapped to the real glog macros (otherwise
the macros are defined in the C++ client stubs). </li>
 </ul>
@@ -164,11 +182,7 @@ Macros</h2></td></tr>
         </tr>
       </table>
 </div><div class="memdoc">
-<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div>
-<div class="line">    const ::kudu::Status&amp; _s = (to_call);               
   \</div>
-<div class="line">    KUDU_CHECK(_s.ok()) &lt;&lt; (msg) &lt;&lt; <span
class="stringliteral">&quot;: &quot;</span> &lt;&lt; _s.ToString();
 \</div>
-<div class="line">  } <span class="keywordflow">while</span> (0);</div>
-</div><!-- fragment -->
+<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div><div class="line">    const ::kudu::Status&amp; _s = (to_call); 
                 \</div><div class="line">    KUDU_CHECK(_s.ok()) &lt;&lt;
(msg) &lt;&lt; <span class="stringliteral">&quot;: &quot;</span>
&lt;&lt; _s.ToString();  \</div><div class="line">  } <span class="keywordflow">while</span>
(0);</div></div><!-- fragment -->
 <p>If <code>to_call</code> returns a bad status, CHECK immediately with
a logged message of <code>msg</code> followed by the status. </p>
 
 </div>
@@ -196,12 +210,7 @@ Macros</h2></td></tr>
         </tr>
       </table>
 </div><div class="memdoc">
-<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div>
-<div class="line">    const ::kudu::Status&amp; _s = (status);        \</div>
-<div class="line">    KUDU_LOG(level) &lt;&lt; _s.ToString(); \</div>
-<div class="line">    return _s; \</div>
-<div class="line">  } <span class="keywordflow">while</span> (0);</div>
-</div><!-- fragment -->
+<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div><div class="line">    const ::kudu::Status&amp; _s = (status);  
     \</div><div class="line">    KUDU_LOG(level) &lt;&lt; _s.ToString();
\</div><div class="line">    return _s; \</div><div class="line">
 } <span class="keywordflow">while</span> (0);</div></div><!--
fragment -->
 <p>Log the given status and return immediately. </p>
 
 </div>
@@ -219,11 +228,7 @@ Macros</h2></td></tr>
         </tr>
       </table>
 </div><div class="memdoc">
-<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div>
-<div class="line">    const ::kudu::Status&amp; _s = (s);             \</div>
-<div class="line">    if (PREDICT_FALSE(!_s.ok())) return _s;     \</div>
-<div class="line">  } while (0);</div>
-</div><!-- fragment -->
+<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div><div class="line">    const ::kudu::Status&amp; _s = (s);       
     \</div><div class="line">    if (PREDICT_FALSE(!_s.ok())) return _s;    
\</div><div class="line">  } while (0);</div></div><!-- fragment
-->
 <p>Return the given status if it is not <code>OK</code>. </p>
 
 </div>
@@ -257,14 +262,7 @@ Macros</h2></td></tr>
         </tr>
       </table>
 </div><div class="memdoc">
-<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div>
-<div class="line">    const ::kudu::Status&amp; _s = (s);             \</div>
-<div class="line">    if (PREDICT_FALSE(!_s.ok())) { \</div>
-<div class="line">      KUDU_LOG(level) &lt;&lt; <span class="stringliteral">&quot;Status:
&quot;</span> &lt;&lt; _s.ToString() &lt;&lt; <span class="stringliteral">&quot;
&quot;</span> &lt;&lt; (msg); \</div>
-<div class="line">      return _s;     \</div>
-<div class="line">    } \</div>
-<div class="line">  } <span class="keywordflow">while</span> (0);</div>
-</div><!-- fragment -->
+<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div><div class="line">    const ::kudu::Status&amp; _s = (s);       
     \</div><div class="line">    if (PREDICT_FALSE(!_s.ok())) { \</div><div
class="line">      KUDU_LOG(level) &lt;&lt; <span class="stringliteral">&quot;Status:
&quot;</span> &lt;&lt; _s.ToString() &lt;&lt; <span class="stringliteral">&quot;
&quot;</span> &lt;&lt; (msg); \</div><div class="line">    
 return _s;     \</div><div class="line">    } \</div><div class="line">
 } <span class="keywordflow">while</span> (0);</div></div><!--
fragment -->
 <p>If the given status is not OK, log it and 'msg' at 'level' and return the status.
</p>
 
 </div>
@@ -292,11 +290,7 @@ Macros</h2></td></tr>
         </tr>
       </table>
 </div><div class="memdoc">
-<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div>
-<div class="line">    const ::kudu::Status&amp; _s = (s);                     
        \</div>
-<div class="line">    if (PREDICT_FALSE(!_s.ok())) return _s.CloneAndPrepend(msg);
\</div>
-<div class="line">  } while (0);</div>
-</div><!-- fragment -->
+<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div><div class="line">    const ::kudu::Status&amp; _s = (s);       
                      \</div><div class="line">    if (PREDICT_FALSE(!_s.ok()))
return _s.CloneAndPrepend(msg); \</div><div class="line">  } while (0);</div></div><!--
fragment -->
 <p>Return the given status if it is not OK, but first clone it and prepend the given
message. </p>
 
 </div>
@@ -324,11 +318,7 @@ Macros</h2></td></tr>
         </tr>
       </table>
 </div><div class="memdoc">
-<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div>
-<div class="line">    const ::kudu::Status&amp; s = (to_call);                \</div>
-<div class="line">    if (PREDICT_FALSE(!s.ok())) return (to_return);  \</div>
-<div class="line">  } while (0);</div>
-</div><!-- fragment -->
+<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div><div class="line">    const ::kudu::Status&amp; s = (to_call);  
             \</div><div class="line">    if (PREDICT_FALSE(!s.ok())) return (to_return);
 \</div><div class="line">  } while (0);</div></div><!-- fragment
-->
 <p>Return <code>to_return</code> if <code>to_call</code> returns
a bad status. The substitution for 'to_return' may reference the variable <code>s</code>
for the bad status. </p>
 
 </div>
@@ -356,13 +346,7 @@ Macros</h2></td></tr>
         </tr>
       </table>
 </div><div class="memdoc">
-<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div>
-<div class="line">    const ::kudu::Status&amp; _s = (to_call);              \</div>
-<div class="line">    if (PREDICT_FALSE(!_s.ok())) { \</div>
-<div class="line">      KUDU_LOG(WARNING) &lt;&lt; (warning_prefix) &lt;&lt;
<span class="stringliteral">&quot;: &quot;</span> &lt;&lt; _s.ToString();
 \</div>
-<div class="line">    } \</div>
-<div class="line">  } <span class="keywordflow">while</span> (0);</div>
-</div><!-- fragment -->
+<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>
{ \</div><div class="line">    const ::kudu::Status&amp; _s = (to_call); 
            \</div><div class="line">    if (PREDICT_FALSE(!_s.ok())) { \</div><div
class="line">      KUDU_LOG(WARNING) &lt;&lt; (warning_prefix) &lt;&lt;
<span class="stringliteral">&quot;: &quot;</span> &lt;&lt; _s.ToString();
 \</div><div class="line">    } \</div><div class="line">  } <span
class="keywordflow">while</span> (0);</div></div><!-- fragment -->
 <p>Emit a warning if <code>to_call</code> returns a bad status. </p>
 
 </div>
@@ -371,9 +355,9 @@ Macros</h2></td></tr>
 <!-- start footer part -->
 <hr class="footer"/>
 <address class="footer">
-  <small>Generated for Kudu version 1.1.0 on Mon Nov 21 2016 07:25:28 by Doxygen 1.8.6</small>
+  <small>Generated for Kudu version 1.2.0 on Wed Jan 18 2017 10:15:36 by Doxygen 1.8.11</small>
   <br>
-  <small>Copyright © 2016 The Apache Software Foundation.</small>
+  <small>Copyright © 2017 The Apache Software Foundation.</small>
 </address>
 </body>
 </html>

http://git-wip-us.apache.org/repos/asf/kudu-site/blob/9b792926/cpp-client-api/status_8h__dep__incl.map
----------------------------------------------------------------------
diff --git a/cpp-client-api/status_8h__dep__incl.map b/cpp-client-api/status_8h__dep__incl.map
new file mode 100644
index 0000000..1624b8a
--- /dev/null
+++ b/cpp-client-api/status_8h__dep__incl.map
@@ -0,0 +1,3 @@
+<map id="include/kudu/util/status.h" name="include/kudu/util/status.h">
+<area shape="rect" id="node2" href="$client_8h_source.html" title="include/kudu/client\l/client.h"
alt="" coords="23,80,154,121"/>
+</map>

http://git-wip-us.apache.org/repos/asf/kudu-site/blob/9b792926/cpp-client-api/status_8h__dep__incl.md5
----------------------------------------------------------------------
diff --git a/cpp-client-api/status_8h__dep__incl.md5 b/cpp-client-api/status_8h__dep__incl.md5
new file mode 100644
index 0000000..4cfe262
--- /dev/null
+++ b/cpp-client-api/status_8h__dep__incl.md5
@@ -0,0 +1 @@
+1012e24c4e1e2db0977d90bc6bbde64a
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/kudu-site/blob/9b792926/cpp-client-api/status_8h__dep__incl.png
----------------------------------------------------------------------
diff --git a/cpp-client-api/status_8h__dep__incl.png b/cpp-client-api/status_8h__dep__incl.png
new file mode 100644
index 0000000..a1b66a2
Binary files /dev/null and b/cpp-client-api/status_8h__dep__incl.png differ

http://git-wip-us.apache.org/repos/asf/kudu-site/blob/9b792926/cpp-client-api/status_8h__incl.map
----------------------------------------------------------------------
diff --git a/cpp-client-api/status_8h__incl.map b/cpp-client-api/status_8h__incl.map
new file mode 100644
index 0000000..33e1c4a
--- /dev/null
+++ b/cpp-client-api/status_8h__incl.map
@@ -0,0 +1,5 @@
+<map id="include/kudu/util/status.h" name="include/kudu/util/status.h">
+<area shape="rect" id="node4" href="$stubs_8h_source.html" title="kudu/client/stubs.h"
alt="" coords="675,80,807,107"/>
+<area shape="rect" id="node7" href="$kudu__export_8h_source.html" title="kudu/util/kudu_export.h"
alt="" coords="174,155,331,181"/>
+<area shape="rect" id="node8" href="$slice_8h_source.html" title="kudu/util/slice.h" alt=""
coords="311,80,424,107"/>
+</map>

http://git-wip-us.apache.org/repos/asf/kudu-site/blob/9b792926/cpp-client-api/status_8h__incl.md5
----------------------------------------------------------------------
diff --git a/cpp-client-api/status_8h__incl.md5 b/cpp-client-api/status_8h__incl.md5
new file mode 100644
index 0000000..73a0825
--- /dev/null
+++ b/cpp-client-api/status_8h__incl.md5
@@ -0,0 +1 @@
+e99ab758ed51f30e1641a05cc3803c0c
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/kudu-site/blob/9b792926/cpp-client-api/status_8h__incl.png
----------------------------------------------------------------------
diff --git a/cpp-client-api/status_8h__incl.png b/cpp-client-api/status_8h__incl.png
new file mode 100644
index 0000000..b8e7257
Binary files /dev/null and b/cpp-client-api/status_8h__incl.png differ


Mime
View raw message