default void truncateTable(TableName tableName, boolean preserveSplits) throws IOException {
    get(truncateTableAsync(tableName, preserveSplits), getSyncWaitTimeout(), TimeUnit.MILLISECONDS);
  }
Truncate a table. Synchronous operation.
@param tableName      name of table to truncate
@param preserveSplits <code>true</code> if the splits should be preserved
@throws IOException if a remote or network exception occurs
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java