Versions Compared

Key

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

OP_GET_BINARY_TYPE

 

IDIEP-9
AuthorPavel Tupitsyn
SponsorPavel Tupitsyn
Created20-NOV-2017
Status
Status
colourGrey
titleDRAFT

...

Response
bool

False: binary type does not exist, response end.

True: binary type exists, response as follows.

intType id
stringType name
stringAffinity key field name
intBinaryField count
BinaryField * count
BinaryField
stringField name
intType id
intField id
boolIs enum
int (if isEnum)Enum field count
(string + int) * count (if isEnum)Enum values
intSchema count
(int (schema id) + int (field count) + int * n (field idsid) * n) * countBinary schemas, set of (schemaId + fieldIds) pairs

...

Request
intType id
stringType name
stringAffinity key field name
intBinaryField count
BinaryField * count
BinaryField
stringField name
intType id
intField id
boolIs enum
int (if isEnum)Enum field count
(string + int) * count (if isEnum)Enum values
intSchema count
(int (schema id) + int (field count) + int * n (field idsid) * n) * countBinary schemas, set of (schemaId + fieldIds) pairs

...