Class LateralJoinDemo

java.lang.Object
dev.frostlake.demo.AbstractDemo
dev.frostlake.demo.LateralJoinDemo

public class LateralJoinDemo extends AbstractDemo
Demonstration of LATERAL JOIN functionality in Frostlake SQL Engine LATERAL allows subqueries to reference columns from the outer query, enabling correlated subqueries in the FROM clause.
  • Constructor Details

    • LateralJoinDemo

      public LateralJoinDemo()
  • Method Details

    • main

      public static void main(String[] args)
    • getDemoTitle

      protected String getDemoTitle()
      Description copied from class: AbstractDemo
      Get the demo title to display at the start
      Specified by:
      getDemoTitle in class AbstractDemo
      Returns:
      the title AbstractDemo.execute() prints before running the demo
    • runDemo

      protected void runDemo() throws Exception
      Description copied from class: AbstractDemo
      Main entry point - subclasses should implement this to define their demo logic
      Specified by:
      runDemo in class AbstractDemo
      Throws:
      Exception - if any demo step fails; AbstractDemo.execute() reports it and still shuts down
    • getMaxDisplayRows

      protected int getMaxDisplayRows()
      Description copied from class: AbstractDemo
      Get maximum number of rows to display in result sets Subclasses can override to show more or fewer rows
      Overrides:
      getMaxDisplayRows in class AbstractDemo
      Returns:
      the row display cap, 100 unless overridden