@CombineFunction public static void combine(NullableDoubleState combine1, NullableDoubleState combine2) { // noop this is only for annotation testing puproses }
@CombineFunction public static void combine(@AggregationState DigestAndPercentileState state, DigestAndPercentileState otherState) { ApproximateLongPercentileAggregations.combine(state, otherState); }
@CombineFunction public static void combine(@AggregationState DigestAndPercentileArrayState state, DigestAndPercentileArrayState otherState) { ApproximateLongPercentileArrayAggregations.combine(state, otherState); }
@CombineFunction public static void combine(SetDigestState state, SetDigestState otherState) { merge(state, otherState.getDigest()); }
@CombineFunction public static void combine(@AggregationState CentralMomentsState state, @AggregationState CentralMomentsState otherState) { mergeCentralMomentsState(state, otherState); }
@CombineFunction public static void combine(@AggregationState CorrelationState state, @AggregationState CorrelationState otherState) { mergeCorrelationState(state, otherState); }
@CombineFunction public static void combine(@AggregationState CovarianceState state, @AggregationState CovarianceState otherState) { mergeCovarianceState(state, otherState); }
@CombineFunction public static void combine(@AggregationState RegressionState state, @AggregationState RegressionState otherState) { DoubleRegressionAggregation.combine(state, otherState); }
@CombineFunction public static void merge(@AggregationState DoubleHistogramAggregation.State state, @AggregationState DoubleHistogramAggregation.State other) { DoubleHistogramAggregation.merge(state, other); }
@CombineFunction public static void combine(@AggregationState VarianceState state, @AggregationState VarianceState otherState) { mergeVarianceState(state, otherState); }
@CombineFunction public static void combine(@AggregationState NullableLongState state, @AggregationState NullableLongState otherState) { update(state, otherState.getLong()); }
@CombineFunction public static void combine(@AggregationState LongState state, @AggregationState LongState otherState) { state.setLong(state.getLong() + otherState.getLong()); }
@CombineFunction public static void combine( @AggregationState NullableDoubleState state, @AggregationState NullableDoubleState otherState) { // 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 }
@CombineFunction public static void combine( @TypeParameter("ROW(ARRAY(BIGINT),ROW(ROW(CHAR)),BIGINT,MAP(BIGINT,CHAR))") Type type, @AggregationState NullableDoubleState state, @AggregationState NullableDoubleState otherState) { // noop this is only for annotation testing puproses }
@CombineFunction public static void combine(NullableLongState state, NullableLongState otherState) { if (state.isNull()) { state.setNull(false); state.setLong(otherState.getLong()); return; } state.setLong(BigintOperators.add(state.getLong(), otherState.getLong())); }
@CombineFunction public static void combine(SetDigestState state, SetDigestState otherState) { if (state.getDigest() == null) { SetDigest copy = new SetDigest(); copy.mergeWith(otherState.getDigest()); state.setDigest(copy); } else { state.getDigest().mergeWith(otherState.getDigest()); } }
@CombineFunction public static void combine(@AggregationState NullableLongState state, @AggregationState NullableLongState otherState) { if (state.isNull()) { state.setNull(otherState.isNull()); state.setLong(otherState.getLong()); } else if (!otherState.isNull()) { state.setLong(state.getLong() & otherState.getLong()); } }
@CombineFunction public static void combine(@AggregationState NullableLongState state, @AggregationState NullableLongState otherState) { if (state.isNull()) { state.setNull(otherState.isNull()); state.setLong(otherState.getLong()); } else if (!otherState.isNull()) { state.setLong(state.getLong() | otherState.getLong()); } }
@CombineFunction public static void combine(@AggregationState NullableLongState state, @AggregationState NullableLongState scratchState) { state.setLong(state.getLong() + scratchState.getLong()); state.setNull(state.isNull() && scratchState.isNull()); }