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

com.rethinkdb.gen.ast.Db Maven / Gradle / Ivy

There is a newer version: 2.4.4
Show newest version
// Autogenerated by metajava.py.
// Do not edit this file directly.
// The template for this file is located at:
// ../../../../../../../../templates/AstSubclass.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 Db extends ReqlAst {


    public Db(Object arg) {
        this(new Arguments(arg), null);
    }
    public Db(Arguments args){
        this(args, null);
    }
    public Db(Arguments args, OptArgs optargs) {
        super(TermType.DB, args, optargs);
    }

    public Table table(Object expr) {
        Arguments arguments = new Arguments(this);
        arguments.coerceAndAdd(expr);
        return new Table(arguments);
    }
    public TableCreate tableCreate(Object expr) {
        Arguments arguments = new Arguments(this);
        arguments.coerceAndAdd(expr);
        return new TableCreate(arguments);
    }
    public TableDrop tableDrop(Object expr) {
        Arguments arguments = new Arguments(this);
        arguments.coerceAndAdd(expr);
        return new TableDrop(arguments);
    }
    public TableList tableList() {
        Arguments arguments = new Arguments(this);
        return new TableList(arguments);
    }
    public Config config() {
        Arguments arguments = new Arguments(this);
        return new Config(arguments);
    }
    public Wait wait_() {
        Arguments arguments = new Arguments(this);
        return new Wait(arguments);
    }
    public Reconfigure reconfigure() {
        Arguments arguments = new Arguments(this);
        return new Reconfigure(arguments);
    }
    public Rebalance rebalance() {
        Arguments arguments = new Arguments(this);
        return new Rebalance(arguments);
    }
    public Grant grant(Object expr, Object exprA) {
        Arguments arguments = new Arguments(this);
        arguments.coerceAndAdd(expr);
        arguments.coerceAndAdd(exprA);
        return new Grant(arguments);
    }
    public Info info() {
        Arguments arguments = new Arguments(this);
        return new Info(arguments);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy