Package org.apache.druid.query.groupby
Class GroupByQueryConfig
java.lang.Object
org.apache.druid.query.groupby.GroupByQueryConfig
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetActualMaxMergingDictionarySize(long maxHeapSize, int numConcurrentQueries) For unit tests.longgetActualMaxMergingDictionarySize(DruidProcessingConfig processingConfig) longgetActualMaxSelectorDictionarySize(DruidProcessingConfig processingConfig) intfloatintMirror maxOnDiskStorage if defaultOnDiskStorage's default is not overridden by cluster operator.intintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetSingleThreaded(boolean singleThreaded) toString()withOverrides(GroupByQuery query)
-
Field Details
-
AUTOMATIC
public static final long AUTOMATIC- See Also:
-
CTX_KEY_FORCE_LIMIT_PUSH_DOWN
- See Also:
-
CTX_KEY_APPLY_LIMIT_PUSH_DOWN
- See Also:
-
CTX_KEY_APPLY_LIMIT_PUSH_DOWN_TO_SEGMENT
- See Also:
-
CTX_KEY_FORCE_PUSH_DOWN_NESTED_QUERY
- See Also:
-
CTX_KEY_EXECUTING_NESTED_QUERY
- See Also:
-
CTX_KEY_ARRAY_RESULT_ROWS
- See Also:
-
CTX_KEY_ENABLE_MULTI_VALUE_UNNESTING
- See Also:
-
CTX_KEY_BUFFER_GROUPER_MAX_SIZE
- See Also:
-
CTX_KEY_DEFER_EXPRESSION_DIMENSIONS
- See Also:
-
-
Constructor Details
-
GroupByQueryConfig
public GroupByQueryConfig()
-
-
Method Details
-
isSingleThreaded
public boolean isSingleThreaded() -
setSingleThreaded
public void setSingleThreaded(boolean singleThreaded) -
getBufferGrouperMaxSize
public int getBufferGrouperMaxSize() -
getBufferGrouperMaxLoadFactor
public float getBufferGrouperMaxLoadFactor() -
getBufferGrouperInitialBuckets
public int getBufferGrouperInitialBuckets() -
getActualMaxSelectorDictionarySize
-
getActualMaxMergingDictionarySize
public long getActualMaxMergingDictionarySize(long maxHeapSize, int numConcurrentQueries) For unit tests. Production code should usegetActualMaxMergingDictionarySize(long, int). -
getActualMaxMergingDictionarySize
-
getMaxOnDiskStorage
-
getDefaultOnDiskStorage
Mirror maxOnDiskStorage if defaultOnDiskStorage's default is not overridden by cluster operator. This mirroring is done to maintain continuity in behavior between Druid versions. If an operator wants to use defaultOnDiskStorage, they have to explicitly override it.- Returns:
- The working value for defaultOnDiskStorage
-
isForcePushDownLimit
public boolean isForcePushDownLimit() -
isApplyLimitPushDownToSegment
public boolean isApplyLimitPushDownToSegment() -
isForceHashAggregation
public boolean isForceHashAggregation() -
getIntermediateCombineDegree
public int getIntermediateCombineDegree() -
getNumParallelCombineThreads
public int getNumParallelCombineThreads() -
isMergeThreadLocal
public boolean isMergeThreadLocal() -
getDeferExpressionDimensions
-
isVectorize
public boolean isVectorize() -
isIntermediateResultAsMapCompat
public boolean isIntermediateResultAsMapCompat() -
isForcePushDownNestedQuery
public boolean isForcePushDownNestedQuery() -
isMultiValueUnnestingEnabled
public boolean isMultiValueUnnestingEnabled() -
withOverrides
-
toString
-