Class SortConfig

java.lang.Object
org.apache.drill.exec.physical.impl.xsort.SortConfig

public class SortConfig extends Object
  • Field Details

    • MIN_MERGED_BATCH_SIZE

      public static final int MIN_MERGED_BATCH_SIZE
      Smallest 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_SIZE
      In 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

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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()