use of org.apache.beam.sdk.transforms.Combine.BinaryCombineIntegerFn in project beam by apache.
the class CombineTranslationTest method params.
@Parameters(name = "{index}: {0}")
public static Iterable<Combine.CombineFn<Integer, ?, ?>> params() {
BinaryCombineIntegerFn sum = Sum.ofIntegers();
CombineFn<Integer, ?, Long> count = Count.combineFn();
TestCombineFn test = new TestCombineFn();
return ImmutableList.<CombineFn<Integer, ?, ?>>builder().add(sum).add(count).add(test).build();
}
Aggregations