final class PredicateCompiler
Restricted visibility: declared "@visibility ZtdQuery\Platform\MySql". Code outside that scope must not name this declaration.

Predicate Compiler.

Methods§

public function rangePredicates(
    string $expression,
    array<int|string, PartitionDefinition> $partitions,
): array<string, string>

Parameters

$expressionstring
$partitionsarray<int|string, PartitionDefinition>

Returns

array<string, string>
Test cases 1
Called from 1
Calls 2
public function listPredicates(
    string $expression,
    array<int|string, PartitionDefinition> $partitions,
): array<string, string>

Parameters

$expressionstring
$partitionsarray<int|string, PartitionDefinition>

Returns

array<string, string>
Test cases 1
Called from 1
Calls 5
public function partitionValue(PartitionDefinition $partition, string $expectedType): ?string

Partition Value for the supplied MySQL input.

Parameters

$partitionPartitionDefinition
$expectedTypestring

Returns

?string
Test cases 1
Called from 2
Calls 3

Test cases 17§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 8
Other tests reaching this symbol 9

Relations§

Instantiated in 3
Method calls 3