Examples of LongBigArray


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

        private final double confidence;

        public ApproximateSumGroupedAccumulator(int valueChannel, Optional<Integer> maskChannel, Optional<Integer> sampleWeightChannel, double confidence)
        {
            super(valueChannel, VARCHAR, VARCHAR, maskChannel, sampleWeightChannel);
            this.counts = new LongBigArray();
            this.samples = new LongBigArray();
            this.sums = new DoubleBigArray();
            this.m2s = new DoubleBigArray();
            this.means = new DoubleBigArray();
            this.confidence = confidence;
        }
View Full Code Here

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

        private final LongBigArray counts;

        public CountIfGroupedAccumulator(int valueChannel, Optional<Integer> maskChannel, Optional<Integer> sampleWeightChannel)
        {
            super(valueChannel, BIGINT, BIGINT, maskChannel, sampleWeightChannel);
            this.counts = new LongBigArray();
        }
View Full Code Here

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

        private final double confidence;

        public ApproximateCountColumnGroupedAccumulator(int valueChannel, Optional<Integer> maskChannel, Optional<Integer> sampleWeightChannel, double confidence)
        {
            super(valueChannel, VARCHAR, VARCHAR, maskChannel, sampleWeightChannel);
            this.counts = new LongBigArray();
            this.samples = new LongBigArray();
            this.confidence = confidence;
        }
View Full Code Here

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

        private final int sampleWeightChannel;
        private final double confidence;

        public ApproximateCountGroupedAccumulator(Optional<Integer> maskChannel, int sampleWeightChannel, double confidence)
        {
            this.counts = new LongBigArray();
            this.samples = new LongBigArray();
            this.maskChannel = maskChannel;
            this.sampleWeightChannel = sampleWeightChannel;
            this.confidence = confidence;
        }
View Full Code Here

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

        private final Optional<Integer> maskChannel;
        private final Optional<Integer> sampleWeightChannel;

        public CountGroupedAccumulator(Optional<Integer> maskChannel, Optional<Integer> sampleWeightChannel)
        {
            this.counts = new LongBigArray();
            this.maskChannel = maskChannel;
            this.sampleWeightChannel = sampleWeightChannel;
        }
View Full Code Here

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

        key = new long[hashSize];
        Arrays.fill(key, -1);

        value = new int[hashSize];

        groupAddress = new LongBigArray();
        groupAddress.ensureCapacity(maxFill);
    }
View Full Code Here

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

        {
            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

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

        private final LongBigArray counts;

        public CountColumnGroupedAccumulator(int valueChannel, Optional<Integer> maskChannel, Optional<Integer> sampleWeightChannel)
        {
            super(valueChannel, BIGINT, BIGINT, maskChannel, sampleWeightChannel);
            this.counts = new LongBigArray();
        }
View Full Code Here

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

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

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

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

        public AverageGroupedAccumulator(int valueChannel, boolean inputIsLong, Optional<Integer> maskChannel, Optional<Integer> sampleWeightChannel)
        {
            super(valueChannel, DOUBLE, VARCHAR, maskChannel, sampleWeightChannel);
            this.inputIsLong = inputIsLong;
            this.counts = new LongBigArray();
            this.sums = new DoubleBigArray();
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.