Package 

Class WebPage

  • All Implemented Interfaces:
    java.lang.Comparable

    
    public final class WebPage
     implements Comparable<WebPage>
                        

    Every WebPage is a seperate execution context

    Notice: Use a build-in java string or a Utf8 to serialize strings?

    see org.apache.gora.hbase.util.HBaseByteInterface#fromBytes

    In serialization phrase, a byte array created by s.getBytes(UTF8_CHARSET) is serialized, and in deserialization phrase, every string are wrapped to be a Utf8

    So both build-in string and a Utf8 wrap is OK to serialize, and Utf8 is always returned