# Uses of Interface
org.mariadb.jdbc.internal.io.output.PacketOutputStream

Packages that use PacketOutputStream
Package
Description
org.mariadb.jdbc.authentication
org.mariadb.jdbc.internal.com.send
org.mariadb.jdbc.internal.com.send.authentication
org.mariadb.jdbc.internal.com.send.authentication.gssapi
org.mariadb.jdbc.internal.com.send.parameters
org.mariadb.jdbc.internal.io.output
org.mariadb.jdbc.internal.protocol

## Uses of PacketOutputStream in org.mariadb.jdbc.authentication

Methods in org.mariadb.jdbc.authentication with parameters of type PacketOutputStream
Modifier and Type
Method
Description
`Buffer`
AuthenticationPlugin.`process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence)`
Process plugin authentication.

## Uses of PacketOutputStream in org.mariadb.jdbc.internal.com.send

Methods in org.mariadb.jdbc.internal.com.send with parameters of type PacketOutputStream
Modifier and Type
Method
Description
`static void`
ComStmtExecute.`send(PacketOutputStream pos, int statementId, ParameterHolder[] parameters, int parameterCount, ColumnType[] parameterTypeHeader, byte cursorFlag)`
Send a prepare statement binary stream.
`ComStmtPrepare`
ComStmtPrepare.`send(PacketOutputStream pos)`
Send directly to socket the sql data.
`static void`
SendChangeDbPacket.`send(PacketOutputStream pos, String database)`
Send a COM_INIT_DB request to specify the default schema for the connection.
`static void`
SendClosePacket.`send(PacketOutputStream pos)`
Send close stream to server.
`static void`
SendHandshakeResponsePacket.`send(PacketOutputStream pos, Credential credential, String host, String database, long clientCapabilities, long serverCapabilities, byte serverLanguage, byte packetSeq, Options options, String authenticationPluginType, byte[] seed)`
Send handshake response packet.
`static void`
SendSslConnectionRequestPacket.`send(PacketOutputStream pos, long clientCapabilities, byte serverLanguage)`
Send SSL request packet.
`static int`
ComQuery.`sendBatchAggregateSemiColon(PacketOutputStream writer, String firstQuery, List<String> queries, int currentIndex)`
Statement.executeBatch() rewritten multiple (concatenate with ";") according to max_allowed_packet)
`static void`
ComQuery.`sendDirect(PacketOutputStream pos, byte[] sqlBytes)`
Send directly to socket the sql data.
`static void`
ComQuery.`sendDirect(PacketOutputStream pos, byte[] sqlBytes, int queryTimeout)`
Send directly to socket the sql data.
`static void`
ComQuery.`sendMultiDirect(PacketOutputStream pos, List<byte[]> sqlBytes)`
Send directly to socket the sql data.
`static void`
ComQuery.`sendMultiDirect(PacketOutputStream pos, List<byte[]> sqlBytes, int queryTimeout)`
Send directly to socket the sql data.
`static int`
ComQuery.`sendRewriteCmd(PacketOutputStream pos, List<byte[]> queryParts, int currentIndex, int paramCount, List<ParameterHolder[]> parameterList, boolean rewriteValues)`
Client side PreparedStatement.executeBatch values rewritten (concatenate value params according to max_allowed_packet)
`static void`
ComQuery.`sendSubCmd(PacketOutputStream out, ClientPrepareResult clientPrepareResult, ParameterHolder[] parameters, int queryTimeout)`
Client-side PrepareStatement.execute() packet send.
`static void`
ComStmtExecute.`writeCmd(int statementId, ParameterHolder[] parameters, int parameterCount, ColumnType[] parameterTypeHeader, PacketOutputStream pos, byte cursorFlag)`
Write COM_STMT_EXECUTE sub-command to output buffer.

## Uses of PacketOutputStream in org.mariadb.jdbc.internal.com.send.authentication

Methods in org.mariadb.jdbc.internal.com.send.authentication with parameters of type PacketOutputStream
Modifier and Type
Method
Description
`Buffer`
CachingSha2PasswordPlugin.`process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence)`
Process native password plugin authentication.
`Buffer`
ClearPasswordPlugin.`process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence)`
Send password in clear text to server.
`Buffer`
Ed25519PasswordPlugin.`process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence)`
Process Ed25519 password plugin authentication.
`Buffer`
NativePasswordPlugin.`process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence)`
Process native password plugin authentication.
`Buffer`
OldPasswordPlugin.`process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence)`
Process old password plugin authentication.
`Buffer`
SendGssApiAuthPacket.`process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence)`
Process gssapi plugin authentication.
`Buffer`
SendPamAuthPacket.`process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence)`
Process PAM plugin authentication.
`Buffer`
Sha256PasswordPlugin.`process(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence)`
Process SHA 256 password plugin authentication.

## Uses of PacketOutputStream in org.mariadb.jdbc.internal.com.send.authentication.gssapi

Methods in org.mariadb.jdbc.internal.com.send.authentication.gssapi with parameters of type PacketOutputStream
Modifier and Type
Method
Description
`void`
GssapiAuth.`authenticate(PacketOutputStream writer, PacketInputStream in, AtomicInteger sequence, String servicePrincipalName, String mechanisms)`
`void`
StandardGssapiAuthentication.`authenticate(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence, String servicePrincipalName, String mechanisms)`
Process default GSS plugin authentication.
`void`
WindowsNativeSspiAuthentication.`authenticate(PacketOutputStream out, PacketInputStream in, AtomicInteger sequence, String servicePrincipalName, String mechanisms)`
Process native windows GSS plugin authentication.

