Send feedback
Class BindMessage (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.16.0 keyboard_arrow_down
public class BindMessage extends AbstractQueryProtocolMessage
Message of type bind (meaning that it is a message called to a prepared statement to complete it
with missing data to prepare for execution). A bound prepared statement always yields a portal
unless it fails.
Static Fields
IDENTIFIER
protected static final char IDENTIFIER
Field Value
Constructors
BindMessage(ConnectionHandler connection)
public BindMessage(ConnectionHandler connection)
Constructor for Bind messages that are received from the front-end.
Parameter
BindMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
public BindMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
Constructor for Bind messages that are constructed to execute a Query message.
Parameters
BindMessage(ConnectionHandler connection, String statementName, byte[][] parameters, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
public BindMessage(ConnectionHandler connection, String statementName, byte[][] parameters, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
Constructor for Bind messages that are created by EXECUTE statements.
Parameters
Methods
flush()
Overrides
Exceptions
public List<Short> getFormatCodes()
Returns
getIdentifier()
protected String getIdentifier()
Returns
Overrides
getMessageName()
protected String getMessageName()
Returns
Overrides
getParameters()
public byte[][] getParameters()
Returns
getPayloadString()
protected String getPayloadString()
Returns
Overrides
getPortalName()
public String getPortalName()
Returns
public List<Short> getResultFormatCodes()
Returns
getSql()
Returns
Overrides
getStatementName()
public String getStatementName()
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-22 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?