...
Geode supports only few object types as the region Key. The region key will be marked as Key in the request format.
ResponseType
ReponseType will indicate that whether the response is partial or complete. A client can process a partial response. Response with FullResponse type id will indicate the completion of that request.
The response format will contain the 2-bytes(int16) for response type. It will be marked as ResponseType ResponseTypeId in the response format.
ResponseType | ResponseTypeId |
---|---|
FullResponse | 1 |
PartialResponse | 2 |
...
Value => ValueHeader value [ValueHeader value] | Description |
---|---|
ValueHeader => defined below | |
value => bytes | Serialized Value Object which Geode can understand |
...
PutRequestResponse
PutRequest --=> RegionName KeyObject Key CallbackArg ValueObjectValue |
---|
RegionName --=> String |
KeyObject --Key => Serialized bytes of Geode key object type |
CallbackArg –-=> Serialized bytes of Geode object type bytes |
PutResponse –-> Success |
---|
Success --=> Boolean boolean |
GetRequestResponse
GetRequest --> RegionName KeyObject Key CallbackArg |
---|
RegionName --=> StringKeyObject |
--Key => Serialized bytes of Geode key object type |
CallbackArg –-=> Serialized bytes of Geode object type |
GetResponse --=> Result |
---|
Result --=> Serialized bytes of Geode object type |
GetAllRequestResponse
GetAllRequest --=> RegionName NumberOfKeys KeyObject Key {KeyObjectKey} CallbackArg |
---|
RegionName --=> String |
NumberOfKeys --=> int |
KeyObject --Key => Serialized bytes of Geode key object type |
CallbackArg –-=> Serialized bytes of Geode object type |
GetAllResponse --> NumberOfResults KeyObject Key Result {KeyObject Key Result} |
---|
KeyObject Result --NumberOfResults => int |
Key => bytes |
Result --=> Serialized bytes of Geode object type |
PutAllRequestResponse
PutAllRequest --> RegionName NumberOfKeys KeyObject ValueObject {KeyObject ValueObjectKey Value{Key Value} CallbackArg |
---|
RegionName --> String |
NumberOfKeys --> int |
Key => bytes |
value => bytes |
CallbackArg –-> Serialized bytes of Geode object type |
PutAllResponse –-> Success |
---|
Success --> Booleanboolean |
MetaData
The purpose of metadata to pass defined key value pair with request and response.
...