
return "null";
} else {</BUG>
EnumSet<ResultSet.Flag> flags = (EnumSet<ResultSet.Flag>) CassandraUtils.readPrivate(results.metadata, "flags");
if (flags.contains(ResultSet.Flag.NO_METADATA)) {
<BUG>return "0x" + ByteBufferUtil.bytesToHex(v);
</BUG>
} else if (results.metadata.names.get(i).type.isCollection()) {
<BUG>return results.metadata.names.get(i).type.getSerializer().deserialize(v).toString();
</BUG>
} else {

public static final String ANSI_BLUE = "\u001B[34m";
public static final String ANSI_PURPLE = "\u001B[35m";
public static final String ANSI_CYAN = "\u001B[36m";
public static final String ANSI_WHITE = "\u001B[37m";
private static String colValue(ResultSet results, List<ByteBuffer> row, int i) throws Exception {
ByteBuffer v = row.get(i).duplicate();
String ret = "null";
if (v != null) {
EnumSet<ResultSet.Flag> flags = (EnumSet<ResultSet.Flag>) CassandraUtils.readPrivate(results.metadata, "flags");
if (flags.contains(ResultSet.Flag.NO_METADATA)) {
ret = "0x" + ByteBufferUtil.bytesToHex(v);
} else if (results.metadata.names.get(i).type.isCollection()) {
ret = results.metadata.names.get(i).type.getSerializer().deserialize(v).toString();
