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

[ORM] Phoenix and Hbase

2016-05-06 Thread Gustavo Oliveira
Hello, i have investigated about ORM tools that lets you "write / access" java objects in Hbase. I know Kundera, DataNucleus but the ideia was to use the power of Phoenix. I thought of using an ORM (what is the most appropriate?) + Phoenix + Hbase. What is your opinion? Has anyone ever tested,

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() +"')"*