public class SortConfig extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MERGE_LIMIT |
static int |
DEFAULT_SPILL_BATCH_SIZE |
static int |
MIN_MERGE_BATCH_SIZE |
static int |
MIN_MERGE_LIMIT |
static int |
MIN_MERGED_BATCH_SIZE
Smallest allowed output batch size.
|
static int |
MIN_SPILL_BATCH_SIZE |
static long |
MIN_SPILL_FILE_SIZE
In the bizarre case where the user gave us an unrealistically low
spill file size, set a floor at some bare minimum size.
|
Constructor and Description |
---|
SortConfig(DrillConfig config,
OptionManager options) |
Modifier and Type | Method and Description |
---|---|
int |
getBufferedBatchLimit() |
int |
getMSortBatchSize() |
long |
maxMemory() |
int |
mergeBatchSize() |
int |
mergeLimit() |
int |
spillBatchSize() |
long |
spillFileSize() |
String |
toString() |
public static final int MIN_MERGED_BATCH_SIZE
public static final long MIN_SPILL_FILE_SIZE
public static final int DEFAULT_SPILL_BATCH_SIZE
public static final int MIN_SPILL_BATCH_SIZE
public static final int MIN_MERGE_BATCH_SIZE
public static final int DEFAULT_MERGE_LIMIT
public static final int MIN_MERGE_LIMIT
public SortConfig(DrillConfig config, OptionManager options)
public long maxMemory()
public int mergeLimit()
public long spillFileSize()
public int spillBatchSize()
public int mergeBatchSize()
public int getBufferedBatchLimit()
public int getMSortBatchSize()
Copyright © 1970 The Apache Software Foundation. All rights reserved.