org.apache.hadoop.hive.common
Class StatsSetupConst

java.lang.Object
  extended by org.apache.hadoop.hive.common.StatsSetupConst

public class StatsSetupConst
extends Object

A class that defines the constant strings used by the statistics implementation.


Nested Class Summary
static class StatsSetupConst.StatDB
           
 
Field Summary
static String COLUMN_STATS_ACCURATE
           
static String FALSE
           
static String[] fastStats
           
static String NUM_FILES
          The name of the statistic Num Files to be published or gathered.
static String NUM_PARTITIONS
          The name of the statistic Num Partitions to be published or gathered.
static String RAW_DATA_SIZE
          The name of the statistic Raw Data Size to be published or gathered.
static String ROW_COUNT
          The name of the statistic Row Count to be published or gathered.
static String STATS_FILE_PREFIX
           
static String STATS_GENERATED_VIA_STATS_TASK
           
static String STATS_TMP_LOC
          Temp dir for writing stats from tasks.
static String[] statsRequireCompute
           
static String[] supportedStats
           
static String TOTAL_SIZE
          The name of the statistic Total Size to be published or gathered.
static String TRUE
           
 
Constructor Summary
StatsSetupConst()
           
 
Method Summary
static boolean areStatsUptoDate(Map<String,String> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUM_FILES

public static final String NUM_FILES
The name of the statistic Num Files to be published or gathered.

See Also:
Constant Field Values

NUM_PARTITIONS

public static final String NUM_PARTITIONS
The name of the statistic Num Partitions to be published or gathered.

See Also:
Constant Field Values

TOTAL_SIZE

public static final String TOTAL_SIZE
The name of the statistic Total Size to be published or gathered.

See Also:
Constant Field Values

ROW_COUNT

public static final String ROW_COUNT
The name of the statistic Row Count to be published or gathered.

See Also:
Constant Field Values

RAW_DATA_SIZE

public static final String RAW_DATA_SIZE
The name of the statistic Raw Data Size to be published or gathered.

See Also:
Constant Field Values

STATS_TMP_LOC

public static final String STATS_TMP_LOC
Temp dir for writing stats from tasks.

See Also:
Constant Field Values

STATS_FILE_PREFIX

public static final String STATS_FILE_PREFIX
See Also:
Constant Field Values

supportedStats

public static final String[] supportedStats

statsRequireCompute

public static final String[] statsRequireCompute

fastStats

public static final String[] fastStats

STATS_GENERATED_VIA_STATS_TASK

public static final String STATS_GENERATED_VIA_STATS_TASK
See Also:
Constant Field Values

COLUMN_STATS_ACCURATE

public static final String COLUMN_STATS_ACCURATE
See Also:
Constant Field Values

TRUE

public static final String TRUE
See Also:
Constant Field Values

FALSE

public static final String FALSE
See Also:
Constant Field Values
Constructor Detail

StatsSetupConst

public StatsSetupConst()
Method Detail

areStatsUptoDate

public static boolean areStatsUptoDate(Map<String,String> params)


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