Changes between Version 14 and Version 15 of hbasecommand


Ignore:
Timestamp:
11/01/2012 05:55:48 PM (13 years ago)
Author:
liaojiaohe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • hbasecommand

    v14 v15  
    252252 scan 't1', {FILTER => org.apache.hadoop.hbase.filter.ColumnPaginationFilter.new(1, 0)} 
    253253 scan 'ad2_report_base', {LIMIT => 1} 
    254 }}} 
     254 
     255scan 'ad2_report_base',{STARTROW => '354_229453_20120904_0',ENDROW => '354_229453_20120904_9999',FILTER => "(QualifierFilter (=, 'binaryprefix:c2_0_inline_'))"} 
     256}}} 
     257 
     258集中比较器的简写[[BR]] 
     259 
     260BinaryComparator - binary[[BR]] 
     261 
     262 
     263BinaryPrefixComparator - binaryprefix[[BR]] 
     264 
     265 
     266RegexStringComparator - regexstring[[BR]] 
     267 
     268 
     269SubStringComparator - substring[[BR]] 
     270 
     271 
     272The ComparatorValue can be any value.[[BR]] 
     273 
     274 
     275Example1: >, 'binary:abc' will match everything that is lexicographically greater than "abc"[[BR]] 
     276 
     277 
     278Example2: =, 'binaryprefix:abc' will match everything whose first 3 characters are lexicographically equal to "abc"[[BR]] 
     279 
     280 
     281Example3: !=, 'regexstring:ab*yz' will match everything that doesn't begin with "ab" and ends with "yz"[[BR]] 
     282 
     283 
     284Example4: =, 'substring:abc123' will match everything that begins with the substring "abc123"[[BR]] 
     285 
    255286详细用法见[https://issues.apache.org/jira/browse/HBASE-4176 HBASE-4176][[BR]] 
    256287http://blog.csdn.net/liuxiaochen123/article/details/7737718