title: Implementing my HbaseConnector
body: <p>I would like to implement a HbaseConnector.
  I'm actually reading the <a href="https://fr.hortonworks.com/blog/spark-hbase-dataframe-based-hbase-connector/" rel="nofollow noreferrer">guide</a> but there is a part that I don't understand and I can't find any information about it.
  In the part 2 of the guide we can see the following code :</p>
  
  <pre><code>case class HBaseRecord(col0: String, col1: Boolean,col2: Double, col3: Float,col4: Int,       col5: Long, col6: Short, col7: String, col8: Byte)
  
  object HBaseRecord {def apply(i: Int, t: String): HBaseRecord = { val s = s”””row${“%03d”.format(i)}”””       HBaseRecord(s, i % 2 == 0, i.toDouble, i.toFloat,  i, i.toLong, i.toShort,  s”String$i: $t”,      i.toByte) }}
  
  val data = (0 to 255).map { i =&gt;  HBaseRecord(i, “extra”)}
  </code></pre>
  
  <p>I do understand that they store the future column in the HbaseRecord case class but I don't understand the specific use of this line :</p>
  
  <pre><code>val s = s”””row${“%03d”.format(i)}”””
  </code></pre>
  
  <p>Could someone care to explain ?</p>