Send feedback
Class BindMessage (0.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.25.0keyboard_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 ()
Returns
Type
Description
String
Overrides
getMessageName()
protected String getMessageName ()
Returns
Type
Description
String
Overrides
getParameters()
public byte [][] getParameters ()
Returns
Type
Description
byte [][]
getPayloadString()
protected String getPayloadString ()
Returns
Type
Description
String
Overrides
getPortalName()
public String getPortalName ()
Returns
Type
Description
String
public List<Short> getResultFormatCodes ()
getSql()
Returns
Type
Description
String
Overrides
getStatementName()
public String getStatementName ()
Returns
Type
Description
String
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 2025-06-17 UTC.
Need to tell us more?
[[["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 2025-06-17 UTC."],[],[]]