public class StatsSetupConst extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StatsSetupConst.StatDB |
Modifier and Type | Field and Description |
---|---|
static String |
BASIC_STATS |
static String |
CASCADE |
static String |
COLUMN_STATS |
static String |
COLUMN_STATS_ACCURATE |
static String |
DO_NOT_UPDATE_STATS |
static String |
FALSE |
static String[] |
fastStats
List of statistics that can be collected quickly without requiring a scan of the data.
|
protected static org.slf4j.Logger |
LOG |
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 |
RUN_TIME_ROW_COUNT |
static String |
STATS_FILE_PREFIX |
static String |
STATS_GENERATED |
static String |
STATS_TMP_LOC
Temp dir for writing stats from tasks.
|
static String[] |
statsRequireCompute
List of all statistics that need to be collected during query execution.
|
static String[] |
supportedStats
List of all supported statistics
|
static String[] |
TABLE_PARAMS_STATS_KEYS |
static String |
TASK |
static String |
TOTAL_SIZE
The name of the statistic Total Size to be published or gathered.
|
static String |
TRUE |
static String |
USER |
Constructor and Description |
---|
StatsSetupConst() |
Modifier and Type | Method and Description |
---|---|
static boolean |
areBasicStatsUptoDate(Map<String,String> params) |
static boolean |
areColumnStatsUptoDate(Map<String,String> params,
String colName) |
static boolean |
canColumnStatsMerge(Map<String,String> params,
String colName) |
static void |
clearColumnStatsState(Map<String,String> params) |
static void |
removeColumnStatsState(Map<String,String> params,
List<String> colNames) |
static void |
setBasicStatsState(Map<String,String> params,
String setting) |
static void |
setColumnStatsState(Map<String,String> params,
List<String> colNames) |
static void |
setStatsStateForCreateTable(Map<String,String> params,
List<String> cols,
String setting) |
protected static final org.slf4j.Logger LOG
public static final String NUM_FILES
public static final String NUM_PARTITIONS
public static final String TOTAL_SIZE
public static final String ROW_COUNT
public static final String RUN_TIME_ROW_COUNT
public static final String RAW_DATA_SIZE
public static final String STATS_TMP_LOC
public static final String STATS_FILE_PREFIX
public static final String[] supportedStats
public static final String[] statsRequireCompute
public static final String[] fastStats
public static final String STATS_GENERATED
public static final String TASK
public static final String USER
public static final String DO_NOT_UPDATE_STATS
public static final String COLUMN_STATS_ACCURATE
public static final String COLUMN_STATS
public static final String BASIC_STATS
public static final String CASCADE
public static final String TRUE
public static final String FALSE
public static final String[] TABLE_PARAMS_STATS_KEYS
public static boolean areColumnStatsUptoDate(Map<String,String> params, String colName)
public static void setColumnStatsState(Map<String,String> params, List<String> colNames)
public static boolean canColumnStatsMerge(Map<String,String> params, String colName)
public static void removeColumnStatsState(Map<String,String> params, List<String> colNames)
Copyright © 2019 The Apache Software Foundation. All rights reserved.