public class CommandLogMessage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CommandLogMessage.Event |
Constructor and Description |
---|
CommandLogMessage(long timestamp,
String requestID,
long sourceCommandID,
String transactionID,
String modelName,
String translatorName,
String sessionID,
String principal,
Long finalRowCount,
CommandLogMessage.Event event,
ExecutionContext context,
Long cpuTime) |
CommandLogMessage(long timestamp,
String requestID,
long sourceCommandID,
String transactionID,
String modelName,
String translatorName,
String sessionID,
String principal,
String sql,
ExecutionContext context) |
CommandLogMessage(long timestamp,
String requestID,
String transactionID,
String sessionID,
String principal,
String vdbName,
String vdbVersion,
Long finalRowCount,
CommandLogMessage.Event event,
PlanNode plan) |
CommandLogMessage(long timestamp,
String requestID,
String transactionID,
String sessionID,
String applicationName,
String principal,
String vdbName,
String vdbVersion,
String sql,
Long cpuTime) |
Modifier and Type | Method and Description |
---|---|
String |
getApplicationName() |
String |
getConnectorBindingName()
Deprecated.
in 7.7 see
getTranslatorName() |
Long |
getCpuTime()
the cpu time in nanoseconds.
|
ExecutionContext |
getExecutionContext()
Only available for source commands
|
String |
getModelName() |
PlanNode |
getPlan()
Only available for user commands after the NEW event
|
String |
getPrincipal() |
String |
getRequestID() |
Long |
getRowCount()
Returns the command.
|
String |
getSessionID() |
Object[] |
getSourceCommand()
The source command issued.
|
Long |
getSourceCommandID() |
String |
getSql()
Returns the command.
|
CommandLogMessage.Event |
getStatus() |
long |
getTimestamp() |
String |
getTransactionID() |
String |
getTranslatorName() |
String |
getVdbName() |
String |
getVdbVersion() |
boolean |
isSource() |
void |
setSourceCommand(Object[] sourceCommand) |
String |
toString() |
public CommandLogMessage(long timestamp, String requestID, String transactionID, String sessionID, String applicationName, String principal, String vdbName, String vdbVersion, String sql, Long cpuTime)
public CommandLogMessage(long timestamp, String requestID, String transactionID, String sessionID, String principal, String vdbName, String vdbVersion, Long finalRowCount, CommandLogMessage.Event event, PlanNode plan)
public CommandLogMessage(long timestamp, String requestID, long sourceCommandID, String transactionID, String modelName, String translatorName, String sessionID, String principal, String sql, ExecutionContext context)
public CommandLogMessage(long timestamp, String requestID, long sourceCommandID, String transactionID, String modelName, String translatorName, String sessionID, String principal, Long finalRowCount, CommandLogMessage.Event event, ExecutionContext context, Long cpuTime)
public long getTimestamp()
public String getTransactionID()
public String getSessionID()
public String getApplicationName()
public String getPrincipal()
public String getVdbName()
public String getVdbVersion()
public String getRequestID()
public Long getSourceCommandID()
public String getSql()
CommandLogMessage.Event.NEW
public Long getRowCount()
CommandLogMessage.Event.END
public String getModelName()
public String getConnectorBindingName()
getTranslatorName()
public String getTranslatorName()
public CommandLogMessage.Event getStatus()
public boolean isSource()
public ExecutionContext getExecutionContext()
public PlanNode getPlan()
public Long getCpuTime()
public void setSourceCommand(Object[] sourceCommand)
public Object[] getSourceCommand()
CommandLogMessage.Event.SOURCE
sourceCommand
- Copyright © 2017 JBoss by Red Hat. All rights reserved.