interfaceHistogram
interface Histogram
extends Node
Public API: explicitly declared with
@visibility public.The histogram request of ANALYZE TABLE (MySQL 8.0 and later): update, load or drop the histograms of columns.
Mirrors Sql_cmd_analyze_table::Histogram_command. Source: https://dev.mysql.com/doc/refman/8.4/en/analyze-table.html.
$analyze = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('ANALYZE TABLE t DROP HISTOGRAM ON a, b');
count($analyze->statement->histogram?->columns() ?? []) // => 2Methods§
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
HistogramTestcalls
Relations§
Implemented by 3
Method calls 1
Type declarations 3
- type SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\MaintenanceRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/MaintenanceRule.php:213
- type SqlSemantics\Platform\MySql\Rules\Server\Histograms packages/sql-semantics-mysql/src/Rules/Server/Histograms.php:42
- type SqlSemantics\Platform\MySql\Statement\Server\Maintenance\AnalyzeTable packages/sql-semantics-mysql/src/Statement/Server/Maintenance/AnalyzeTable.php:45