All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rethinkdb.ast.query.gen.Group Maven / Gradle / Ivy

The newest version!
package com.rethinkdb.ast.query.gen;

import com.rethinkdb.RethinkDBConnection;
import com.rethinkdb.ast.query.RqlQuery;
import com.rethinkdb.proto.Q2L;

import java.util.List;
import java.util.Map;

// extends RqlMethodQuery
public class Group extends RqlQuery {

    public Group(List args, java.util.Map optionalArgs) {
        this(null, args, optionalArgs);
    }

    public Group(RqlQuery prev, List args, Map optionalArgs) {
        super(prev, Q2L.Term.TermType.GROUP, args, optionalArgs);
    }

//    @Override
//    public Map>> run(RethinkDBConnection connection) {
//        return (Map>>) ((Map)super.run(connection)).get("data");
//    }
}