31323334353637
public void exec(Tuple input, DataAtom output) throws IOException { output.setValue(input.arity()); } @Override public Schema outputSchema(Schema input) { return new AtomSchema("arity"); }
4041424344454647
} @Override public Schema outputSchema(Schema input) { TupleSchema schema = new TupleSchema(); schema.add(new AtomSchema("token")); return schema; }
81828384858687
return curMax; } @Override public Schema outputSchema(Schema input) { return new AtomSchema("max" + count++); }
80818283848586
return curMin; } @Override public Schema outputSchema(Schema input) { return new AtomSchema("min" + count++); }
99100101102103104105
return sum; } @Override public Schema outputSchema(Schema input) { return new AtomSchema("sum" + count++); }
return sum; } @Override public Schema outputSchema(Schema input) { return new AtomSchema("count" + count++); }
139140141142143144145
return sum; } @Override public Schema outputSchema(Schema input) { return new AtomSchema("average"); }
86878889909192
} @Override public Schema outputSchema(Schema input) { return new AtomSchema("toRadians_"+input.toString()); }
84858687888990
} @Override public Schema outputSchema(Schema input) { return new AtomSchema("cbrt_"+input.toString()); }
87888990919293
} @Override public Schema outputSchema(Schema input) { return new AtomSchema("RINT_"+input.toString()); }