Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 14385 invoked from network); 1 Mar 2011 22:46:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Mar 2011 22:46:03 -0000 Received: (qmail 83184 invoked by uid 500); 1 Mar 2011 22:46:01 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 83122 invoked by uid 500); 1 Mar 2011 22:46:01 -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 83114 invoked by uid 99); 1 Mar 2011 22:46:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 22:46:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.161.41 as permitted sender) Received: from [209.85.161.41] (HELO mail-fx0-f41.google.com) (209.85.161.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 22:45:54 +0000 Received: by fxm5 with SMTP id 5so6888262fxm.14 for ; Tue, 01 Mar 2011 14:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Ct4HcH8pRPSvQI2ARY8oTRtLw+R79dSbc24ZsibB+ok=; b=jARsgY9YKb5mut8E5HDSHdBLeS93CWt0Ewjn1lSkNEJ10NJ36h6hvvtWk4tONaFE0Z 2mMt7NBbwzK6rS1QjrMqNUgOg4KdR16ycSHp62FSa9tIPInsS3vpKqIWGMK08l8h9c/x bCQ/SkuY5P8xmwHCquHjVY8koJ3t6zWuxJ8sk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mQ+1oWzbROByoiAsUbvsZ6WUO00gdTObIr/v+zMMLL/f7UkvixOAxohgVccCF+jOIL 4QJZlQOo6lIQeun0qis9bM754Qee45XVK765DVpUxAqiJR0Z1YovD1rjIugAQZK9v6Xd 5KgEUmJs0NRLssvO/4Z4lis6GdgGvnq6LEgUk= MIME-Version: 1.0 Received: by 10.223.100.8 with SMTP id w8mr2142075fan.55.1299019484186; Tue, 01 Mar 2011 14:44:44 -0800 (PST) Received: by 10.223.74.142 with HTTP; Tue, 1 Mar 2011 14:44:44 -0800 (PST) In-Reply-To: References: Date: Tue, 1 Mar 2011 14:44:44 -0800 Message-ID: Subject: Re: min, max From: Ted Yu To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=20cf3054a62de94bdf049d738a4c --20cf3054a62de94bdf049d738a4c Content-Type: text/plain; charset=ISO-8859-1 For min, you can write your own filter which extends FilterBase so that the scan stops after seeing the first row. On Tue, Mar 1, 2011 at 2:03 PM, Weishung Chung wrote: > How to get the first or last row in the HBase table? like the min(), max() > in mysql? > Thank you. > --20cf3054a62de94bdf049d738a4c--