enumSamplingMethod
enum SamplingMethod: string
Public API: explicitly declared with
@visibility public.The sampling method of a TABLESAMPLE clause (MySQL 9.x grammars).
Each case holds its keyword. Source: https://dev.mysql.com/doc/refman/9.1/en/select.html.
\SqlSemantics\Platform\MySql\Statement\Relation\Hint\SamplingMethod::Bernoulli->value // => 'BERNOULLI'Cases§
case System = 'SYSTEM'case Bernoulli = 'BERNOULLI'Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 1
Relations§
Constant reads 2
- class-const SqlSemantics\Platform\MySql\Lowering\Query\Shared\TableRule::sample() packages/sql-semantics-mysql/src/Lowering/Query/Shared/TableRule.php:309
- class-const SqlSemantics\Platform\MySql\Lowering\Query\Shared\TableRule::sample() packages/sql-semantics-mysql/src/Lowering/Query/Shared/TableRule.php:310