assertThat(cluster.describeKeyspace("beautifulKeyspaceName").getCfDefs().get(0).getKeyValidationClass(),
is(ComparatorType.BYTESTYPE.getClassName()));
}
public static void assertDefaultValuesDataIsEmpty(Cluster cluster) {
Keyspace keyspace = HFactory.createKeyspace("beautifulKeyspaceName", cluster);
RangeSlicesQuery<byte[], byte[], byte[]> query = HFactory.createRangeSlicesQuery(keyspace,
BytesArraySerializer.get(), BytesArraySerializer.get(), BytesArraySerializer.get());
query.setColumnFamily("columnFamily1");
query.setRange(null, null, false, Integer.MAX_VALUE);
QueryResult<OrderedRows<byte[], byte[], byte[]>> result = query.execute();