hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Trivial Update of "Hbase/HbaseShell" by udanax
Date Wed, 21 Nov 2007 04:26:28 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by udanax:
http://wiki.apache.org/lucene-hadoop/Hbase/HbaseShell

------------------------------------------------------------------------------
  }}}
  
  === Query mixture examples ===
+ 
+ '''(ex. 1)''' Search the subject and the year of the movies which were produced by 'Fox'
company and where running time is more than 100 minutes.
+ [[BR]]~-'''''π ,,title.year,, (σ ,,length > 100,, (movieLog_table) ∩ σ ,,studioName
= 'Fox',, (movieLog_table))'''''-~
+ 
  {{{
  Relation
  +--------------------------------------------------------------------+
@@ -315, +319 @@

  | Mighty Ducks  1991   104     true    Paramount Pictures Corp.      |
  +--------------------------------------------------------------------+
  
- Hbase > Proj = Relation.Projection('year','legnth');
+ Hbase > Proj = Relation.Projection('year');
- Hbase > Result = Proj.Selection(length > 120);
+ Hbase > Result = Proj.Selection(length > 100 AND studioName = 'Fox Entertainment Group,
Inc.');
  Hbase > save Result into table('result');
  
  Result

Mime
View raw message