@CombineFunction public static void combine(@AggregationState CentralMomentsState state, @AggregationState CentralMomentsState otherState) { mergeCentralMomentsState(state, otherState); }
@OutputFunction(StandardTypes.BIGINT) public static void output(@AggregationState NullableLongState state, BlockBuilder out) { NullableLongState.write(BigintType.BIGINT, state, out); } }
@OutputFunction(StandardTypes.BOOLEAN) public static void output(@AggregationState TriStateBooleanState state, BlockBuilder out) { TriStateBooleanState.write(BooleanType.BOOLEAN, state, out); } }
@CombineFunction public static void combine(@AggregationState LongState state, @AggregationState LongState otherState) { state.setLong(state.getLong() + otherState.getLong()); }
@OutputFunction(StandardTypes.DOUBLE) public static void output(@AggregationState NullableDoubleState state, BlockBuilder out) { NullableDoubleState.write(DoubleType.DOUBLE, state, out); } }
@CombineFunction public static void combine(@AggregationState DigestAndPercentileArrayState state, DigestAndPercentileArrayState otherState) { ApproximateLongPercentileArrayAggregations.combine(state, otherState); }
@CombineFunction public static void combine(@AggregationState NullableDoubleState combine1, @AggregationState NullableDoubleState combine2) { // noop this is only for annotation testing puproses }
@CombineFunction public static void combine( @AggregationState NullableDoubleState state, @AggregationState NullableDoubleState otherState) { // noop this is only for annotation testing puproses }
@CombineFunction public static void combine( @AggregationState NullableDoubleState state, @AggregationState NullableDoubleState otherState) { // noop this is only for annotation testing puproses }
@CombineFunction public static void combine(@AggregationState NullableDoubleState combine1, @AggregationState NullableDoubleState combine2) { // noop this is only for annotation testing puproses }
@CombineFunction public static void combine( @AggregationState NullableDoubleState combine1, @AggregationState NullableDoubleState combine2) { // noop this is only for annotation testing puproses }
@CombineFunction public static void combine( @AggregationState NullableDoubleState combine1, @AggregationState NullableDoubleState combine2) { // noop this is only for annotation testing puproses }
@InputFunction public static void input(@AggregationState RegressionState state, @SqlType(StandardTypes.REAL) long dependentValue, @SqlType(StandardTypes.REAL) long independentValue) { DoubleRegressionAggregation.input(state, intBitsToFloat((int) dependentValue), intBitsToFloat((int) independentValue)); }
@InputFunction public static void input(@AggregationState CorrelationState state, @SqlType(StandardTypes.REAL) long dependentValue, @SqlType(StandardTypes.REAL) long independentValue) { DoubleCorrelationAggregation.input(state, intBitsToFloat((int) dependentValue), intBitsToFloat((int) independentValue)); }
@OutputFunction(DOUBLE) public static void output(@AggregationState NullableDoubleState state, BlockBuilder out) { // noop this is only for annotation testing puproses } }
@OutputFunction(DOUBLE) public static void output(@AggregationState NullableDoubleState state, BlockBuilder out) { // noop this is only for annotation testing puproses }
@CombineFunction public static void combine( @LiteralParameter("x") Long varcharSize, @AggregationState SliceState combine1, @AggregationState SliceState combine2) { // noop this is only for annotation testing puproses }
@OutputFunction("varchar(z)") public static void output( @AggregationState SliceState state, BlockBuilder out) { // noop this is only for annotation testing puproses } }
@OutputFunction(DOUBLE) public static void output( @AggregationState NullableDoubleState state, BlockBuilder out) { // noop this is only for annotation testing puproses }
@InputFunction public static void input(@AggregationState LongAndDoubleState state, @SqlType(StandardTypes.REAL) long value) { state.setLong(state.getLong() + 1); state.setDouble(state.getDouble() + Math.log(intBitsToFloat((int) value))); }