phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishna <>
Subject Composite primary keys
Date Wed, 04 Mar 2015 06:02:29 GMT

How does phoenix store composite primary keys in HBase?
For example, if the primary key is a composite of two columns:
col1 short
col2 integer

Does phoenix concatenate 1 byte short with 4 byte integer to create a 5
byte array to make HBase rowkey?

Please point me to the code that I can refer for details.


View raw message