Package com.facebook.presto.util.array

Examples of com.facebook.presto.util.array.BooleanBigArray


        private final Optional<Integer> sampleWeightChannel;

        public CustomSumGroupedAccumulator(int channel, Optional<Integer> maskChannel, Optional<Integer> sampleWeightChannel)
        {
            this.channel = channel;
            this.notNull = new BooleanBigArray();
            this.sums = new LongBigArray();
            this.maskChannel = maskChannel;
            this.sampleWeightChannel = sampleWeightChannel;
        }
View Full Code Here


        public LongMaxGroupedAccumulator(int valueChannel)
        {
            super(valueChannel, SINGLE_LONG, SINGLE_LONG, Optional.<Integer>absent());

            this.notNull = new BooleanBigArray();
            this.maxValues = new LongBigArray(Long.MIN_VALUE);
        }
View Full Code Here

        public LongMinGroupedAccumulator(int valueChannel)
        {
            super(valueChannel, SINGLE_LONG, SINGLE_LONG, Optional.<Integer>absent());

            this.notNull = new BooleanBigArray();

            this.minValues = new LongBigArray(Long.MAX_VALUE);
        }
View Full Code Here

        public LongSumGroupedAccumulator(int valueChannel, Optional<Integer> maskChannel)
        {
            super(valueChannel, SINGLE_LONG, SINGLE_LONG, maskChannel);

            this.notNull = new BooleanBigArray();

            this.sums = new LongBigArray();
        }
View Full Code Here

        private final DoubleBigArray sums;

        public DoubleSumGroupedAccumulator(int valueChannel, Optional<Integer> maskChannel)
        {
            super(valueChannel, SINGLE_DOUBLE, SINGLE_DOUBLE, maskChannel);
            this.notNull = new BooleanBigArray();
            this.sums = new DoubleBigArray();
        }
View Full Code Here

        public DoubleMaxGroupedAccumulator(int valueChannel)
        {
            // Min/max are not effected by distinct, so ignore it.
            super(valueChannel, SINGLE_DOUBLE, SINGLE_DOUBLE, Optional.<Integer>absent());

            this.notNull = new BooleanBigArray();

            this.maxValues = new DoubleBigArray(Double.NEGATIVE_INFINITY);
        }
View Full Code Here

        public DoubleMinGroupedAccumulator(int valueChannel)
        {
            super(valueChannel, SINGLE_DOUBLE, SINGLE_DOUBLE, Optional.<Integer>absent());

            this.notNull = new BooleanBigArray();

            this.minValues = new DoubleBigArray(Double.POSITIVE_INFINITY);
        }
View Full Code Here

        public DoubleMinGroupedAccumulator(int valueChannel)
        {
            super(valueChannel, DOUBLE, DOUBLE, Optional.<Integer>absent(), Optional.<Integer>absent());

            this.notNull = new BooleanBigArray();

            this.minValues = new DoubleBigArray(Double.POSITIVE_INFINITY);
        }
View Full Code Here

        public LongMinGroupedAccumulator(int valueChannel)
        {
            super(valueChannel, BIGINT, BIGINT, Optional.<Integer>absent(), Optional.<Integer>absent());

            this.notNull = new BooleanBigArray();

            this.minValues = new LongBigArray(Long.MAX_VALUE);
        }
View Full Code Here

        private final DoubleBigArray sums;

        public DoubleSumGroupedAccumulator(int valueChannel, Optional<Integer> maskChannel, Optional<Integer> sampleWeightChannel)
        {
            super(valueChannel, DOUBLE, DOUBLE, maskChannel, sampleWeightChannel);
            this.notNull = new BooleanBigArray();
            this.sums = new DoubleBigArray();
        }
View Full Code Here

TOP

Related Classes of com.facebook.presto.util.array.BooleanBigArray

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.