blob: d6ea7fed0c86a66b8f3a0299b419afb9b8e4eca2 [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::ExpressionNot 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_not.html">ExpressionNot</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_not-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">graphar::ExpressionNot 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::ExpressionNot:</div>
<div class="dyncontent">
<div class="center">
<img src="classgraphar_1_1_expression_not.png" usemap="#graphar::ExpressionNot_map" alt=""/>
<map id="graphar::ExpressionNot_map" name="graphar::ExpressionNot_map">
<area href="classgraphar_1_1_expression_unary_op.html" alt="graphar::ExpressionUnaryOp" shape="rect" coords="0,56,176,80"/>
<area href="classgraphar_1_1_expression.html" alt="graphar::Expression" shape="rect" coords="0,0,176,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:a1ef9c57fcc288cba551448a1f95c78b9"><td class="memItemLeft" align="right" valign="top"><a id="a1ef9c57fcc288cba551448a1f95c78b9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ExpressionNot</b> (std::shared_ptr&lt; <a class="el" href="classgraphar_1_1_expression.html">Expression</a> &gt; expr)</td></tr>
<tr class="separator:a1ef9c57fcc288cba551448a1f95c78b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9f4d653e2481c6e8aec3f364fca86a3"><td class="memItemLeft" align="right" valign="top"><a id="ad9f4d653e2481c6e8aec3f364fca86a3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ExpressionNot</b> (const <a class="el" href="classgraphar_1_1_expression_not.html">ExpressionNot</a> &amp;other)=default</td></tr>
<tr class="separator:ad9f4d653e2481c6e8aec3f364fca86a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d1a8885f923651132af0fcd7fbae7bb"><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_not.html#a4d1a8885f923651132af0fcd7fbae7bb">Evaluate</a> () override</td></tr>
<tr class="memdesc:a4d1a8885f923651132af0fcd7fbae7bb"><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_not.html#a4d1a8885f923651132af0fcd7fbae7bb">More...</a><br /></td></tr>
<tr class="separator:a4d1a8885f923651132af0fcd7fbae7bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classgraphar_1_1_expression_unary_op"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgraphar_1_1_expression_unary_op')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classgraphar_1_1_expression_unary_op.html">graphar::ExpressionUnaryOp</a></td></tr>
<tr class="memitem:a9eaf2e6b14a16d83509c9d72411b71f2 inherit pub_methods_classgraphar_1_1_expression_unary_op"><td class="memItemLeft" align="right" valign="top"><a id="a9eaf2e6b14a16d83509c9d72411b71f2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ExpressionUnaryOp</b> (std::shared_ptr&lt; <a class="el" href="classgraphar_1_1_expression.html">Expression</a> &gt; expr)</td></tr>
<tr class="separator:a9eaf2e6b14a16d83509c9d72411b71f2 inherit pub_methods_classgraphar_1_1_expression_unary_op"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac606de55035649c4613ba26cc0c36cb7 inherit pub_methods_classgraphar_1_1_expression_unary_op"><td class="memItemLeft" align="right" valign="top"><a id="ac606de55035649c4613ba26cc0c36cb7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ExpressionUnaryOp</b> (const <a class="el" href="classgraphar_1_1_expression_unary_op.html">ExpressionUnaryOp</a> &amp;other)=default</td></tr>
<tr class="separator:ac606de55035649c4613ba26cc0c36cb7 inherit pub_methods_classgraphar_1_1_expression_unary_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_attribs_classgraphar_1_1_expression_unary_op"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classgraphar_1_1_expression_unary_op')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classgraphar_1_1_expression_unary_op.html">graphar::ExpressionUnaryOp</a></td></tr>
<tr class="memitem:a04fdab81af0a60d2b573a1edd1e44b15 inherit pro_attribs_classgraphar_1_1_expression_unary_op"><td class="memItemLeft" align="right" valign="top"><a id="a04fdab81af0a60d2b573a1edd1e44b15"></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>expr_</b></td></tr>
<tr class="separator:a04fdab81af0a60d2b573a1edd1e44b15 inherit pro_attribs_classgraphar_1_1_expression_unary_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 NOT operator expression. e.g. new <a class="el" href="classgraphar_1_1_expression_not.html">ExpressionNot</a>(new ExpressionLiteral(true)) =&gt; NOT TRUE </p>
<p class="definition">Definition at line <a class="el" href="expression_8h_source.html#l00116">116</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="a4d1a8885f923651132af0fcd7fbae7bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d1a8885f923651132af0fcd7fbae7bb">&#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::ExpressionNot::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#l00028">28</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>