@Test public void testBytes() { ByteBuffer expectedBytes = ByteBuffer.wrap("some random stuff here".getBytes(CHARSET)); ByteBuffer serializedBytes = BytesType.instance.decompose(expectedBytes); Object deserializedBytes = CassandraTypeDeserializer.deserialize(BytesType.instance, serializedBytes); Assert.assertEquals(expectedBytes, deserializedBytes); }
public static Object deserialize(DataType dataType, ByteBuffer bb) { AbstractType abstractType = CassandraTypeConverter.convert(dataType); return deserialize(abstractType, bb); }
CassandraTypeDeserializer { public static Object deserialize(DataType dataType, ByteBuffer bb) { AbstractType abstractType = CassandraTypeConverter.convert(dataType); return deserialize(abstractType, bb); } }
CassandraTypeDeserializer { public static Object deserialize(DataType dataType, ByteBuffer bb) { AbstractType abstractType = CassandraTypeConverter.convert(dataType); return deserialize(abstractType, bb); } private  CassandraTypeDeserializer(); }
CassandraTypeDeserializer { public static Object deserialize(DataType dataType, ByteBuffer bb) { AbstractType abstractType = CassandraTypeConverter.convert(dataType); return deserialize(abstractType, bb); } private  CassandraTypeDeserializer(); static Object deserialize(DataType dataType, ByteBuffer bb); static Object deserialize(AbstractType<?> abstractType, ByteBuffer bb); static Object deserialize(CollectionType<?> collectionType, ComplexColumnData ccd); static SchemaBuilder getSchemaBuilder(AbstractType<?> abstractType); static TypeDeserializer getTypeDeserializer(AbstractType<?> abstractType); }
CassandraTypeDeserializer { public static Object deserialize(DataType dataType, ByteBuffer bb) { AbstractType abstractType = CassandraTypeConverter.convert(dataType); return deserialize(abstractType, bb); } private  CassandraTypeDeserializer(); static Object deserialize(DataType dataType, ByteBuffer bb); static Object deserialize(AbstractType<?> abstractType, ByteBuffer bb); static Object deserialize(CollectionType<?> collectionType, ComplexColumnData ccd); static SchemaBuilder getSchemaBuilder(AbstractType<?> abstractType); static TypeDeserializer getTypeDeserializer(AbstractType<?> abstractType);  }