001package gudusoft.gsqlparser.ir.semantic.joinanalysis;
002
003/**
004 * Discriminator for a {@link JoinEndpoint}.
005 *
006 * <ul>
007 *   <li>{@link #RELATION} — a single FROM-clause relation (a base
008 *       table, CTE, or derived table), identified by its alias and
009 *       qualified name.</li>
010 *   <li>{@link #JOIN_RESULT} — the accumulated result of prior joins in
011 *       a left-deep chain, identified by the order of the join that
012 *       produced it and the aliases it contributes.</li>
013 * </ul>
014 *
015 * <p>Introduced by join-analysis slice 162 (S1).
016 */
017public enum JoinEndpointKind {
018    RELATION,
019    JOIN_RESULT
020}