Altova RaptorXML Server 2025

An Avro binary file contains an Avro data block preceded by the Avro schema that defines the structure of the data block. The avroextractschema command extracts the Avro schema from the Avro binary and serializes the Avro schema as JSON.

 

raptorxml avroextractschema [options] --avrooutput=AvroSchemaFile AvroBinaryFile

 

The AvroBinaryFile argument specifies the Avro binary file from which the Avro schema is to be extracted.

The --avrooutput option specifies the location of the extracted Avro schema.

 

Example  

Example of the avroextractschema command:

 

raptorxml avroextractschema --avrooutput=c:\MyAvroSchema.avsc c:\MyAvroBinary.avro

 

 

Options

Options are listed in short form (if available) and long form. You can use one or two dashes for both short and long forms. An option may or may not take a value. If it takes a value, it is written like this: --option=value. Values can be specified without quotes except in two cases: (i) when the value string contains spaces, or (ii) when explicitly stated in the description of the option that quotes are required. If an option takes a Boolean value and no value is specified, then the option's default value is TRUE. Use the --h, --help option to display information about the command.

 

 

© 2018-2024 Altova GmbH