Class StatementStartEvent

  • All Implemented Interfaces:
    Message

    public class StatementStartEvent
    extends StatementEvent
    Event created just after a statement has been created.
    • Constructor Detail

      • StatementStartEvent

        public StatementStartEvent​(long timestamp,
                                   int serverId,
                                   int connectionId,
                                   long statementId)
        Creates a StatementStartEvent.
        Parameters:
        timestamp - Timestamp
        serverId - Server id
        connectionId - Connection id
        statementId - Statement id
    • Method Detail

      • accept

        public <T> T accept​(Visitor<T> visitor)
        Description copied from interface: Message
        Dispatches a call to the appropriate visit method on Visitor.
        Type Parameters:
        T - Return type
        Parameters:
        visitor - Visitor
        Returns:
        Value returned by the visit method