Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
267 lines (265 sloc) 13.2 KB
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title></title>
<link rel="stylesheet" href="media/stylesheet.css" />
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
</head>
<body>
<a name="top"></a>
<h2>[AnemometerModel] element index</h2>
<h3>Package indexes</h3>
<ul>
<li><a href="elementindex_MySQLTableReport.html">MySQLTableReport</a></li>
<li><a href="elementindex_default.html">default</a></li>
<li><a href="elementindex_QueryTableParser.html">QueryTableParser</a></li>
<li><a href="elementindex_Loader.html">Loader</a></li>
<li><a href="elementindex_Anemometer.html">Anemometer</a></li>
<li><a href="elementindex_QueryExplain.html">QueryExplain</a></li>
</ul>
<a href="elementindex.html">All elements</a>
<br />
<div class="index-letter-menu">
<a class="index-letter" href="elementindex_AnemometerModel.html#a">a</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#c">c</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#g">g</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#i">i</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#s">s</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#u">u</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#_">_</a>
</div>
<a name="_"></a>
<div class="index-letter-section">
<div style="float: left" class="index-letter-title">_</div>
<div style="float: right"><a href="#top">top</a></div>
<div style="clear: both"></div>
</div>
<dl>
<dt class="field">
<span class="method-title">__construct</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#method__construct">AnemometerModel::__construct()</a> in AnemometerModel.php</div>
<div class="index-item-description">Constructor. Initialize the model object</div>
</dd>
</dl>
<a name="a"></a>
<div class="index-letter-section">
<div style="float: left" class="index-letter-title">a</div>
<div style="float: right"><a href="#top">top</a></div>
<div style="clear: both"></div>
</div>
<dl>
<dt class="field">
AnemometerModel
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html">AnemometerModel</a> in AnemometerModel.php</div>
<div class="index-item-description">class AnemometerModel</div>
</dd>
<dt class="field">
<span class="include-title">AnemometerModel.php</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/_AnemometerModel.php.html">AnemometerModel.php</a> in AnemometerModel.php</div>
</dd>
</dl>
<a name="c"></a>
<div class="index-letter-section">
<div style="float: left" class="index-letter-title">c</div>
<div style="float: right"><a href="#top">top</a></div>
<div style="clear: both"></div>
</div>
<dl>
<dt class="field">
<span class="method-title">checksum_exists</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodchecksum_exists">AnemometerModel::checksum_exists()</a> in AnemometerModel.php</div>
<div class="index-item-description">Query the database and return true if a given checksum exists</div>
</dd>
<dt class="field">
<span class="method-title">connect_to_datasource</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodconnect_to_datasource">AnemometerModel::connect_to_datasource()</a> in AnemometerModel.php</div>
<div class="index-item-description">Try to connect to the datasource, throw an exception on failure</div>
</dd>
</dl>
<a name="g"></a>
<div class="index-letter-section">
<div style="float: left" class="index-letter-title">g</div>
<div style="float: right"><a href="#top">top</a></div>
<div style="clear: both"></div>
</div>
<dl>
<dt class="field">
<span class="method-title">get_create_table</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_create_table">AnemometerModel::get_create_table()</a> in AnemometerModel.php</div>
<div class="index-item-description">Get the create table definitions for the query</div>
</dd>
<dt class="field">
<span class="method-title">get_data_source</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_data_source">AnemometerModel::get_data_source()</a> in AnemometerModel.php</div>
<div class="index-item-description">Given a data source name, get the properties for it.</div>
</dd>
<dt class="field">
<span class="method-title">get_data_source_names</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_data_source_names">AnemometerModel::get_data_source_names()</a> in AnemometerModel.php</div>
<div class="index-item-description">Get the list of names for the configured data sources</div>
</dd>
<dt class="field">
<span class="method-title">get_default_report_action</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_default_report_action">AnemometerModel::get_default_report_action()</a> in AnemometerModel.php</div>
<div class="index-item-description">return the default report action name; usually either report or graph_search</div>
</dd>
<dt class="field">
<span class="method-title">get_explain_for_sample</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_explain_for_sample">AnemometerModel::get_explain_for_sample()</a> in AnemometerModel.php</div>
<div class="index-item-description">try to get the explain plan for a query</div>
</dd>
<dt class="field">
<span class="method-title">get_form_fields</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_form_fields">AnemometerModel::get_form_fields()</a> in AnemometerModel.php</div>
<div class="index-item-description">get the field names for the given report</div>
</dd>
<dt class="field">
<span class="method-title">get_query_advisor</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_query_advisor">AnemometerModel::get_query_advisor()</a> in AnemometerModel.php</div>
<div class="index-item-description">invoke pt-query-advisor and get its output</div>
</dd>
<dt class="field">
<span class="method-title">get_query_by_checksum</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_query_by_checksum">AnemometerModel::get_query_by_checksum()</a> in AnemometerModel.php</div>
<div class="index-item-description">given a checksum, return the full database row from the fact table for it.</div>
</dd>
<dt class="field">
<span class="method-title">get_query_samples</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_query_samples">AnemometerModel::get_query_samples()</a> in AnemometerModel.php</div>
<div class="index-item-description">Retrieve query samples from the history table, ordered from most recent</div>
</dd>
<dt class="field">
<span class="method-title">get_report</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_report">AnemometerModel::get_report()</a> in AnemometerModel.php</div>
<div class="index-item-description">get the full config information for the given report.</div>
</dd>
<dt class="field">
<span class="method-title">get_report_defaults</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_report_defaults">AnemometerModel::get_report_defaults()</a> in AnemometerModel.php</div>
<div class="index-item-description">get the default search values for the specified report type</div>
</dd>
<dt class="field">
<span class="method-title">get_reviewers</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_reviewers">AnemometerModel::get_reviewers()</a> in AnemometerModel.php</div>
<div class="index-item-description">Return a list of reviewers defined by the config file</div>
</dd>
<dt class="field">
<span class="method-title">get_review_types</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_review_types">AnemometerModel::get_review_types()</a> in AnemometerModel.php</div>
<div class="index-item-description">return the list of review types. This is a configurable list of short text statuses that can describe the query.</div>
</dd>
<dt class="field">
<span class="method-title">get_table_status</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_table_status">AnemometerModel::get_table_status()</a> in AnemometerModel.php</div>
<div class="index-item-description">Get the table status info for the given query</div>
</dd>
<dt class="field">
<span class="method-title">get_visual_explain</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodget_visual_explain">AnemometerModel::get_visual_explain()</a> in AnemometerModel.php</div>
<div class="index-item-description">invoke pt-visual-explain and get its output</div>
</dd>
</dl>
<a name="i"></a>
<div class="index-letter-section">
<div style="float: left" class="index-letter-title">i</div>
<div style="float: right"><a href="#top">top</a></div>
<div style="clear: both"></div>
</div>
<dl>
<dt class="field">
<span class="method-title">init_query_explainer</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodinit_query_explainer">AnemometerModel::init_query_explainer()</a> in AnemometerModel.php</div>
<div class="index-item-description">Create a new query explainer object for the given query sample</div>
</dd>
</dl>
<a name="s"></a>
<div class="index-letter-section">
<div style="float: left" class="index-letter-title">s</div>
<div style="float: right"><a href="#top">top</a></div>
<div style="clear: both"></div>
</div>
<dl>
<dt class="field">
<span class="method-title">set_data_source</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodset_data_source">AnemometerModel::set_data_source()</a> in AnemometerModel.php</div>
<div class="index-item-description">sets the currently active datasource.</div>
</dd>
<dt class="field">
<span class="method-title">set_tables</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodset_tables">AnemometerModel::set_tables()</a> in AnemometerModel.php</div>
<div class="index-item-description">set the current fact and dimension table. That is the query_review and query_review_history tables. This is used when we select samples or update a query by its checksum.</div>
</dd>
</dl>
<a name="u"></a>
<div class="index-letter-section">
<div style="float: left" class="index-letter-title">u</div>
<div style="float: right"><a href="#top">top</a></div>
<div style="clear: both"></div>
</div>
<dl>
<dt class="field">
<span class="method-title">update_query</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="AnemometerModel/AnemometerModel.html#methodupdate_query">AnemometerModel::update_query()</a> in AnemometerModel.php</div>
<div class="index-item-description">Preform an update query on the given checksum</div>
</dd>
</dl>
<div class="index-letter-menu">
<a class="index-letter" href="elementindex_AnemometerModel.html#a">a</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#c">c</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#g">g</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#i">i</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#s">s</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#u">u</a>
<a class="index-letter" href="elementindex_AnemometerModel.html#_">_</a>
</div> </body>
</html>