Create an array that creates a Single-Object encoded byte array.
Create an array that creates a Single-Object encoded byte array. By specifications the encoded array is obtained concatenating the V1_HEADER, the schema id and the avro-encoded payload.
avro-serialized payload
the schema used to encode the payload
a Single-Object encoded byte array
Create an array that creates a Single-Object encoded byte array.
Create an array that creates a Single-Object encoded byte array. By specifications the encoded array is obtained concatenating the V1_HEADER, the schema id and the avro-encoded payload.
avro-serialized payload
id of the schema used to encode the payload
a Single-Object encoded byte array
Extracts the ID from a Schema.
Extracts the ID from a Schema.
a Schema with unknown ID
the ID associated with the input schema
Extracts the Schema from its ID.
Extracts the Schema from its ID.
a Long representing an ID
the Schema associated to the input ID
Checks if a byte array is Avro Single-Object encoded ( Single-Object Encoding Documentation)
Checks if a byte array is Avro Single-Object encoded ( Single-Object Encoding Documentation)
a byte array
true if the input byte array is Single-Object encoded
Extracts a Tuple2 that contains the Schema and the Avro-encoded payload
Extracts a Tuple2 that contains the Schema and the Avro-encoded payload
a byte array of a Single-Object encoded payload
a pair containing the Schema and the payload of the input array