How to use queryWithVars with multiple params?

how to query like this?using dgraph4j

{
  result(func: eq(name,["aaa","bbbbb","ccc"....])) {
    uid
	}
}

Like this

query query($uids: string = "[0x1, 0x2, 0x3]") {
  query(func: uid($uids)) {
    uid
  }
}

see

// Query
String query =
"query all($a: string){\n" +
"  all(func: eq(name, $a)) {\n" +
"    name\n" +
"  }\n" +
"}\n";

Map<String, String> vars = Collections.singletonMap("$a", "Alice");
Response response = dgraphClient.newReadOnlyTransaction().queryWithVars(query, vars);

// Deserialize
People ppl = gson.fromJson(response.getJson().toStringUtf8(), People.class);

// Print results
System.out.printf("people found: %d\n", ppl.all.size());
ppl.all.forEach(person -> System.out.println(person.name));

See GitHub - dgraph-io/dgraph4j: Official Dgraph Java client