Package com.facebook.presto.util.array

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


        private final LongBigArray counts;

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


        public AverageGroupedAccumulator(int valueChannel, boolean inputIsLong, Optional<Integer> maskChannel)
        {
            super(valueChannel, SINGLE_DOUBLE, SINGLE_VARBINARY, maskChannel);
            this.inputIsLong = inputIsLong;
            this.counts = new LongBigArray();
            this.sums = new DoubleBigArray();
        }
View Full Code Here

        private final LongBigArray counts;
        private final Optional<Integer> maskChannel;

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

        private final LongBigArray counts;

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

        private final LongBigArray counts;
        private final Optional<Integer> maskChannel;

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

        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

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

        value = new int[hashSize];

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

            this.inputIsLong = inputIsLong;
            this.population = population;
            this.standardDeviation = standardDeviation;

            this.counts = new LongBigArray();
            this.means = new DoubleBigArray();
            this.m2s = new DoubleBigArray();
        }
View Full Code Here

        {
            super(valueChannel, SINGLE_VARBINARY, SINGLE_VARBINARY, maskChannel);

            this.inputIsLong = inputIsLong;

            this.counts = new LongBigArray();
            this.means = new DoubleBigArray();
            this.m2s = new DoubleBigArray();
        }
View Full Code Here

            this.inputIsLong = inputIsLong;
            this.population = population;
            this.standardDeviation = standardDeviation;

            this.counts = new LongBigArray();
            this.means = new DoubleBigArray();
            this.m2s = new DoubleBigArray();
        }
View Full Code Here

TOP

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

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.