ID | IEP-9 | ||||||||
Author | Pavel Tupitsyn | ||||||||
Sponsor | Pavel Tupitsyn | ||||||||
Created | 20-NOV-2017 | ||||||||
Status |
|
Table of Contents |
---|
Info |
---|
This page includes low-level protocol documentation that might be outdated and is not maintained. Refer to the official protocol documentation here: https://apacheignite.readme.io/docs/binary-client-protocol |
Implement thin Ignite client in any programming language / platform using a well-defined binary connectiona protocol.
...
Response | |||||||||
bool | False: binary type does not exist, response end. True: binary type exists, response as follows. | ||||||||
int | Type id | ||||||||
string | Type name | ||||||||
string | Affinity key field name | ||||||||
int | BinaryField count | ||||||||
BinaryField * count |
| ||||||||
bool | Is enum | ||||||||
int (if isEnum) | Enum field count | ||||||||
(string + int) * count (if isEnum) | Enum values | ||||||||
int | Schema count | ||||||||
(int + int[](schema id) + int (field count) + int (field id) * n) * count | Binary schemas, set of (schemaId + fieldIds) pairs |
...
Request | |||||||||
int | Type id | ||||||||
string | Type name | ||||||||
string | Affinity key field name | ||||||||
int | BinaryField count | ||||||||
BinaryField * count |
| ||||||||
bool | Is enum | ||||||||
int (if isEnum) | Enum field count | ||||||||
(string + int) * count (if isEnum) | Enum values | ||||||||
int | Schema count | ||||||||
(int (schema id) + int (field count) + int [](field id) * n) * count | Binary schemas, set of (schemaId + fieldIds) pairs |
...
Request | |
int | Cache ID: Java-style hash code of the cache name |
BinaryObject | Filter object |
byte (if filter object is not null) | Filter platform, JAVA = 1, DOTNET = 2, CPP = 3 |
int | Cursor page size |
int | Partition to query (negative to query entire cache) |
bool | Local flag |
Response | |
long | Cursor id |
int | Row count for the first page |
(Object + Object) * count | Cache entries, key + value |
bool | Indicates whether more results are available to be fetched with OP_QUERY_SCAN_CURSOR_GET_PAGE |
OP_QUERY_SCAN_CURSOR_GET_PAGE = 2001
...
See "thin client" component in JIRA
...