Ejemplo n.º 1
0
 public CFRowAdder addListEntry(String cql3ColumnName, Object value) {
   ColumnDefinition def = getDefinition(cql3ColumnName);
   assert def.type instanceof ListType;
   CellName name =
       cf.getComparator().create(prefix, def, ByteBuffer.wrap(UUIDGen.getTimeUUIDBytes()));
   return add(name, def, value);
 }
Ejemplo n.º 2
0
 public UUID newSession() {
   return newSession(TimeUUIDType.instance.compose(ByteBuffer.wrap(UUIDGen.getTimeUUIDBytes())));
 }