blob: 6c280ec9c17fbab8e5ba0cf5f509196294050663 [file]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache GraphAr C++ Library: graphar::ExpressionAnd Class 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>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Apache GraphAr C++ Library
</div>
<div id="projectbrief">The C++ Library for Apache GraphAr</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>graphar</b></li><li class="navelem"><a class="el" href="classgraphar_1_1_expression_and.html">ExpressionAnd</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classgraphar_1_1_expression_and-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">graphar::ExpressionAnd Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="expression_8h_source.html">expression.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for graphar::ExpressionAnd:</div>
<div class="dyncontent">
<div class="center">
<img src="classgraphar_1_1_expression_and.png" usemap="#graphar::ExpressionAnd_map" alt=""/>
<map id="graphar::ExpressionAnd_map" name="graphar::ExpressionAnd_map">
<area href="classgraphar_1_1_expression_binary_op.html" alt="graphar::ExpressionBinaryOp" shape="rect" coords="0,56,179,80"/>
<area href="classgraphar_1_1_expression.html" alt="graphar::Expression" shape="rect" coords="0,0,179,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae854183652e48320b7f96d7c88a09f39"><td class="memItemLeft" align="right" valign="top"><a id="ae854183652e48320b7f96d7c88a09f39"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ExpressionAnd</b> (std::shared_ptr&lt; <a class="el" href="classgraphar_1_1_expression.html">Expression</a> &gt; lhs, std::shared_ptr&lt; <a class="el" href="classgraphar_1_1_expression.html">Expression</a> &gt; rhs)</td></tr>
<tr class="separator:ae854183652e48320b7f96d7c88a09f39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04b62e6cca466f373c9097ae0ca3116e"><td class="memItemLeft" align="right" valign="top"><a id="a04b62e6cca466f373c9097ae0ca3116e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ExpressionAnd</b> (const <a class="el" href="classgraphar_1_1_expression_and.html">ExpressionAnd</a> &amp;other)=default</td></tr>
<tr class="separator:a04b62e6cca466f373c9097ae0ca3116e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62e68fd3096f96e6c4aaed921cb0c3fc"><td class="memItemLeft" align="right" valign="top">Result&lt; ArrowExpression &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgraphar_1_1_expression_and.html#a62e68fd3096f96e6c4aaed921cb0c3fc">Evaluate</a> () override</td></tr>
<tr class="memdesc:a62e68fd3096f96e6c4aaed921cb0c3fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluate <a class="el" href="classgraphar_1_1_expression.html">Expression</a> as arrow::compute::Expression e.g. new <a class="el" href="classgraphar_1_1_expression_equal.html">ExpressionEqual</a>(new <a class="el" href="classgraphar_1_1_expression_property.html">ExpressionProperty</a>("a"), new ExpressionLiteral(1)) will be parsed as arrow::compute::equal(arrow::compute::field_ref("a"), arrow::compute::literal(1)) <a href="classgraphar_1_1_expression_and.html#a62e68fd3096f96e6c4aaed921cb0c3fc">More...</a><br /></td></tr>
<tr class="separator:a62e68fd3096f96e6c4aaed921cb0c3fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgraphar_1_1_expression_binary_op"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgraphar_1_1_expression_binary_op')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgraphar_1_1_expression_binary_op.html">graphar::ExpressionBinaryOp</a></td></tr>
<tr class="memitem:a16876e9823e283ea0f29a7071e2e15d3 inherit pub_methods_classgraphar_1_1_expression_binary_op"><td class="memItemLeft" align="right" valign="top"><a id="a16876e9823e283ea0f29a7071e2e15d3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ExpressionBinaryOp</b> (std::shared_ptr&lt; <a class="el" href="classgraphar_1_1_expression.html">Expression</a> &gt; lhs, std::shared_ptr&lt; <a class="el" href="classgraphar_1_1_expression.html">Expression</a> &gt; rhs)</td></tr>
<tr class="separator:a16876e9823e283ea0f29a7071e2e15d3 inherit pub_methods_classgraphar_1_1_expression_binary_op"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade2e6b717eae0ab99777b939346d7501 inherit pub_methods_classgraphar_1_1_expression_binary_op"><td class="memItemLeft" align="right" valign="top"><a id="ade2e6b717eae0ab99777b939346d7501"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ExpressionBinaryOp</b> (const <a class="el" href="classgraphar_1_1_expression_binary_op.html">ExpressionBinaryOp</a> &amp;other)=default</td></tr>
<tr class="separator:ade2e6b717eae0ab99777b939346d7501 inherit pub_methods_classgraphar_1_1_expression_binary_op"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgraphar_1_1_expression"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgraphar_1_1_expression')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgraphar_1_1_expression.html">graphar::Expression</a></td></tr>
<tr class="memitem:a772560d7d0c1c7bd51dc4e0513d9ae94 inherit pub_methods_classgraphar_1_1_expression"><td class="memItemLeft" align="right" valign="top"><a id="a772560d7d0c1c7bd51dc4e0513d9ae94"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Expression</b> (const <a class="el" href="classgraphar_1_1_expression.html">Expression</a> &amp;other)=default</td></tr>
<tr class="separator:a772560d7d0c1c7bd51dc4e0513d9ae94 inherit pub_methods_classgraphar_1_1_expression"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classgraphar_1_1_expression_binary_op"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classgraphar_1_1_expression_binary_op')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classgraphar_1_1_expression_binary_op.html">graphar::ExpressionBinaryOp</a></td></tr>
<tr class="memitem:ab25cfd747cfdd33fef5eb86ff55e3470 inherit pro_methods_classgraphar_1_1_expression_binary_op"><td class="memItemLeft" align="right" valign="top"><a id="ab25cfd747cfdd33fef5eb86ff55e3470"></a>
<a class="el" href="classgraphar_1_1_status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CheckNullArgs</b> (std::shared_ptr&lt; <a class="el" href="classgraphar_1_1_expression.html">Expression</a> &gt; lhs, std::shared_ptr&lt; <a class="el" href="classgraphar_1_1_expression.html">Expression</a> &gt; rhs) noexcept</td></tr>
<tr class="separator:ab25cfd747cfdd33fef5eb86ff55e3470 inherit pro_methods_classgraphar_1_1_expression_binary_op"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classgraphar_1_1_expression_binary_op"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classgraphar_1_1_expression_binary_op')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classgraphar_1_1_expression_binary_op.html">graphar::ExpressionBinaryOp</a></td></tr>
<tr class="memitem:a2ea84c5357af0c4fde958854b4e908d8 inherit pro_attribs_classgraphar_1_1_expression_binary_op"><td class="memItemLeft" align="right" valign="top"><a id="a2ea84c5357af0c4fde958854b4e908d8"></a>
std::shared_ptr&lt; <a class="el" href="classgraphar_1_1_expression.html">Expression</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>lhs_</b></td></tr>
<tr class="separator:a2ea84c5357af0c4fde958854b4e908d8 inherit pro_attribs_classgraphar_1_1_expression_binary_op"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6df3870c8e19037092b0e896f6932b58 inherit pro_attribs_classgraphar_1_1_expression_binary_op"><td class="memItemLeft" align="right" valign="top"><a id="a6df3870c8e19037092b0e896f6932b58"></a>
std::shared_ptr&lt; <a class="el" href="classgraphar_1_1_expression.html">Expression</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>rhs_</b></td></tr>
<tr class="separator:a6df3870c8e19037092b0e896f6932b58 inherit pro_attribs_classgraphar_1_1_expression_binary_op"><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 class constructs a AND operator expression. e.g. new <a class="el" href="classgraphar_1_1_expression_and.html">ExpressionAnd</a>(new ExpressionLiteral(true), new ExpressionLiteral(1)) =&gt; TRUE AND 1 </p>
<p class="definition">Definition at line <a class="el" href="expression_8h_source.html#l00261">261</a> of file <a class="el" href="expression_8h_source.html">expression.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a62e68fd3096f96e6c4aaed921cb0c3fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62e68fd3096f96e6c4aaed921cb0c3fc">&#9670;&nbsp;</a></span>Evaluate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Result&lt; ArrowExpression &gt; graphar::ExpressionAnd::Evaluate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Evaluate <a class="el" href="classgraphar_1_1_expression.html">Expression</a> as arrow::compute::Expression e.g. new <a class="el" href="classgraphar_1_1_expression_equal.html">ExpressionEqual</a>(new <a class="el" href="classgraphar_1_1_expression_property.html">ExpressionProperty</a>("a"), new ExpressionLiteral(1)) will be parsed as arrow::compute::equal(arrow::compute::field_ref("a"), arrow::compute::literal(1)) </p>
<dl class="section return"><dt>Returns</dt><dd>The arrow::compute::Expression instance </dd></dl>
<p>Implements <a class="el" href="classgraphar_1_1_expression.html#a75cbb2e1aeb88c26f2667e12dfa51a1e">graphar::Expression</a>.</p>
<p class="definition">Definition at line <a class="el" href="expression_8cc_source.html#l00075">75</a> of file <a class="el" href="expression_8cc_source.html">expression.cc</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/graphar/<a class="el" href="expression_8h_source.html">expression.h</a></li>
<li>src/graphar/<a class="el" href="expression_8cc_source.html">expression.cc</a></li>
</ul>
</div><!-- contents -->
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!-- disclaimer_footer.html -->
<footer style="text-align: center; font-size: 12px;">
<div>
<p>
Apache GraphAr is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
</p>
<p>
Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0. <br/>
Apache, the names of Apache projects, and the feather logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.
</p>
</div>
</footer>