Skip to content

Instantly share code, notes, and snippets.

Last active April 4, 2016 22:10
What would you like to do?
public interface QueryAdapter {
QueryAdapter select(String... fields);
QueryAdapter from(String tableName);
Graph aggregate(Aggregation aggregation);
public interface Aggregation<T extends Number> {
T calculate();
public class Graph {
// This is a DTO, a graph representation of tabular data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment