public abstract class DruidProcessingConfig extends ExecutorServiceConfig implements ColumnConfig
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MERGE_POOL_AWAIT_SHUTDOWN_MILLIS |
static int |
DEFAULT_NUM_MERGE_BUFFERS |
static int |
DEFAULT_PROCESSING_BUFFER_SIZE_BYTES |
static int |
MAX_DEFAULT_PROCESSING_BUFFER_SIZE_BYTES |
DEFAULT_NUM_THREADS| Constructor and Description |
|---|
DruidProcessingConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
columnCacheSizeBytes() |
static long |
computeMaxMemoryFromMaxHeapSize() |
long |
getMergePoolAwaitShutdownMillis() |
int |
getMergePoolDefaultMaxQueryParallelism() |
int |
getMergePoolParallelism() |
int |
getMergePoolParallelismConfigured() |
int |
getMergePoolSmallBatchRows() |
int |
getMergePoolTargetTaskRunTimeMillis() |
int |
getMergePoolTaskInitialYieldRows() |
int |
getNumMergeBuffers() |
int |
getNumMergeBuffersConfigured()
Returns the number of merge buffers _explicitly_ configured, or -1 if it is not explicitly configured, that is not
a valid number of buffers.
|
int |
getNumThreadsConfigured() |
String |
getTmpDir() |
int |
intermediateComputeSizeBytes() |
int |
intermediateComputeSizeBytesConfigured() |
boolean |
isFifo() |
int |
poolCacheMaxCount() |
boolean |
useParallelMergePool() |
boolean |
useParallelMergePoolConfigured() |
getFormatString, getNumThreadspublic static final int DEFAULT_NUM_MERGE_BUFFERS
public static final int DEFAULT_PROCESSING_BUFFER_SIZE_BYTES
public static final int MAX_DEFAULT_PROCESSING_BUFFER_SIZE_BYTES
public static final int DEFAULT_MERGE_POOL_AWAIT_SHUTDOWN_MILLIS
public int intermediateComputeSizeBytesConfigured()
public int intermediateComputeSizeBytes()
public static long computeMaxMemoryFromMaxHeapSize()
public int poolCacheMaxCount()
public int getNumThreadsConfigured()
getNumThreadsConfigured in class ExecutorServiceConfigpublic int getNumMergeBuffers()
public int getNumMergeBuffersConfigured()
getNumMergeBuffers(). This method exists for ability to distinguish between the default value set when there is
no explicit config, and an explicitly configured value.public int columnCacheSizeBytes()
columnCacheSizeBytes in interface ColumnConfigpublic boolean isFifo()
public String getTmpDir()
public boolean useParallelMergePoolConfigured()
public boolean useParallelMergePool()
public int getMergePoolParallelismConfigured()
public int getMergePoolParallelism()
public long getMergePoolAwaitShutdownMillis()
public int getMergePoolDefaultMaxQueryParallelism()
public int getMergePoolTargetTaskRunTimeMillis()
public int getMergePoolTaskInitialYieldRows()
public int getMergePoolSmallBatchRows()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.