@@ -0,0 +1,1428 @@
+package com.architecting.ch11;%0A%0Aimport java.io.IOException;%0A%0Aimport org.apache.commons.logging.Log;%0Aimport org.apache.commons.logging.LogFactory;%0Aimport org.apache.hadoop.hbase.HColumnDescriptor;%0Aimport org.apache.hadoop.hbase.HTableDescriptor;%0Aimport org.apache.hadoop.hbase.MasterNotRunningException;%0Aimport org.apache.hadoop.hbase.TableName;%0Aimport org.apache.hadoop.hbase.ZooKeeperConnectionException;%0Aimport org.apache.hadoop.hbase.client.Admin;%0Aimport org.apache.hadoop.hbase.client.Connection;%0Aimport org.apache.hadoop.hbase.client.ConnectionFactory;%0Aimport org.apache.hadoop.hbase.io.compress.Compression.Algorithm;%0Aimport org.apache.hadoop.hbase.regionserver.BloomType;%0A%0Apublic class CreateTable %7B%0A  public static final Log LOG = LogFactory.getLog(CreateTable.class);%0A%0A  public static void main(String%5B%5D args) throws MasterNotRunningException,%0A      ZooKeeperConnectionException, IOException %7B%0A    try (Connection connection = ConnectionFactory.createConnection();%0A        Admin admin = connection.getAdmin();) %7B%0A      // tag::CREATE%5B%5D%0A      HTableDescriptor desc = new HTableDescriptor(TableName.valueOf(%22documents%22));%0A      HColumnDescriptor family = new HColumnDescriptor(%22c%22);%0A      family.setCompressionType(Algorithm.GZ);%0A      family.setBloomFilterType(BloomType.NONE);%0A      desc.addFamily(family);%0A      admin.createTable(desc);%0A      // end::CREATE%5B%5D%0A      LOG.info(%22Table successfuly created%22);%0A    %7D%0A  %7D%0A%0A%7D%0A

Add CreateTable class.