Documentation ¶
Overview ¶
Compiler has methods to generate GADGT VM bytecode from Avro schemas
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Enable this to get debug logs for the compilation process LoggingEnabled = false )
Functions ¶
func Compile ¶
Given two parsed Avro schemas, compile them into a program which can read the data written by `writer` and store it in the structs generated for `reader`.
func CompileSchemaBytes ¶
Given two Avro schemas, compile them into a program which can read the data written by `writer` and store it in the structs generated for `reader`. If you're reading records from an OCF you can use the New<RecordType>Reader() method that's generated for you, which will parse the schemas automatically.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.