Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Avro type

Corresponding MZ type

null

null

boolean

boolean

int

int (needs casting in APL)

long

long (needs casting in APL)

float

float (needs casting in APL)

double

double (needs casting in APL)

string

string

record

AvroRecordUDR

enum

AvroEnumUDR

fixed

AvroFixedUDR

DynamicAvroUDR

DynamicAvroUDR is an output of Avro Decoder. The type of “data” filed depends on the schema used for encoding/decoding the payload.

All elements in a map can be accessed via key equal to their “name” value in corresponding avro schema

The following fields are included in the DynamicAvroUDR :

Field

Description

data (any)

Contains content decoded using decoder

AvroDecoderUDR

AvroDecoderUDR is used as an input for Avro Decoder.

The following fields are included in the AvroDecoderUDR :

Field

Description

data (bytearray)

This field contains binary encoded avro message payload. This should be just a message payload without any metadata.

readerSchemaID (string)

Avro Reader SchemaID - ID of compatible schema used for reading data

writerSchemaID (string)

Avro Writer SchemaID - schema used for encoding the message

AvroEncoderUDR

AvroEncoderUDR is used as an input for Avro Encoder.

The following fields are included in the AvroEncoderUDR :

Field

Description

data (any)

This field contains an UDR/type to be encoded using selected schema

writerSchemaID (string)

Avro Writer SchemaID - schema used for encoding the message

AvroEnumUDR

AvroEnumUDR is used represent Enum avro type.

The following fields are included in the AvroEnumUDR :

Field

Description

fullname (string)

Name of the enum field
(example “example.avro.myFixed”)

symbol (string)

Selected value of the specific enum type

AvroFixedUDR

AvroFixedUDR is used to representive Fixed avro type.

The following fields are included in the AvroFixedUDR :

Field

Description

bytes (bytearray)

Byte value of the field

fullname (string)

Name of the fixed field
(example “example.avro.myFixed”)

AvroRecordUDR

AvroRecordUDR is used to represent Avro Record structure.

The following fields are included in the AvroRecordUDR :

Field

Description

fields (map<string,any>)

Map containing fields of the record

fullname (string)

Name of the record including the namespace (example “example.avro.User3”)

  • No labels