Is it possible to convert a generic record to specific record with the same schema?

冷暖自知 提交于 2019-12-25 04:06:42

问题


I have a GenericRecord object of schema A, which is also a generated Avro Java class. Is it possible for me to cast this object into actual A type somehow?

来源:https://stackoverflow.com/questions/54227389/is-it-possible-to-convert-a-generic-record-to-specific-record-with-the-same-sche

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!