## Uses of PacketOutputStream in org.mariadb.jdbc.internal.com.send.parameters

Methods in org.mariadb.jdbc.internal.com.send.parameters with parameters of type PacketOutputStream
Modifier and Type
Method
Description
`void`
BigDecimalParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
BooleanParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
ByteArrayParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
ByteParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
DateParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
DefaultParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
DoubleParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
FloatParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
IntParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
LocalTimeParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
LongParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
NullParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
OffsetTimeParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
ParameterHolder.`writeBinary(PacketOutputStream pos)`
`void`
ReaderParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
SerializableParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
ShortParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
StreamParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
StringParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
TimeParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
TimestampParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
ZonedDateTimeParameter.`writeBinary(PacketOutputStream pos)`
Write data to socket in binary format.
`void`
ByteArrayParameter.`writeLongData(PacketOutputStream pos)`
`default void`
ParameterHolder.`writeLongData(PacketOutputStream pos)`
`void`
ReaderParameter.`writeLongData(PacketOutputStream pos)`
`void`
StreamParameter.`writeLongData(PacketOutputStream pos)`
`void`
BigDecimalParameter.`writeTo(PacketOutputStream pos)`
`void`
BooleanParameter.`writeTo(PacketOutputStream os)`
`void`
ByteArrayParameter.`writeTo(PacketOutputStream pos)`
Write data to socket in text format.
`void`
ByteParameter.`writeTo(PacketOutputStream os)`
Write Byte value to stream using TEXT protocol.
`void`
DateParameter.`writeTo(PacketOutputStream os)`
Write to server OutputStream in text protocol.
`void`
DefaultParameter.`writeTo(PacketOutputStream pos)`
Send escaped String to outputStream.
`void`
DoubleParameter.`writeTo(PacketOutputStream pos)`
`void`
FloatParameter.`writeTo(PacketOutputStream os)`
`void`
IntParameter.`writeTo(PacketOutputStream pos)`
`void`
LocalTimeParameter.`writeTo(PacketOutputStream pos)`
Write Time parameter to outputStream.
`void`
LongParameter.`writeTo(PacketOutputStream os)`
`void`
NullParameter.`writeTo(PacketOutputStream os)`
`void`
OffsetTimeParameter.`writeTo(PacketOutputStream pos)`
Write timestamps to outputStream.
`void`
ParameterHolder.`writeTo(PacketOutputStream os)`
Write parameter value.
`void`
ReaderParameter.`writeTo(PacketOutputStream pos)`
Write reader to database in text format.
`void`
SerializableParameter.`writeTo(PacketOutputStream pos)`
Write object to buffer for text protocol.
`void`
ShortParameter.`writeTo(PacketOutputStream pos)`
`void`
StreamParameter.`writeTo(PacketOutputStream pos)`
Write stream in text format.
`void`
StringParameter.`writeTo(PacketOutputStream pos)`
Send escaped String to outputStream.
`void`
TimeParameter.`writeTo(PacketOutputStream pos)`
Write Time parameter to outputStream.
`void`
TimestampParameter.`writeTo(PacketOutputStream pos)`
Write timestamps to outputStream.
`void`
ZonedDateTimeParameter.`writeTo(PacketOutputStream pos)`
Write timestamps to outputStream.

## Uses of PacketOutputStream in org.mariadb.jdbc.internal.io.output

Classes in org.mariadb.jdbc.internal.io.output that implement PacketOutputStream
Modifier and Type
Class
Description
`class`
`AbstractPacketOutputStream`
`class`
`CompressPacketOutputStream`
`class`
`StandardPacketOutputStream`

## Uses of PacketOutputStream in org.mariadb.jdbc.internal.protocol

Fields in org.mariadb.jdbc.internal.protocol declared as PacketOutputStream
Modifier and Type
Field
Description
`protected PacketOutputStream`
AbstractConnectProtocol.`writer`
Methods in org.mariadb.jdbc.internal.protocol with parameters of type PacketOutputStream
Modifier and Type
Method
Description
`abstract void`
AbstractMultiSend.`sendCmd(PacketOutputStream writer, Results results, List<ParameterHolder[]> parametersList, List<String> queries, int paramCount, BulkStatus status, PrepareResult prepareResult)`
Constructors in org.mariadb.jdbc.internal.protocol with parameters of type PacketOutputStream
Modifier
Constructor
Description
``
`AbstractMultiSend(Protocol protocol, PacketOutputStream writer, Results results, List<String> queries, ThreadPoolExecutor readScheduler)`
Bulk execute for statement.executeBatch().
``
`AbstractMultiSend(Protocol protocol, PacketOutputStream writer, Results results, ClientPrepareResult clientPrepareResult, List<ParameterHolder[]> parametersList, ThreadPoolExecutor readScheduler)`
Bulk execute for client-side PreparedStatement.executeBatch (no prepare).
``
`AbstractMultiSend(Protocol protocol, PacketOutputStream writer, Results results, ServerPrepareResult serverPrepareResult, List<ParameterHolder[]> parametersList, String sql, ThreadPoolExecutor readScheduler)`
Bulk execute for Server PreparedStatement.executeBatch (when no COM_MULTI)