Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> override avro generic representation


Copy link to this message
-
override avro generic representation
Is there a way to override the avro generic representation, or perhaps an
easy way to create my own?
For example, for FIXED i would like Byte[] instead of ByteBuffer, for
STRING i would prefer String over CharArray, for arrays i would like to
have a List instead of a Collection, etc.

Right now i do a translation from the generic representation to my internal
representation and then back, which is fragile and inefficient.

Thanks! Koert
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB