Wrapper for HBaseConfiguration
Adds implicit methods to SparkContext to read from HBase sources.
Utilities for dealing with HBase tables
Adds implicit methods to RDD[(String, Map[String, A])]
,
RDD[(String, Seq[A])]
and
RDD[(String, Map[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.
Given a RDD of keys and the number of requested table's regions, returns an array of keys that are start keys of the table's regions.
Given a RDD of keys and the number of requested table's regions, returns an array of keys that are start keys of the table's regions. The array length is regionsCount-1 since the start key of the first region is not needed (since it does not determine a split)
RDD of strings representing row keys
number of regions
a sorted sequence of start keys
Creates a table with a column family and made of one or more regions
Creates a table with a column family and made of one or more regions
name of the table
name of the column family
ordered list of keys that defines region splits
Takes a snapshot of the table
Takes a snapshot of the table
name of the table
name of the snapshot
Takes a snapshot of the table, the snapshot's name has format "tableName_yyyyMMddHHmmss"
Takes a snapshot of the table, the snapshot's name has format "tableName_yyyyMMddHHmmss"
name of the table
Checks if table exists, and requires that it contains the desired column family
Checks if table exists, and requires that it contains the desired column family
name of the table
name of the column family
true if table exists, false otherwise