public interface InputEstimator
| Modifier and Type | Interface and Description |
|---|---|
static class |
InputEstimator.Estimation |
| Modifier and Type | Method and Description |
|---|---|
InputEstimator.Estimation |
estimate(org.apache.hadoop.mapred.JobConf job,
TableScanOperator ts,
long remaining)
Estimate input size based on filter and projection on table scan operator
|
InputEstimator.Estimation estimate(org.apache.hadoop.mapred.JobConf job, TableScanOperator ts, long remaining) throws HiveException
remaining - Early exit condition. If it has positive value, further estimation
can be canceled on the point of exceeding it. In this case,
return any bigger length value then this (Long.MAX_VALUE, for eaxmple).HiveExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.