Re: Phoenix - HBase: complex data

2016-05-06 Thread Josh Elser
Hi Mariana, You could try defining an array of whatever type you need. See https://phoenix.apache.org/array_type.html for more details. - Josh Mariana Medeiros wrote: Hello :) I have a Java class Example with a String and an ArrayList fields. I am using Apache phoenix to insert and read

Phoenix - HBase: complex data

2016-05-06 Thread Mariana Medeiros
Hello :) I have a Java class Example with a String and an ArrayList fields. I am using Apache phoenix to insert and read data from HBase. For the String field, I do something like this: *create table tableName (name varchar(32))* /// *upset into tableName values ('"+ example.getName() +"')"*