We have created a simple library to push metrics and query data points from Java.
The library is a separate open source project called KariosDB Client.
The javadocs are available here.