phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: Phoenix - HBase: complex data
Date Fri, 06 May 2016 17:29:27 GMT
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<Person> 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() +"')"*
> *
> *
> *
> *
> But I do not know how to do such thing for the ArrayList field.
>
>
> Thank you in advance.

Mime
View raw message