The blog code is hash. My guess is that the blog software misinterpreted
some of the code as markup and ate it. Here are some example of chewed up
lines.
Ask the author for a fix.
System.out.println(String.format("Number of elements in the result :
%s",result.size()));
NavigableMap>> map = result.getMap();
for(Entry>> columnFamilyEntry : map.entrySet()){
NavigableMap> columnMap = columnFamilyEntry.getValue();
On Wed, Jan 26, 2011 at 9:10 PM, Mark Kerzner <[email protected]> wrote:
> Hi, I found this construct on the blog here,
> http://allaboutdata.net/blog/?p=38, and I have no idea what it means. But
> the documentation supports this and says
>
> getMap
>
> public NavigableMap<byte[],NavigableMap<byte[],NavigableMap<Long,byte[]>>>
> getMap()
> Map of families to all versions of its qualifiers and values.
> Returns a three level Map of the form: Map>>
>
> this one, here,
>
> http://hbase.apache.org/docs/r0.20.5/api/org/apache/hadoop/hbase/client/Result.html#getMap()
>
> It does NOT compile for me :)
>
> Thank you.
>