I would analyse it this way:
- "He swallowed a lot of new questions" - main clause; he = subject, swallowed = predicate, a lot of new questions = direct object
- "which had just occured to him" - subordinate clause, functioning as an object complement; internal analysis: which = relative...