Class RecordBatchStats.RecordBatchStatsContext

java.lang.Object
org.apache.drill.exec.util.record.RecordBatchStats.RecordBatchStatsContext
Enclosing class:
RecordBatchStats

public static final class RecordBatchStats.RecordBatchStatsContext extends Object
Helper class which loads contextual record batch logging options
  • Constructor Details

    • RecordBatchStatsContext

      public RecordBatchStatsContext(FragmentContext context, OperatorContext oContext)
      Parameters:
      context - fragment context
      oContext - operator context
  • Method Details

    • isEnableBatchSzLogging

      public boolean isEnableBatchSzLogging()
      Returns:
      the enableBatchSzLogging
    • isEnableFgBatchSzLogging

      public boolean isEnableFgBatchSzLogging()
      Returns:
      the enableFgBatchSzLogging
    • useInfoLevelLogging

      public boolean useInfoLevelLogging()
      Returns:
      indicates whether stats messages should be logged in info or debug level
    • getContextOperatorId

      public String getContextOperatorId()
      Returns:
      the contextOperatorId