@Test public void test_nested_to_string() { Aggregator avgAggregator = dsl.avg(dsl.multiply(DSL.ref("integer_value", INTEGER), DSL.literal(ExprValueUtils.integerValue(10)))); assertEquals(String.format("avg(*(%s, %d))", DSL.ref("integer_value", INTEGER), 10), avgAggregator.toString()); }
@Override public String toString() { return String.format(Locale.ROOT, "avg(%s)", format(getArguments())); }
AvgAggregator extends Aggregator<AvgAggregator.AvgState> { @Override public String toString() { return String.format(Locale.ROOT, "avg(%s)", format(getArguments())); } }
AvgAggregator extends Aggregator<AvgAggregator.AvgState> { @Override public String toString() { return String.format(Locale.ROOT, "avg(%s)", format(getArguments())); } AvgAggregator(List<Expression> arguments, ExprCoreType returnType); }
AvgAggregator extends Aggregator<AvgAggregator.AvgState> { @Override public String toString() { return String.format(Locale.ROOT, "avg(%s)", format(getArguments())); } AvgAggregator(List<Expression> arguments, ExprCoreType returnType); @Override AvgState create(); @Override AvgState iterate(BindingTuple tuple, AvgState state); @Override String toString(); }
AvgAggregator extends Aggregator<AvgAggregator.AvgState> { @Override public String toString() { return String.format(Locale.ROOT, "avg(%s)", format(getArguments())); } AvgAggregator(List<Expression> arguments, ExprCoreType returnType); @Override AvgState create(); @Override AvgState iterate(BindingTuple tuple, AvgState state); @Override String toString();  }