Package com.salesforce.phoenix.cache.aggcache

Examples of com.salesforce.phoenix.cache.aggcache.SpillableGroupByCache


        GroupByCache newCache(RegionCoprocessorEnvironment env, ImmutableBytesWritable tenantId, ServerAggregators aggregators, int estDistVals) {
            Configuration conf = env.getConfiguration();
            boolean spillableEnabled =
                    conf.getBoolean(GROUPBY_SPILLABLE_ATTRIB, DEFAULT_GROUPBY_SPILLABLE);
            if (spillableEnabled) {
                return new SpillableGroupByCache(env, tenantId, aggregators, estDistVals);
            }
           
            return new InMemoryGroupByCache(env, tenantId, aggregators, estDistVals);
        }
View Full Code Here

TOP

Related Classes of com.salesforce.phoenix.cache.aggcache.SpillableGroupByCache

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.