public class JdbcMessageParser extends Object implements SqlListenerMessageParser
| Modifier and Type | Field and Description |
|---|---|
protected static int |
INIT_CAP
Initial output stream capacity.
|
| Constructor and Description |
|---|
JdbcMessageParser(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected BinaryReaderExImpl |
createReader(byte[] msg) |
protected BinaryWriterExImpl |
createWriter(int cap) |
SqlListenerRequest |
decode(byte[] msg)
Decode request from byte array.
|
byte[] |
encode(SqlListenerResponse msg)
Encode response to byte array.
|
protected static final int INIT_CAP
public JdbcMessageParser(GridKernalContext ctx)
ctx - Context.protected BinaryReaderExImpl createReader(byte[] msg)
msg - Message.protected BinaryWriterExImpl createWriter(int cap)
cap - Capacistypublic SqlListenerRequest decode(byte[] msg)
decode in interface SqlListenerMessageParsermsg - Message.public byte[] encode(SqlListenerResponse msg)
encode in interface SqlListenerMessageParsermsg - Response.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017