Class RunPrepStmtMessage
- java.lang.Object
-
- com.inductiveautomation.ignition.client.gateway_interface.messages.MessageBuilder
-
- com.inductiveautomation.ignition.client.gateway_interface.messages.RunPrepStmtMessage
-
- All Implemented Interfaces:
GatewayInterface.MessagePrinter
public class RunPrepStmtMessage extends MessageBuilder
Builds the proper message to invoke the RunPrepStmt function
-
-
Constructor Summary
Constructors Constructor Description RunPrepStmtMessage(java.lang.String query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunPrepStmtMessage
database(java.lang.String database)
RunPrepStmtMessage
getIds(boolean getIds)
int
getMinConnectionMode()
Minimum connection mode needed to run, or zero to always run.RunPrepStmtMessage
queryArgs(java.lang.Object... args)
Sets the query arguments.RunPrepStmtMessage
skipAudit(boolean skipAudit)
RunPrepStmtMessage
transactionId(java.lang.String txId)
-
Methods inherited from class com.inductiveautomation.ignition.client.gateway_interface.messages.MessageBuilder
arg, arg, build, getStatMetric, printMessage
-
-
-
-
Method Detail
-
queryArgs
public RunPrepStmtMessage queryArgs(java.lang.Object... args) throws GatewayException
Sets the query arguments. These must be serializable as they'll be serialized to send to the gateway.- Throws:
GatewayException
-
database
public RunPrepStmtMessage database(java.lang.String database)
-
transactionId
public RunPrepStmtMessage transactionId(java.lang.String txId)
-
getIds
public RunPrepStmtMessage getIds(boolean getIds)
-
skipAudit
public RunPrepStmtMessage skipAudit(boolean skipAudit)
-
getMinConnectionMode
public int getMinConnectionMode()
Description copied from interface:GatewayInterface.MessagePrinter
Minimum connection mode needed to run, or zero to always run.- Specified by:
getMinConnectionMode
in interfaceGatewayInterface.MessagePrinter
- Overrides:
getMinConnectionMode
in classMessageBuilder
-
-