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.
Inheritance
java.lang.Object > WireMessage > ControlMessage > AbstractQueryProtocolMessage > BindMessageStatic Fields
IDENTIFIER
protected static final char IDENTIFIER
Type | Description |
char |
Constructors
BindMessage(ConnectionHandler connection)
public BindMessage(ConnectionHandler connection)
Constructor for Bind messages that are received from the front-end.
Name | Description |
connection | ConnectionHandler |
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.
Name | Description |
connection | ConnectionHandler |
manuallyCreatedToken | ControlMessage.ManuallyCreatedToken |
Methods
flush()
public void flush()
Type | Description |
Exception |
getFormatCodes()
public List<Short> getFormatCodes()
Type | Description |
List<Short> |
getIdentifier()
protected String getIdentifier()
Used for logging.
Type | Description |
String |
getMessageName()
protected String getMessageName()
Used for logging.
Type | Description |
String |
getParameters()
public byte[][] getParameters()
Type | Description |
byte[][] |
getPayloadString()
protected String getPayloadString()
Used for logging.
Type | Description |
String |
getPortalName()
public String getPortalName()
Type | Description |
String |
getResultFormatCodes()
public List<Short> getResultFormatCodes()
Type | Description |
List<Short> |
getStatementName()
public String getStatementName()
Type | Description |
String |