public class HBaseDataFragmenter extends Fragmenter
Fragmenter abstract class, with the purpose of transforming
an input data path (an HBase table name in this case) into a list of regions
that belong to this table.
This class also puts HBase lookup table information for the given
table (if exists) in each fragment's user data field.fragments| Constructor and Description |
|---|
HBaseDataFragmenter(InputData inConf)
Constructor for HBaseDataFragmenter.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Fragment> |
getFragments()
Returns list of fragments containing all of the
HBase's table data.
|
FragmentsStats |
getFragmentsStats()
Returns statistics for HBase table.
|
isThreadSafepublic HBaseDataFragmenter(InputData inConf)
inConf - input data such as which HBase table to scanpublic FragmentsStats getFragmentsStats() throws java.lang.Exception
getFragmentsStats in class Fragmenterjava.lang.Exception - if statistics cannot be gatheredpublic java.util.List<Fragment> getFragments() throws java.lang.Exception
getFragments in class Fragmenterjava.lang.Exception - if fragment list could not be retrieved