Retrieves all registered schemas
Retrieves all registered schemas
A Sequence of (ID, 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 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
Reloads all the schemas from the previously configured storage.
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
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
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
The main entry point of the Darwin library. An instance of AvroSchemaManager should ALWAYS be obtained through the AvroSchemaManagerFactory. The manager is responsible for schemas registration, retrieval and updates.