com.rethinkdb.model.OptArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rethinkdb-driver Show documentation
Show all versions of rethinkdb-driver Show documentation
Official Java driver for RethinkDB
The newest version!
package com.rethinkdb.model;
import com.rethinkdb.ast.ReqlAst;
import com.rethinkdb.utils.Internals;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
public class OptArgs extends LinkedHashMap {
public OptArgs with(String key, Object value) {
if (key != null) {
put(key, Internals.toReqlAst(value));
}
return this;
}
public OptArgs with(String key, List