You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Siyuan he <hs...@gmail.com> on 2013/06/06 03:58:08 UTC

how to define a column family as a "essential column family"

Hello,

Can some one tell how to define a column family as a "essential column
family"?

Thanks,
siyuan

Re: how to define a column family as a "essential column family"

Posted by Ted Yu <yu...@gmail.com>.
Take a look at release notes for HBASE-5416.
Below is from SingleColumnValueFilter:

  public boolean isFamilyEssential(byte[] name) {

    return !this.filterIfMissing || Bytes.equals(name, this.columnFamily);

  }
Also refer to TestJoinedScanners

Cheers

On Wed, Jun 5, 2013 at 6:58 PM, Siyuan he <hs...@gmail.com> wrote:

> Hello,
>
> Can some one tell how to define a column family as a "essential column
> family"?
>
> Thanks,
> siyuan
>