public class JdbcRequest extends SqlListenerRequest implements JdbcRawBinarylizable
| Modifier and Type | Field and Description |
|---|---|
static byte |
QRY_CLOSE
Close query.
|
static byte |
QRY_EXEC
Execute sql query.
|
static byte |
QRY_FETCH
Fetch query results.
|
static byte |
QRY_META
Get columns meta query.
|
HANDSHAKE| Constructor and Description |
|---|
JdbcRequest(byte type) |
| Modifier and Type | Method and Description |
|---|---|
void |
readBinary(BinaryReaderExImpl reader)
Reads fields from provided reader.
|
static JdbcRequest |
readRequest(BinaryReaderExImpl reader) |
byte |
type() |
void |
writeBinary(BinaryWriterExImpl writer)
Writes fields to provided writer.
|
requestId, requestIdpublic static final byte QRY_EXEC
public static final byte QRY_FETCH
public static final byte QRY_CLOSE
public static final byte QRY_META
public void writeBinary(BinaryWriterExImpl writer) throws BinaryObjectException
writeBinary in interface JdbcRawBinarylizablewriter - Binary object writer.BinaryObjectException - In case of error.public void readBinary(BinaryReaderExImpl reader) throws BinaryObjectException
readBinary in interface JdbcRawBinarylizablereader - Binary object reader.BinaryObjectException - In case of error.public byte type()
public static JdbcRequest readRequest(BinaryReaderExImpl reader) throws BinaryObjectException
reader - Binary reader.BinaryObjectException - On error.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017