【发布时间】:2013-10-22 09:19:04
【问题描述】:
我正在使用Apache Avro。
我在我的 java 代码中定义了模式 json 字符串:
String schemaStr = STRING_IN_JSON_FORMAT;
//use Parser to parse above string to Schema object
Schema.Parser parser = new Schema.Parser();
Schema schema = parser.parse(schemaStr);
//How to programmatically get the class from the schema I got at this point?
如何继续我的代码以编程方式从架构中获取类?
【问题讨论】:
标签: java apache serialization avro