Extracts the Schema from its ID.
Extracts the Schema from its ID.
a Long representing an ID
the Schema associated to the input ID
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
Extracts the ID from a Schema.
Extracts the ID from a Schema.
a Schema with unknown ID
the ID associated with the input schema
Checks if all the input Schema elements are already in the cache.
Checks if all the input Schema elements are already in the cache. Then, it performs an insert on the storage for all the elements not found on the cache, and then returns each input schema paired with its ID.
all the Schema that should be registered
a sequence of pairs of the input schemas associated with their IDs
JAVA API: Checks if all the input Schema elements are already in the cache.
JAVA API: Checks if all the input Schema elements are already in the cache. Then, it performs an insert on the storage for all the elements not found on the cache, and then returns each input schema paired with its ID.
all the Schema that should be registered
a sequence of pairs of the input schemas associated with their IDs
Reloads all the schemas from the previously configured storage.
Reloads all the schemas from the previously configured storage. Throws an exception if the cache wasn't already loaded (the getInstance method must always be used to initialize the cache using the required configuration).
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
Extracts a SchemaPayloadPair that contains the Schema and the Avro-encoded payload
Extracts a SchemaPayloadPair that contains the Schema and the Avro-encoded payload
a byte array of a Single-Object encoded payload
a SchemaPayloadPair containing the Schema and the payload of the input array
Implementation of AvroSchemaManager that defines a cache where the storage data is loaded, in order to reduce the number of accesses to the storage.