question: @ Override public String toString ( ) { StringBuilder buf = new StringBuilder ( 32 ) ; switch ( this . eventType ) { case TYPE_EXECUTE : buf . append ( "EXECUTE" ) ; break ; case TYPE_FETCH : buf . append ( "FETCH" ) ; break ; case TYPE_OBJECT_CREATION : buf . append ( "CONSTRUCT" ) ; break ; case TYPE_PREPARE : buf . append ( "PREPARE" ) ; break ; case TYPE_QUERY : buf . append ( "QUERY" ) ; break ; case TYPE_WARN : buf . append ( "WARN" ) ; break ; case TYPE_SLOW_QUERY : buf . append ( "SLOW QUERY" ) ; break ; default : buf . append ( "UNKNOWN" ) ; } buf . append ( " created: " ) ; buf . append ( new Date ( this . eventCreationTime ) ) ; buf . append ( " duration: " ) ; buf . append ( this . eventDuration ) ; buf . append ( " connection: " ) ; buf . append ( this . connectionId ) ; buf . append ( " statement: " ) ; buf . append ( this . statementId ) ; buf . append ( " resultset: " ) ; buf . append ( this . resultSetId ) ; if ( this . message != null ) { buf . append ( " message: " ) ; buf . append ( this . message ) ; } if ( this . eventCreationPointDesc != null ) { buf . append ( "\n\nEvent Created at:\n" ) ; buf . append ( this . eventCreationPointDesc ) ; } return buf . toString ( ) ; }
target:  Returns a representation of this event as a String.