code: private boolean fromSameShard(ByteBuffer fromInclusive, ByteBuffer toExclusive) {
          return fromInclusive.remaining() >= 9 &&
                  toExclusive.remaining() >= 9 &&
                  RowKeyUtils.getShardId(fromInclusive) == RowKeyUtils.getShardId(toExclusive) &&
                  RowKeyUtils.getTableUuid(fromInclusive) == RowKeyUtils.getTableUuid(toExclusive);
      }
docs: Two tokens are from the same shard if the following are both true:
  <ol>
  <li>Both tokens are at least 9 bytes long (1 shard + 8 table uuid bytes)</li>
  <li>The shard and table uuid for both tokens are identical</li>
  </ol>