Package com.facebook.presto.operator.HashAggregationOperator

Examples of com.facebook.presto.operator.HashAggregationOperator.HashMemoryManager


        for (int i = 0; i < tupleInfos.size(); i++) {
            types.add(tupleInfos.get(i).getType());
            distinctChannels.add(i);
        }

        this.groupByHash = new GroupByHash(types.build(), Ints.toArray(distinctChannels.build()), 10_000, new HashMemoryManager(operatorContext));

        this.cursors = new BlockCursor[tupleInfos.size()];
        this.pageBuilder = new PageBuilder(getTupleInfos());
        remainingLimit = limit;
    }
View Full Code Here


        for (int channel : markDistinctChannels) {
            types.add(tupleInfos.get(channel).getType());
        }

        this.markDistinctHash = new MarkDistinctHash(types.build(), markDistinctChannels, new HashMemoryManager(operatorContext));

        this.tupleInfos = tupleInfos;
    }
View Full Code Here

        for (int channel : markDistinctChannels) {
            types.add(tupleInfos.get(channel).getType());
        }

        this.markDistinctHash = new MarkDistinctHash(types.build(), markDistinctChannels, new HashMemoryManager(operatorContext));

        this.tupleInfos = tupleInfos;
        this.pageBuilder = new PageBuilder(tupleInfos);
    }
View Full Code Here

TOP

Related Classes of com.facebook.presto.operator.HashAggregationOperator.HashMemoryManager

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.