Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8BF318758 for ; Tue, 5 Jan 2016 16:03:09 +0000 (UTC) Received: (qmail 79065 invoked by uid 500); 5 Jan 2016 16:03:07 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 78995 invoked by uid 500); 5 Jan 2016 16:03:07 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 78983 invoked by uid 99); 5 Jan 2016 16:03:07 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2016 16:03:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2ED6218022F for ; Tue, 5 Jan 2016 16:03:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id g51aSsi3_C-C for ; Tue, 5 Jan 2016 16:03:01 +0000 (UTC) Received: from mail-yk0-f180.google.com (mail-yk0-f180.google.com [209.85.160.180]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id AAFC925F81 for ; Tue, 5 Jan 2016 16:03:00 +0000 (UTC) Received: by mail-yk0-f180.google.com with SMTP id a85so208427686ykb.1 for ; Tue, 05 Jan 2016 08:03:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=SFduLdI6v1ShyhhMDoRUsCiwqbbhPkdfq+L+7tAC/cU=; b=Gi5MFEItXWlViYACC/R3QB5h/+Ilb4TgdTS1Pelnb/8BzMyUJZuSRiT8Cv7+OQRlMY zKulIPHnqIPSyCTurYZlsH8qq+MTc4CtWFNuPP0gWeIMzwpob7yXpc7lli66b2cMmn4d XGmfYHmdxXXrozuJL0nKtiyd6XDz21W6GUMN+jzPunG3W0HLLGjFSuI4Ub5a51+7IyWn ZMejZ3b/46m4Af6P1/NzfR7Rs8+u//9qn/rtxtlmeV0QZTpVlNY/5iD2zu43ZmoxCaor KUhXD0Jz+ynSLN7R37atL2GQaZx2p4AO4uHCAfqUeyVm778v7C3qqKjcdTH2VhK99rdT M99A== MIME-Version: 1.0 X-Received: by 10.13.218.68 with SMTP id c65mr70464757ywe.315.1452009779667; Tue, 05 Jan 2016 08:02:59 -0800 (PST) Received: by 10.37.207.5 with HTTP; Tue, 5 Jan 2016 08:02:59 -0800 (PST) In-Reply-To: References: Date: Tue, 5 Jan 2016 08:02:59 -0800 Message-ID: Subject: Re: Pagination of HBase Scan output From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=94eb2c07eaa020aab50528985f1f --94eb2c07eaa020aab50528985f1f Content-Type: text/plain; charset=UTF-8 Please take a look at hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PageFilter.java You can combine PageFilter.java with PrefixFilter using FilterList On Tue, Jan 5, 2016 at 7:57 AM, Sreeram Venkatasubramanian < Sreeram_V@infosys.com> wrote: > Hi, > > I am looking for options to batch the output of HBase scan with prefix > filter, so that it can be paginated at the front end. > > Please let me know if there recommended methods to do the same. > > Thank you. > > Sreeram= > **************** CAUTION - Disclaimer ***************** > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > solely > for the use of the addressee(s). If you are not the intended recipient, > please > notify the sender by e-mail and delete the original message. Further, you > are not > to copy, disclose, or distribute this e-mail or its contents to any other > person and > any such actions are unlawful. This e-mail may contain viruses. Infosys > has taken > every reasonable precaution to minimize this risk, but is not liable for > any damage > you may sustain as a result of any virus in this e-mail. You should carry > out your > own virus checks before opening the e-mail or attachment. Infosys reserves > the > right to monitor and review the content of all messages sent to or from > this e-mail > address. Messages sent to or from this e-mail address may be stored on the > Infosys e-mail system. > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > --94eb2c07eaa020aab50528985f1f--