public class ObjectCacheFactory extends Object
Modifier and Type | Method and Description |
---|---|
static ObjectCache |
getCache(org.apache.hadoop.conf.Configuration conf,
String queryId,
boolean isPlanCache)
Returns the appropriate cache
|
static ObjectCache |
getCache(org.apache.hadoop.conf.Configuration conf,
String queryId,
boolean isPlanCache,
boolean llapCacheAlwaysEnabled)
Returns the appropriate cache
|
static void |
removeLlapQueryCache(String queryId) |
public static ObjectCache getCache(org.apache.hadoop.conf.Configuration conf, String queryId, boolean isPlanCache)
public static ObjectCache getCache(org.apache.hadoop.conf.Configuration conf, String queryId, boolean isPlanCache, boolean llapCacheAlwaysEnabled)
conf
- queryId
- isPlanCache
- llapCacheAlwaysEnabled
- Whether to always return LLAP cache regardless
of config settings disabling LLAP cache. Valid only if running LLAP.public static void removeLlapQueryCache(String queryId)
Copyright © 2022 The Apache Software Foundation. All rights reserved.