Class MySQLJsonBinlogProtocolValue
java.lang.Object
org.apache.shardingsphere.db.protocol.mysql.packet.binlog.row.column.value.string.MySQLJsonBinlogProtocolValue
- All Implemented Interfaces:
MySQLBinlogProtocolValue
JSON type value of MySQL binlog protocol.
There are no detail document about JSON type in MySQL replication. Also no detail document in MariaDB. Decoding implementation is referred to MySQL source code.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(MySQLBinlogColumnDef columnDef, MySQLPacketPayload payload) Read column value from binlog protocol.
-
Constructor Details
-
MySQLJsonBinlogProtocolValue
public MySQLJsonBinlogProtocolValue()
-
-
Method Details
-
read
Description copied from interface:MySQLBinlogProtocolValueRead column value from binlog protocol.- Specified by:
readin interfaceMySQLBinlogProtocolValue- Parameters:
columnDef- column definition from TABLE_MAP_EVENTpayload- payload operation for MySQL binlog packet- Returns:
- column value
-