Class BatchSizePredictorImpl.Factory

java.lang.Object
org.apache.drill.exec.physical.impl.join.BatchSizePredictorImpl.Factory
All Implemented Interfaces:
BatchSizePredictor.Factory
Enclosing class:
BatchSizePredictorImpl

public static class BatchSizePredictorImpl.Factory extends Object implements BatchSizePredictor.Factory
  • Field Details

  • Method Details

    • create

      public BatchSizePredictor create(RecordBatch batch, double fragmentationFactor, double safetyFactor)
      Description copied from interface: BatchSizePredictor.Factory
      Creates a predictor with a batch whose data needs to be used to predict other batch sizes.
      Specified by:
      create in interface BatchSizePredictor.Factory
      Parameters:
      batch - The batch whose size needs to be predicted.
      fragmentationFactor - A constant used to predict value vector doubling.
      safetyFactor - A constant used to leave padding for unpredictable incoming batches.