org.apache.hadoop.hive.ql.metadata
Interface InputEstimator


public interface InputEstimator


Nested Class Summary
static class InputEstimator.Estimation
           
 
Method Summary
 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
 

Method Detail

estimate

InputEstimator.Estimation estimate(org.apache.hadoop.mapred.JobConf job,
                                   TableScanOperator ts,
                                   long remaining)
                                   throws HiveException
Estimate input size based on filter and projection on table scan operator

Parameters:
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).
Throws:
HiveException


Copyright © 2014 The Apache Software Foundation. All rights reserved.