Examples of LongBigArray


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

    {
        this.operatorContext = checkNotNull(operatorContext, "operatorContext is null");
        this.outputChannels = Ints.toArray(outputChannels);
        this.maxRowCountPerPartition = maxRowCountPerPartition;

        this.partitionRowCount = new LongBigArray(0);
        this.groupByHash = new GroupByHash(partitionTypes, Ints.toArray(partitionChannels), expectedPositions);
        this.types = toTypes(sourceTypes, outputChannels);
        this.pageBuilder = new PageBuilder(types);
    }
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 LongBigArray counts;
            private final Optional<Integer> maskChannel;

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

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

            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

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, SINGLE_VARBINARY, SINGLE_VARBINARY, maskChannel, sampleWeightChannel);
            this.counts = new LongBigArray();
            this.samples = new LongBigArray();
            this.sums = new DoubleBigArray();
            this.variances = new DoubleBigArray();
            this.confidence = confidence;
        }
View Full Code Here

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

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

            this.inputIsLong = inputIsLong;
            this.confidence = confidence;

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

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, SINGLE_VARBINARY, SINGLE_VARBINARY, maskChannel, sampleWeightChannel);
            this.counts = new LongBigArray();
            this.samples = new LongBigArray();
            this.sums = new LongBigArray();
            this.variances = new DoubleBigArray();
            this.confidence = confidence;
        }
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

        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
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.