Uses of Interface
gudusoft.gsqlparser.resolver2.namespace.INamespace
Packages that use INamespace
Package
Description
-
Uses of INamespace in gudusoft.gsqlparser.resolver2
Methods in gudusoft.gsqlparser.resolver2 that return INamespaceModifier and TypeMethodDescriptionScopeBuildResult.getNamespaceForTable(TTable table) Get the namespace for a specific table.Methods in gudusoft.gsqlparser.resolver2 that return types with arguments of type INamespaceModifier and TypeMethodDescriptionNameResolver.findNamespacesWithColumn(String columnName, IScope scope) Find all namespaces that contain a given column.ScopeBuildResult.getTableToNamespaceMap()Get all TTable -> INamespace mappingsMethods in gudusoft.gsqlparser.resolver2 with parameters of type INamespaceModifier and TypeMethodDescriptionNameResolver.resolveInNamespace(String columnName, INamespace namespace) Resolve a column within a specific namespace (for direct lookups). -
Uses of INamespace in gudusoft.gsqlparser.resolver2.enhancement
Methods in gudusoft.gsqlparser.resolver2.enhancement that return INamespaceMethods in gudusoft.gsqlparser.resolver2.enhancement that return types with arguments of type INamespaceModifier and TypeMethodDescriptionEnhancementResult.getAddedColumns()EnhancementResult.getSkippedColumns()NamespaceEnhancer.getStarNamespaces()Get all star namespacesMethods in gudusoft.gsqlparser.resolver2.enhancement with parameters of type INamespaceModifier and TypeMethodDescriptionvoidNamespaceEnhancer.collectColumnRef(String columnName, INamespace targetNamespace, TObjectName sourceReference, double confidence, String evidence) Deprecated.voidNamespaceEnhancer.collectColumnRef(String columnName, INamespace targetNamespace, TObjectName sourceReference, ResolutionEvidence evidenceDetail) Collect a column reference with structured evidence.voidNamespaceEnhancer.collectFromResolution(TObjectName column, ResolutionResult result, INamespace candidateNamespace) Collect a column reference based on resolution result.EnhancementResult.getColumnsAddedTo(INamespace namespace) Get columns added to a specific namespacebooleanNamespaceEnhancer.isStarNamespace(INamespace namespace) Check if a namespace is a star namespacevoidEnhancementResult.recordAdded(INamespace namespace, String columnName, CollectedColumnRef ref) Record a column that was successfully addedvoidEnhancementResult.recordSkipped(INamespace namespace, String columnName, CollectedColumnRef ref) Record a column that was skipped (already exists)Constructors in gudusoft.gsqlparser.resolver2.enhancement with parameters of type INamespaceModifierConstructorDescriptionCollectedColumnRef(String columnName, INamespace targetNamespace, TObjectName sourceReference, int passNumber, double confidence, String evidence) Deprecated.CollectedColumnRef(String columnName, INamespace targetNamespace, TObjectName sourceReference, int passNumber, ResolutionEvidence evidenceDetail) Constructor with ResolutionEvidence (preferred for new code). -
Uses of INamespace in gudusoft.gsqlparser.resolver2.expansion
Fields in gudusoft.gsqlparser.resolver2.expansion declared as INamespaceModifier and TypeFieldDescriptionfinal INamespaceStarPushDownResolver.PushDownRequest.starNamespaceThe namespace containing the star columnMethods in gudusoft.gsqlparser.resolver2.expansion with parameters of type INamespaceModifier and TypeMethodDescriptionvoidStarPushDownResolver.PushDownResult.addPushedDownColumn(INamespace namespace, String columnName) voidStarPushDownResolver.PushDownResult.addUpLevelReference(INamespace namespace, TObjectName reference) StarColumnExpander.expandQualifiedStar(TResultColumn starColumn, INamespace namespace, String tableAlias) Expand qualified star (e.g., t1.*) to explicit column list.StarColumnExpander.expandStar(TResultColumn starColumn, INamespace namespace) Expand a star column to explicit column list.StarPushDownResolver.PushDownResult.getPushedDownColumns(INamespace namespace) StarPushDownResolver.PushDownResult.getUpLevelReferences(INamespace namespace) Constructors in gudusoft.gsqlparser.resolver2.expansion with parameters of type INamespaceModifierConstructorDescriptionPushDownRequest(String columnName, TObjectName columnReference, INamespace starNamespace, TResultColumn starColumn, double confidence, String evidence) -
Uses of INamespace in gudusoft.gsqlparser.resolver2.model
Methods in gudusoft.gsqlparser.resolver2.model that return INamespaceModifier and TypeMethodDescriptionFromScopeIndex.findCandidateNamespace(String tablePrefix) Finds a candidate namespace for column resolution.ScopeChild.getNamespace()FromScopeIndex.getPreferredStarNamespace()Gets the first namespace that supports star columns or dynamic inference.ColumnSource.getSourceNamespace()Constructors in gudusoft.gsqlparser.resolver2.model with parameters of type INamespaceModifierConstructorDescriptionColumnSource(INamespace sourceNamespace, String exposedName, TParseTreeNode definitionNode) Constructor for definite matches (confidence = 1.0)ColumnSource(INamespace sourceNamespace, String exposedName, TParseTreeNode definitionNode, double confidence, String evidence) ColumnSource(INamespace sourceNamespace, String exposedName, TParseTreeNode definitionNode, double confidence, String evidence, TTable overrideTable) ColumnSource(INamespace sourceNamespace, String exposedName, TParseTreeNode definitionNode, double confidence, String evidence, TTable overrideTable, List<TTable> candidateTables) ColumnSource(INamespace sourceNamespace, String exposedName, TParseTreeNode definitionNode, double confidence, String evidence, TTable overrideTable, List<TTable> candidateTables, ResolutionEvidence evidenceDetail) Full constructor with all fields including ResolutionEvidence.ColumnSource(INamespace sourceNamespace, String exposedName, TParseTreeNode definitionNode, double confidence, String evidence, TTable overrideTable, List<TTable> candidateTables, ResolutionEvidence evidenceDetail, FieldPath fieldPath) Full constructor with all fields including ResolutionEvidence and FieldPath.ColumnSource(INamespace sourceNamespace, String exposedName, TParseTreeNode definitionNode, ResolutionEvidence evidenceDetail) Constructor with ResolutionEvidence (preferred for new code).ColumnSource(INamespace sourceNamespace, String exposedName, TParseTreeNode definitionNode, ResolutionEvidence evidenceDetail, TTable overrideTable) Constructor with ResolutionEvidence and override table.ScopeChild(int ordinal, String alias, INamespace namespace, boolean nullable) -
Uses of INamespace in gudusoft.gsqlparser.resolver2.namespace
Classes in gudusoft.gsqlparser.resolver2.namespace that implement INamespaceModifier and TypeClassDescriptionclassAbstract base class for all namespaces.classNamespace representing a Common Table Expression (CTE).classDynamic namespace for handling SELECT * without metadata.classNamespace representing Oracle PL/SQL package members (variables, constants, cursors).classNamespace representing a PIVOT table.classNamespace representing PL/SQL variables declared in a block.classNamespace representing a subquery.classNamespace representing a physical table.classNamespace representing a UNION/INTERSECT/EXCEPT query.classNamespace representing an UNNEST table expression in BigQuery.classNamespace representing a VALUES table expression.Methods in gudusoft.gsqlparser.resolver2.namespace that return INamespaceModifier and TypeMethodDescriptionPivotNamespace.getSourceNamespace()Get the namespace representing the source table.Methods in gudusoft.gsqlparser.resolver2.namespace with parameters of type INamespaceModifier and TypeMethodDescriptionvoidPivotNamespace.setSourceNamespace(INamespace sourceNamespace) Set the namespace representing the source table. -
Uses of INamespace in gudusoft.gsqlparser.resolver2.scope
Fields in gudusoft.gsqlparser.resolver2.scope declared as INamespaceMethods in gudusoft.gsqlparser.resolver2.scope that return INamespaceModifier and TypeMethodDescriptionJoinScope.getLeftNamespace()JoinScope.getRightNamespace()SelectScope.getSelectListNamespace()AbstractScope.resolveTable(String tableName) Default implementation: delegate to parentCTEScope.resolveTable(String tableName) Resolve a table name, checking CTEs first before delegating to parent.DeleteScope.resolveTable(String tableName) EmptyScope.resolveTable(String tableName) GlobalScope.resolveTable(String tableName) IScope.resolveTable(String tableName) Resolve a table name or alias to its namespace.ListBasedScope.resolveTable(String tableName) MergeScope.resolveTable(String tableName) OraclePackageScope.resolveTable(String tableName) PlsqlBlockScope.resolveTable(String tableName) SelectScope.resolveTable(String tableName) UpdateScope.resolveTable(String tableName) Methods in gudusoft.gsqlparser.resolver2.scope that return types with arguments of type INamespaceModifier and TypeMethodDescriptionAbstractScope.getVisibleNamespaces()Default implementation: delegate to parentDeleteScope.getVisibleNamespaces()EmptyScope.getVisibleNamespaces()GlobalScope.getVisibleNamespaces()IScope.getVisibleNamespaces()Get all namespaces visible in this scope.ListBasedScope.getVisibleNamespaces()MergeScope.getVisibleNamespaces()OraclePackageScope.getVisibleNamespaces()PlsqlBlockScope.getVisibleNamespaces()SelectScope.getVisibleNamespaces()UpdateScope.getVisibleNamespaces()Methods in gudusoft.gsqlparser.resolver2.scope with parameters of type INamespaceModifier and TypeMethodDescriptionvoidAbstractScope.addChild(INamespace namespace, String alias, boolean nullable) Default implementation: not supported (most scopes don't have children)voidEmptyScope.addChild(INamespace namespace, String alias, boolean nullable) voidIScope.addChild(INamespace namespace, String alias, boolean nullable) Add a child namespace to this scope.voidListBasedScope.addChild(INamespace namespace, String alias, boolean nullable) voidOraclePackageScope.addChild(INamespace namespace, String alias, boolean nullable) voidPlsqlBlockScope.addChild(INamespace namespace, String alias, boolean nullable) voidGlobalScope.addGlobalTable(String qualifiedNameStr, INamespace tableNamespace) Add a globally accessible table (from metadata).voidGlobalScope.addGlobalTable(String catalog, String schema, String tableName, INamespace tableNamespace) Add a globally accessible table with explicit catalog/schema/name.voidIResolved.found(INamespace namespace, boolean nullable, IScope scope, ResolvePath path, List<String> remainingNames) Called when a namespace is found that matches the name being resolved.voidResolvedImpl.found(INamespace namespace, boolean nullable, IScope scope, ResolvePath path, List<String> remainingNames) protected voidListBasedScope.resolveInNamespace(INamespace namespace, boolean nullable, List<String> remainingNames, INameMatcher matcher, ResolvePath path, IResolved resolved) Resolve remaining name parts within a namespace.voidJoinScope.setLeft(INamespace namespace, String alias, boolean nullable) Set the left side of the JOINvoidJoinScope.setRight(INamespace namespace, String alias, boolean nullable) Set the right side of the JOINvoidSelectScope.setSelectListNamespace(INamespace namespace) Constructors in gudusoft.gsqlparser.resolver2.scope with parameters of type INamespaceModifierConstructorDescriptionMatch(INamespace namespace, boolean nullable, IScope scope, ResolvePath path, List<String> remainingNames)
NamespaceEnhancer.collectColumnRef(String, INamespace, TObjectName, ResolutionEvidence)instead