.getPartitioning();
byte[][] splitKeys = null;
if (partitioning != null) {
if (table.isRootTable()) {
if (partitioning instanceof WaspSqlPartitionByKey) {
WaspSqlPartitionByKey partitionKey = (WaspSqlPartitionByKey) partitioning;
byte[] start = convert(null, partitionKey.getStart());
byte[] end = convert(null, partitionKey.getEnd());
int partitionCount = convertToInt(partitionKey.getPartitionCount());
splitKeys = Bytes.split(start, end, partitionCount - 3);
} else {
throw new UnsupportedException("Unsupported SQLPartitioningClause "
+ partitioning);
}