Hello,
Do you know how to create an HBase table with no primary key and with a
foreign key?
Something like:
(TABLE) CUSTOMER:
CustomerID (pk)
CustomerName
(TABLE) TELEPHONE:
CustomerID (fk)
TelephoneType
TelephoneNumber
How to create a telephone table like that?
Thank you.
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() +"')"*