Interface DdlParserListener

All Known Implementing Classes:
DdlChanges
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DdlParserListener
An interface that can listen to various actions of a DdlParser. Every kind of DdlParserListener.Event has a type that makes it easier to implement a DdlParserListener using a switch statement. However, each kind of DdlParserListener.Event also may have additional data associated with it.

Clearly not all DDL statements processed by a parser will result in an event.

Author:
Randall Hauch
  • Method Details

    • handle

      void handle(DdlParserListener.Event event)
      Handle a DDL event.
      Parameters:
      event - the DDL event; never null