com.rethinkdb.gen.ast.MakeObj Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qj-rethinkdb-driver Show documentation
Show all versions of qj-rethinkdb-driver Show documentation
Java driver for RethinkDB (Modified from Official version)
// Autogenerated by metajava.py.
// Do not edit this file directly.
// The template for this file is located at:
// ../../../../../../../../templates/ast/MakeObj.java
package com.rethinkdb.gen.ast;
import com.rethinkdb.gen.proto.TermType;
import com.rethinkdb.gen.exc.ReqlDriverError;
import com.rethinkdb.model.Arguments;
import com.rethinkdb.model.OptArgs;
import com.rethinkdb.ast.ReqlAst;
public class MakeObj extends ReqlExpr {
public MakeObj(Object arg) {
this(new Arguments(arg), null);
}
public MakeObj(OptArgs opts){
this(new Arguments(), opts);
}
public MakeObj(Arguments args){
this(args, null);
}
public MakeObj(Arguments args, OptArgs optargs) {
this(TermType.MAKE_OBJ, args, optargs);
}
protected MakeObj(TermType termType, Arguments args, OptArgs optargs){
super(termType, args, optargs);
}
public static MakeObj fromMap(java.util.Map map){
return new MakeObj(OptArgs.fromMap(map));
}
}