Interface IInsertGenerator

  • 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 IInsertGenerator
    Generates SQL insert statement used to put an eBus notification message into database. Unlike message retrieval, this generator both encodes the notification message and creates the SQL insert statement.

    (Message retrieval generates the select statement and decodes the eBus notification message in two separate steps.)

    Author:
    Charles W. Rapp
    See Also:
    IRetrieveGenerator, IMessageDecoder
    • Method Detail

      • insertStatement

        String insertStatement​(ENotificationMessage message)
        Returns SQL statement used to insert given eBus notification message into database.
        Parameters:
        message - eBus notification message.
        Returns:
        SQL insert statement.