288289290291292293294295296
} } else if (member != null && (member.getType().isAssignableFrom(char.class) || member.getType().isAssignableFrom(Character.class))) { retVal = new CharAccessor().fromString(member.getType(), (String) retVal); } return retVal; }
12061207120812091210121112121213
* @param clazz * @return */ private static byte[] compose(Object value, Class clazz) { CharAccessor accessor = new CharAccessor(); return accessor.toBytes(value); }
12171218121912201221122212231224
* @param clazz * @return */ private static Object decompose(Object value, Class clazz) { CharAccessor accessor = new CharAccessor(); return accessor.fromString(clazz, new String((byte[]) value)); }
12281229123012311232123312341235
* @param clazz * @return */ private static Object decomposeCQL2(Object value, Class clazz) { CharAccessor charAccessor = new CharAccessor(); return charAccessor.fromBytes(clazz, (byte[]) value); }