DuyHai DOAN
From Datastax
DuyHai Doan is a Cassandra technical advocate. He spends his time between technical presentations/meetups on Cassandra, coding on open source projects to support the community and helping all companies using Cassandra to make their project successful. Previously he was working as a freelance Java/Cassandra consultant
Annotation Processor, the power of byte code manipulation without its guru dark side
Most Java programmers know that byte code manipulation enable advanced features of Java like source code generation, automatic accessors creation, transparent proxies etc ...
The power of byte code comes with its drawback e.g. the inherent complexity of the byte code language itself.
But few people think about Annotation Processing that allows arbitrary code generation at compile time and enables a complete type safe code.
We'll demonstrate this feature with a simple sample using JavaPoet and Google Compile Testing libraries
New Cassandra 3 features that change your (developer) life
Cassandra 3.0 has been released for a while, it's high time to look at the new features that will make your life easier:
the new User Defined Functions (UDF) and User Defined Aggregates (UDA) which allow you to create code in the language of your choice (JVM compatible) and push the computation to the server
the JSON syntax that can be used to push data directly into Cassandra without the pain of converting JSON to regular literal values
the new Materialized Views (MV) that make de-normalization easier for the developers
the new SASI full text search feature that allow you to perform dynamic queries on your Cassandra data