Class CommandLogMessage


  • public class CommandLogMessage
    extends Object
    Log Message for source and user command events.
    • Method Detail

      • getTimestamp

        public long getTimestamp()
      • getTransactionID

        public String getTransactionID()
      • getSessionID

        public String getSessionID()
      • getApplicationName

        public String getApplicationName()
      • getPrincipal

        public String getPrincipal()
      • getVdbName

        public String getVdbName()
      • getVdbVersion

        public String getVdbVersion()
      • getRequestID

        public String getRequestID()
      • getSourceCommandID

        public Long getSourceCommandID()
      • getModelName

        public String getModelName()
      • getTranslatorName

        public String getTranslatorName()
      • isSource

        public boolean isSource()
      • getExecutionContext

        public ExecutionContext getExecutionContext()
        Only available for source commands
        Returns:
      • getPlan

        public org.teiid.client.plan.PlanNode getPlan()
        Only available for user commands after the NEW event
        Returns:
      • getCpuTime

        public Long getCpuTime()
        the cpu time in nanoseconds. Will be null for events that don't have a cpu time measurement. Will be -1 when the system is not able to determine a value.
        Returns:
      • setSourceCommand

        public void setSourceCommand​(Object[] sourceCommand)
      • getSourceCommand

        public Object[] getSourceCommand()
        The source command issued. It's up to each source as to what the representation is. Only set for the CommandLogMessage.Event.SOURCE