Send feedback
Class BindMessage (0.14.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.14.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
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-12-19 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 2024-12-19 UTC."],[],[]]