Class RecordBatchStats.RecordBatchStatsContext
java.lang.Object
org.apache.drill.exec.util.record.RecordBatchStats.RecordBatchStatsContext
- Enclosing class:
- RecordBatchStats
Helper class which loads contextual record batch logging options
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
-
Constructor Details
-
RecordBatchStatsContext
- Parameters:
context
- fragment contextoContext
- 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
- Returns:
- the contextOperatorId
-