com.rethinkdb.model.Arguments 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)
package com.rethinkdb.model;
import com.rethinkdb.ast.ReqlAst;
import com.rethinkdb.ast.Util;
import java.util.*;
import java.util.stream.Collectors;
public class Arguments extends ArrayList {
public Arguments() {}
public Arguments(Object arg){
if(arg instanceof List){
coerceAndAddAll((List) arg);
} else {
coerceAndAdd(arg);
}
}
public Arguments(Arguments args) {
addAll(args);
}
public Arguments(ReqlAst arg) {
add(arg);
}
public Arguments(Object[] args) {
coerceAndAddAll(args);
}
public Arguments(List