Class BindMessage (0.6.1)

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
TypeDescription
char

Constructors

BindMessage(ConnectionHandler connection)

public BindMessage(ConnectionHandler connection)

Constructor for Bind messages that are received from the front-end.

Parameter
NameDescription
connectionConnectionHandler

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
NameDescription
connectionConnectionHandler
manuallyCreatedTokenControlMessage.ManuallyCreatedToken

Methods

flush()

public void flush()
Overrides Exceptions
TypeDescription
Exception

getFormatCodes()

public List<Short> getFormatCodes()
Returns
TypeDescription
List<Short>

getIdentifier()

protected String getIdentifier()

Used for logging.

Returns
TypeDescription
String
Overrides

getMessageName()

protected String getMessageName()

Used for logging.

Returns
TypeDescription
String
Overrides

getParameters()

public byte[][] getParameters()
Returns
TypeDescription
byte[][]

getPayloadString()

protected String getPayloadString()

Used for logging.

Returns
TypeDescription
String
Overrides

getPortalName()

public String getPortalName()
Returns
TypeDescription
String

getResultFormatCodes()

public List<Short> getResultFormatCodes()
Returns
TypeDescription
List<Short>

getStatementName()

public String getStatementName()
Returns
TypeDescription
String