Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro >> mail # user >> Support for char[] and short[] - Java


Copy link to this message
-
Support for char[] and short[] - Java
Hi,

I am new Avro but I did some basic research regarding how do we a support
data types like Char arrays and Short arrays while defining the Avro
schema. Issue # AVRO-249 sounded somewhat relevant but its about supporting
Short using the reflection API.

We are planning to use Avro for a Java based Client Server data exchange
use case, note that our data model is expected to have "large arrays" of
Short and Char, and performance is our 'key concern'. We can't use a string
to store char[], because what we get back is different then what you put
in, because of "UTF-16 normalization".

Thanks in Advance.
Tarun Gupta
+
Scott Carey 2013-01-08, 09:08