classSelectBinder
final class SelectBinder
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
Builds a logical SELECT with separate matching, filtering, and projection stages.
Properties§
public TableResolver $tablesMethods§
public function __construct(public TableResolver $tables)Binds the dependencies used for semantic binding.
Parameters
$tables | TableResolver |
public function bind(Node $tree): BoundSelectBinds one SELECT and retains its row and value dependencies.
Parameters
$tree | Node |
Returns
Throws
SemanticException When the statement cannot be boundCalled from 1
Calls 25
- static-call StatementList::read() line 33
- function-call
countline 34 - static-call Tree::unsupported() line 35
- static-call Tree::assertChildren() line 38
- function-call
array_mergeline 39 - function-call
array_mapline 39 - static-call SyntaxGuard::select() line 44
- static-call Tree::outer() line 45
- method-call FromBinder::bind() line 46
- new FromBinder line 46
- new IdentitySequence line 46
- new Scope line 47
- static-call Tree::child() line 49
- method-call ExpressionBinder::bind() line 50
- new ExpressionBinder line 50
- method-call ExpressionRules::predicate() line 52
- new ExpressionRules line 52
- method-call ProjectionBinder::bind() line 54
- new ProjectionBinder line 54
- function-call
strtoupperline 57 - static-call Tree::text() line 57
- new SelectModifiersBinder line 59
- method-call SelectModifiersBinder::pagination() line 60
- new BoundSelect line 62
- method-call SelectModifiersBinder::ordering() line 62
Test cases 60§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
SelectBinderTestcalls
Other tests reaching this symbol 59
SchemaAnalyzerTestcallsColumnPropertiesTestcallsColumnReaderTestcallsConstraintReaderTestcallsIdentifiersTestcallsSchemaChangesTestcallsSchemaReaderTestcallsStatementListTestcallsTokenGroupsTestcallsTreeTestcallsTypeReaderTestcallsBinderTestcallsBoundRelationTestcallsExpressionBinderTestcallsExpressionRulesTestcallsFromBinderTestcallsIdentitySequenceTestcallsLiteralBinderTestcallsNullFactsTestcallsProjectionBinderTestcallsScopeTestcallsSelectModifiersBinderTestcallsSyntaxGuardTestcallsTableResolverTestcallsTypeResolutionTestcallsDialectTestcallsBoundSelectTestcallsColumnBindingTestcallsExpressionKindTestcallsExpressionTestcallsJoinKindTestcallsJoinTestcallsOrderingTestcallsOutputColumnTestcallsTableUseTestcallsPlatformTestcallsNameRulesTestcallsQueryRulesTestcallsSchemaRulesTestcallsSyntaxRulesTestcallsTypeRulesTestcallsColumnDefinitionTestcallsColumnGenerationTestcallsConstraintKindTestcallsGenerationKindTestcallsInvariantTestcallsTableConstraintTestcallsTableDefinitionTestcallsSchemaBuilderTestcallsSchemaTestcallsSemanticExceptionTestcallsNullabilityTestcallsTypeDescriptorTestcallsSchemaTestcallsNameRulesTestcallsPlatformTestcallsQueryRulesTestcallsSchemaRulesTestcallsTypeRulesTestcalls