docs: protected static AbstractPlanNode getAccessPlanForTable(JoinNode tableNode) {
          StmtTableScan tableScan = tableNode.getTableScan();
          // Access path to access the data in the table (index/scan/etc).
          AccessPath path = tableNode.m_currentAccessPath;
          assert(path != null);
  
          // if no index, it is a sequential scan
          if (path.index == null) {
              return getScanAccessPlanForTable(tableScan, path);
          }
          return getIndexAccessPlanForTable(tableScan, path);
      }