public static class UUIDConverter extends BaseConverter {
@Override
public byte[] convertToNoSqlImpl(Object value) {
UUID uid = (UUID) value;
long time = uid.getTime();
long clockSeqAndNode = uid.getClockSeqAndNode();
byte[] timeArray = LONG_CONVERTER.convertToNoSql(time);
byte[] nodeArray = LONG_CONVERTER.convertToNoSql(clockSeqAndNode);
byte[] combinedUUID = new byte[timeArray.length + nodeArray.length];
System.arraycopy(timeArray,0,combinedUUID,0 ,timeArray.length);
System.arraycopy(nodeArray,0,combinedUUID,timeArray.length,nodeArray.length);