final Date date2 = new Date(200000);
final Date date3 = new Date(300000);
final Date date4 = new Date(400000);
final Date date5 = new Date(500000);
manager.insert(new ClusteredEntityWithPrimitiveAndSubTypes(partition, bucket, date1.toString()));
manager.insert(new ClusteredEntityWithPrimitiveAndSubTypes(partition, bucket, date2.toString()));
manager.insert(new ClusteredEntityWithPrimitiveAndSubTypes(partition, bucket, date3.toString()));
manager.insert(new ClusteredEntityWithPrimitiveAndSubTypes(partition, bucket, date4.toString()));
manager.insert(new ClusteredEntityWithPrimitiveAndSubTypes(partition, bucket, date5.toString()));
//When
final List<ClusteredEntityWithPrimitiveAndSubTypes> result = manager.sliceQuery(ClusteredEntityWithPrimitiveAndSubTypes.class)
.forSelect()
.withPartitionComponents(partition, bucket)