classTableResolver
final class TableResolver
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
Resolves a qualified table name against an explicit schema snapshot.
Properties§
public Schema $schemapublic Identifiers $identifierspublic string $defaultSchemaMethods§
public function __construct(
public Schema $schema,
public Identifiers $identifiers,
public string $defaultSchema,
)Binds the dependencies used for semantic binding.
Parameters
$schema | Schema | |
$identifiers | Identifiers | |
$defaultSchema | string |
public function resolve(list<string> $parts, Node $source): TableDefinitionParameters
$parts | list<string> | |
$source | Node |
Returns
Throws
Called from 1
Calls 4
- function-call
countline 33 - method-call Identifiers::relationEqual() line 37
- new SemanticException line 43
- function-call
implodeline 43
Test cases 60§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
TableResolverTestcalls
Other tests reaching this symbol 59
SchemaAnalyzerTestcallsColumnPropertiesTestcallsColumnReaderTestcallsConstraintReaderTestcallsIdentifiersTestcallsSchemaChangesTestcallsSchemaReaderTestcallsStatementListTestcallsTokenGroupsTestcallsTreeTestcallsTypeReaderTestcallsBinderTestcallsBoundRelationTest::testKeepsScopeAndRelationAtTheSameStagecallsExpressionBinderTestcallsExpressionRulesTestcallsFromBinderTest::testKindRecognizesRightAndRejectsNaturalcallsIdentitySequenceTestcallsLiteralBinderTestcallsNullFactsTestcallsProjectionBinderTestcallsScopeTestcallsSelectBinderTestcallsSelectModifiersBinderTestcallsSyntaxGuardTestcallsTypeResolutionTestcallsDialectTestcallsBoundSelectTestcallsColumnBindingTestcallsExpressionKindTestcallsExpressionTestcallsJoinKindTestcallsJoinTestcallsOrderingTestcallsOutputColumnTestcallsTableUseTestcallsPlatformTestcallsNameRulesTestcallsQueryRulesTestcallsSchemaRulesTestcallsSyntaxRulesTestcallsTypeRulesTestcallsColumnDefinitionTestcallsColumnGenerationTestcallsConstraintKindTestcallsGenerationKindTestcallsInvariantTestcallsTableConstraintTestcallsTableDefinitionTestcallsSchemaBuilderTestcallsSchemaTestcallsSemanticExceptionTestcallsNullabilityTestcallsTypeDescriptorTestcallsSchemaTestcallsNameRulesTestcallsPlatformTestcallsQueryRulesTestcallsSchemaRulesTestcallsTypeRulesTestcalls