Class HBaseDataAccessor

  • All Implemented Interfaces:
    AbstractDataAccessor, DataAccessor, java.io.Serializable

    public class HBaseDataAccessor
    extends AbstractStorage.SerializableAbstractStorage
    implements DataAccessor
    DataAccessor for HBase.

    HBase storage uses URIs in the form of hbase://<master_hostport>/<table>?family=<family> and stores data using HBase table named table in family family.

    An optional parameter in URI called v can be used to distinguish two serialization versions of data in HBase Cell:

    1. v=1 (default) stores the serialized bytes of a value in a cell directly
    2. v=2 uses protobuffer to store more metadata into the value
    The v=2 serialization format is required to support transactions on top of HBase, because the metadata preserves sequentialId (stored in StreamElement#getSequentialId).
    See Also:
    Serialized Form