hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajeshbabu chintaguntla <rajeshbabu.chintagun...@huawei.com>
Subject RE: some problem about HBase index
Date Thu, 13 Jun 2013 10:22:48 GMT

HBase does not fully support composite keys.
But you can use PrefixFilter and FuzzyRowFilter with some limitations if your query involves
part of key.
http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/filter/PrefixFilter.html
http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html

Thanks,
Rajeshbabu.
________________________________________
From: fx_bull [javacniu@gmail.com]
Sent: Thursday, June 13, 2013 1:46 PM
To: user@hbase.apache.org
Cc: dev@hbase.apache.org
Subject: some problem about HBase index

hello

     If I have a table called 'student',  I want to  use both of  student number and student'
name as  rowkey  to mark a student,

    I want to verify can HBase support it  ,  and  if  it can, how should I do,

                    Thanks!
Mime
View raw message