[AnemometerModel] element index

Package indexes

All elements
a c g i s u _
_
top
__construct
AnemometerModel::__construct() in AnemometerModel.php
Constructor. Initialize the model object
a
top
AnemometerModel
AnemometerModel in AnemometerModel.php
class AnemometerModel
AnemometerModel.php
AnemometerModel.php in AnemometerModel.php
c
top
checksum_exists
AnemometerModel::checksum_exists() in AnemometerModel.php
Query the database and return true if a given checksum exists
connect_to_datasource
Try to connect to the datasource, throw an exception on failure
g
top
get_create_table
Get the create table definitions for the query
get_data_source
AnemometerModel::get_data_source() in AnemometerModel.php
Given a data source name, get the properties for it.
get_data_source_names
Get the list of names for the configured data sources
get_default_report_action
return the default report action name; usually either report or graph_search
get_explain_for_sample
try to get the explain plan for a query
get_form_fields
AnemometerModel::get_form_fields() in AnemometerModel.php
get the field names for the given report
get_query_advisor
invoke pt-query-advisor and get its output
get_query_by_checksum
given a checksum, return the full database row from the fact table for it.
get_query_samples
Retrieve query samples from the history table, ordered from most recent
get_report
AnemometerModel::get_report() in AnemometerModel.php
get the full config information for the given report.
get_report_defaults
get the default search values for the specified report type
get_reviewers
AnemometerModel::get_reviewers() in AnemometerModel.php
Return a list of reviewers defined by the config file
get_review_types
return the list of review types. This is a configurable list of short text statuses that can describe the query.
get_table_status
Get the table status info for the given query
get_visual_explain
invoke pt-visual-explain and get its output
i
top
init_query_explainer
Create a new query explainer object for the given query sample
s
top
set_data_source
AnemometerModel::set_data_source() in AnemometerModel.php
sets the currently active datasource.
set_tables
AnemometerModel::set_tables() in AnemometerModel.php
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.
u
top
update_query
AnemometerModel::update_query() in AnemometerModel.php
Preform an update query on the given checksum
a c g i s u _