use of org.apache.ignite.internal.binary.BinaryWriterExImpl in project ignite by apache.
the class JdbcMessageParser method encode.
/** {@inheritDoc} */
@Override
public byte[] encode(SqlListenerResponse msg) {
assert msg != null;
assert msg instanceof JdbcResponse;
JdbcResponse res = (JdbcResponse) msg;
BinaryWriterExImpl writer = createWriter(INIT_CAP);
res.writeBinary(writer);
return writer.array();
}
Aggregations