Send feedback
Class BindMessage (0.22.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.22.1 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 Type Description char
Constructors
BindMessage(ConnectionHandler connection)
public BindMessage(ConnectionHandler connection)
Constructor for Bind messages that are received from the front-end.
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.
BindMessage(ConnectionHandler connection, String statementName, String portalName, byte[][] parameters, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
public BindMessage(ConnectionHandler connection, String statementName, String portalName, byte[][] parameters, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
Constructor for Bind messages that are created by EXECUTE statements.
Methods
flush()
Overrides
public List<Short> getFormatCodes()
getIdentifier()
protected String getIdentifier()
Overrides
getMessageName()
protected String getMessageName()
Overrides
getParameters()
public byte[][] getParameters()
Returns Type Description byte [][]
getPayloadString()
protected String getPayloadString()
Overrides
getPortalName()
public String getPortalName()
public List<Short> getResultFormatCodes()
getSql()
Overrides
getStatementName()
public String getStatementName()
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-10-01 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?
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]