Class SortConfig
java.lang.Object
org.apache.drill.exec.physical.impl.xsort.SortConfig
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Smallest allowed output batch size.static final int
static final long
In the bizarre case where the user gave us an unrealistically low spill file size, set a floor at some bare minimum size. -
Constructor Summary
-
Method Summary
-
Field Details
-
MIN_MERGED_BATCH_SIZE
public static final int MIN_MERGED_BATCH_SIZESmallest allowed output batch size. The smallest output batch created even under constrained memory conditions.- See Also:
-
MIN_SPILL_FILE_SIZE
public static final long MIN_SPILL_FILE_SIZEIn the bizarre case where the user gave us an unrealistically low spill file size, set a floor at some bare minimum size. (Note that, at this size, big queries will create a huge number of files, which is why the configuration default is one the order of hundreds of MB.)- See Also:
-
DEFAULT_SPILL_BATCH_SIZE
public static final int DEFAULT_SPILL_BATCH_SIZE- See Also:
-
MIN_SPILL_BATCH_SIZE
public static final int MIN_SPILL_BATCH_SIZE- See Also:
-
MIN_MERGE_BATCH_SIZE
public static final int MIN_MERGE_BATCH_SIZE- See Also:
-
DEFAULT_MERGE_LIMIT
public static final int DEFAULT_MERGE_LIMIT- See Also:
-
MIN_MERGE_LIMIT
public static final int MIN_MERGE_LIMIT- See Also:
-
-
Constructor Details
-
SortConfig
-
-
Method Details
-
toString
-
maxMemory
public long maxMemory() -
mergeLimit
public int mergeLimit() -
spillFileSize
public long spillFileSize() -
spillBatchSize
public int spillBatchSize() -
mergeBatchSize
public int mergeBatchSize() -
getBufferedBatchLimit
public int getBufferedBatchLimit() -
getMSortBatchSize
public int getMSortBatchSize()
-