Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ErrorResponse = ErrorDescription
errortype = ErrorThe error message

Anchor

...

Error

...

Error
Error

The server will raise the error when it failed to execute API request from the client. The error code and message should help the client to diagnose the issue.

...

Some data being sent between the client and server, for the most part these rely on protobuf for proper serialization, except for CustomEncodedValues

EncodedValue = (one of the below)Description
intResult32-bit signed integer
longResult64-bit signed integer
shortResult16-bit signed integer
byteResult8-bit signed integer
booleanResultTrue or False.
doubleResult64-bit floating point number.
floatResult32-bit floating point number.
binaryResultA binary blob to be stored in the region.
stringResultCharacter string
customEncodedValueData which doesn't use protobuf serialization

...

EncodedValue represents a serialized value in a format that Geode can understand. It is used for both keys and values in database requests.

Value = { ValueHeader value}Description
encodingTypetype = EncodingTypeThe encoding type of the following bytes.
valuetype = bytesSerialized Value Object which Geode can understand

...

NameDescription
JSONUTF-8 encoded string, containing a JSON document that will be deserialized in the same way as the REST API.

Anchor
Entry
Entry
Entry

This structure represents a pair of data corresponding to a key and associated value.

Entry = EncodedValue ErrorDescription
keytype = EncodedValueData referencing the corresponding value
valuetype = EncodedValueData associated to the corresponding key

Anchor
KeyedError
KeyedError
KeyedError

Some responses may contain multiple errors keyed to different inputs.  This object enables this behavior.

KeyedError = EncodedValue ErrorDescription
keytype = EncodedValueKey corresponding to this error
errortype = ErrorDetails about the failure