hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans" <jdcry...@gmail.com>
Subject Re: How to check a columnFamily is exist
Date Thu, 21 Aug 2008 19:13:35 GMT
Arber,

Doing a scan with a specified family:qualifier works fine, is it too slow
for you?

J-D

On Thu, Aug 21, 2008 at 2:53 PM, Yabo-Arber, Xu <yxu@cs.sfu.ca> wrote:

> Well, i have a question that is similar to this thread. Is there any way to
> retrieve only the rows with a specific column ( not a column family ) in a
> table ( without scanning the whole table )?
>
> Thanks.
> Arber
>
>
> On Thu, Aug 21, 2008 at 11:41 AM, Jean-Daniel Cryans <jdcryans@gmail.com
> >wrote:
>
> > Try using HTable.getTableDescriptor() then on the HTableDescriptor do
> > getFamilies() then search for the family.
> >
> > J-D
> >
> > On Wed, Aug 20, 2008 at 11:17 PM, Trong Tran BInh <inheavytb83@gmail.com
> > >wrote:
> >
> > > I want to write a method
> > >
> > > *public boolean isExistColumnFamily(String columnFamily) {
> > >    // TODO: ??
> > > }
> > >
> > > *Could you help me?
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message