Wrapper for HBaseConfiguration
Adds implicit methods to SparkContext to read from HBase sources.
Adds implicit methods to RDD[(String, Map[String, A])]
or
RDD[(String, Map[String, A])]
to write to HBase sources.
An instance of Reads[A] testifies that Array[Byte] can be converted to A.
An instance of Writes[A] testifies that A can be converted to Array[Byte].
Factories to generate HBaseConfig instances.
If the table exists, checks whether it contains the desired column family, and return false otherwise.
If the table exists, checks whether it contains the desired column family, and return false otherwise. If table does not exist, computes the split keys and creates a table with the split keys and the desired column family.
name of the table
name of the column family
RDD containing all the row keys, used to compute split keys in case the table does not exist, not used otherwise
desired number of splits for the table, not used if table exists
if true and the table exists, take a snapshot of the table
true if table exists or it is created and has the required column family, false otherwise
If the table exists, checks whether it contains the desired column family, and return false otherwise.
If the table exists, checks whether it contains the desired column family, and return false otherwise. If table does not exist, computes the split keys and creates a table with the split keys and the desired column family.
name of the table
name of the column family
path of the input tsv file
desired size of table regions, expressed as a number followed by B, K, M, G (e.g. "10G")
name of the row key header, in case the tsv contains headers, it can be null otherwise the row key must be the first field in a tsv line
if true and the table exists, take a snapshot of the table
true if table exists or it is created and has the required column family, false otherwise