Interface MySQLBinaryProtocolValue
- All Known Implementing Classes:
MySQLDateBinaryProtocolValue,MySQLDoubleBinaryProtocolValue,MySQLFloatBinaryProtocolValue,MySQLInt1BinaryProtocolValue,MySQLInt2BinaryProtocolValue,MySQLInt4BinaryProtocolValue,MySQLInt8BinaryProtocolValue,MySQLStringLenencBinaryProtocolValue,MySQLTimeBinaryProtocolValue
public interface MySQLBinaryProtocolValue
Binary protocol value for MySQL.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionread(MySQLPacketPayload payload) Read binary protocol value.voidwrite(MySQLPacketPayload payload, Object value) Write binary protocol value.
-
Method Details
-
read
Read binary protocol value.- Parameters:
payload- payload operation for MySQL packet- Returns:
- binary value result
- Throws:
SQLException- SQL exception
-
write
Write binary protocol value.- Parameters:
payload- payload operation for MySQL packetvalue- value to be written
-