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 RunPrepStmtMessagedatabase(java.lang.String database)RunPrepStmtMessagegetIds(boolean getIds)intgetMinConnectionMode()Minimum connection mode needed to run, or zero to always run.RunPrepStmtMessagequeryArgs(java.lang.Object... args)Sets the query arguments.RunPrepStmtMessageskipAudit(boolean skipAudit)RunPrepStmtMessagetransactionId(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.MessagePrinterMinimum connection mode needed to run, or zero to always run.- Specified by:
getMinConnectionModein interfaceGatewayInterface.MessagePrinter- Overrides:
getMinConnectionModein classMessageBuilder
-
-