| Package | Description |
|---|---|
| org.apache.druid.client |
| Modifier and Type | Method and Description |
|---|---|
static CacheUtil.ServerType |
CacheUtil.ServerType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheUtil.ServerType[] |
CacheUtil.ServerType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
CacheUtil.isPopulateResultCache(Query<T> query,
CacheStrategy<T,Object,Query<T>> cacheStrategy,
CacheConfig cacheConfig,
CacheUtil.ServerType serverType)
Returns whether the result-level cache should be populated for a particular query.
|
static <T> boolean |
CacheUtil.isPopulateSegmentCache(Query<T> query,
CacheStrategy<T,Object,Query<T>> cacheStrategy,
CacheConfig cacheConfig,
CacheUtil.ServerType serverType)
Returns whether the result-level cache should be populated for a particular query.
|
static <T> boolean |
CacheUtil.isUseResultCache(Query<T> query,
CacheStrategy<T,Object,Query<T>> cacheStrategy,
CacheConfig cacheConfig,
CacheUtil.ServerType serverType)
Returns whether the result-level cache should be checked for a particular query.
|
static <T> boolean |
CacheUtil.isUseSegmentCache(Query<T> query,
CacheStrategy<T,Object,Query<T>> cacheStrategy,
CacheConfig cacheConfig,
CacheUtil.ServerType serverType)
Returns whether the segment-level cache should be checked for a particular query.
|
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.