简体   繁体   中英

Using java class in avro schema

Is there a way to import java class in avro. I am trying to be able to use a variable of a specified java class. I dont see anything in the avro documentation so wanted to see if any one found a work around for this.

You can not include any language specific files in an avro idl or schema, since they should be language independent in order to emit the language specific content. For instance a single avro schema can produce both java and c++ files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM