| Package | Description |
|---|---|
| com.github.shyiko.mysql.binlog.event.deserialization.json |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonStringFormatter
A
JsonFormatter implementation that creates a JSON string representation. |
| Modifier and Type | Method and Description |
|---|---|
static void |
JsonBinary.parse(byte[] bytes,
JsonFormatter formatter)
Parse the MySQL binary representation of a
JSON value and call the supplied JsonFormatter
for the various components of the value. |
void |
JsonBinary.parse(JsonFormatter formatter) |
protected void |
JsonBinary.parse(ValueType type,
JsonFormatter formatter) |
protected void |
JsonBinary.parseArray(boolean small,
JsonFormatter formatter)
Parse a JSON array.
|
protected void |
JsonBinary.parseBoolean(JsonFormatter formatter)
Parse a literal value that is either null,
true, or false. |
protected void |
JsonBinary.parseDate(JsonFormatter formatter)
Parse a
DATE value, which is stored using the same format as DATETIME:
5 bytes + fractional-seconds storage. |
protected void |
JsonBinary.parseDatetime(JsonFormatter formatter)
Parse a
DATETIME value, which is stored as 5 bytes + fractional-seconds storage. |
protected void |
JsonBinary.parseDecimal(int length,
JsonFormatter formatter)
Parse a
DECIMAL value. |
protected void |
JsonBinary.parseDouble(JsonFormatter formatter)
Parse a 8 byte double value.
|
protected void |
JsonBinary.parseInt16(JsonFormatter formatter)
Parse a 2 byte integer value.
|
protected void |
JsonBinary.parseInt32(JsonFormatter formatter)
Parse a 4 byte integer value.
|
protected void |
JsonBinary.parseInt64(JsonFormatter formatter)
Parse a 8 byte integer value.
|
protected void |
JsonBinary.parseObject(boolean small,
JsonFormatter formatter)
Parse a JSON object.
|
protected void |
JsonBinary.parseOpaque(JsonFormatter formatter)
Parse an opaque type.
|
protected void |
JsonBinary.parseOpaqueValue(ColumnType type,
int length,
JsonFormatter formatter) |
protected void |
JsonBinary.parseString(JsonFormatter formatter)
Parse the length and value of a string stored in MySQL's "utf8mb" character set (which equates to Java's
UTF-8 character set.
|
protected void |
JsonBinary.parseTime(JsonFormatter formatter)
Parse a
TIME value, which is stored using the same format as DATETIME:
5 bytes + fractional-seconds storage. |
protected void |
JsonBinary.parseUInt16(JsonFormatter formatter)
Parse a 2 byte unsigned integer value.
|
protected void |
JsonBinary.parseUInt32(JsonFormatter formatter)
Parse a 4 byte unsigned integer value.
|
protected void |
JsonBinary.parseUInt64(JsonFormatter formatter)
Parse a 8 byte unsigned integer value.
|
Copyright © 2019. All rights reserved.