With this operator defined:
Code: Select all
operator huh1 ( n integer ) returns relation { i integer };
begin;
writeln "Hello";
return relation { tuple { i n }};
end;
end operator;
Code: Select all
Response response = connection.evaluate("huh(2)", new CrashHandler(){
@Override
public void process (Throwable t){ }});
Value value = response.awaitResult(100000);
I don't know that having a writeln in an operator is a good thing when called from the client, but some feedback would be nice.