Class ResolutionEvidence

Object
gudusoft.gsqlparser.resolver2.model.ResolutionEvidence

public class ResolutionEvidence extends Object
Unified evidence model for column resolution.

This class consolidates the scattered evidence/confidence information from various resolver components into a single, consistent structure. It provides:

  • Structured evidence type (enum, not string magic values)
  • Confidence weight with clear semantics
  • Traceability through source location and node
  • Human-readable messages for debugging

Confidence Score Semantics

The confidence score represents "how verifiable is this resolution":
  • 1.0 (Definite): Hard evidence - DDL/metadata/explicit definition
  • ~0.9 (High-confidence): Qualified reference without metadata verification
  • ~0.7 (Inferred): Star column inference, CTE reverse fill
  • ~0.5 (Weak): Context-based guess, should not auto-resolve
See Also: