com.rethinkdb.gen.ast.Datum 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/Datum.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 Datum extends ReqlExpr {
public final java.lang.Object datum;
public Datum(java.lang.Object arg) {
super(TermType.DATUM, null, null);
datum = arg;
}
@Override
protected Object build() {
// Overridden because Datums are leaf-nodes and therefore
// don't contain lower ReqlAst objects.
return datum;
}
}