|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.ListBucketingPrunerUtils
public final class ListBucketingPrunerUtils
Utility for list bucketing prune.
Field Summary | |
---|---|
static String |
HIVE_LIST_BUCKETING_DEFAULT_DIR_NAME
|
static String |
HIVE_LIST_BUCKETING_DEFAULT_KEY
|
Constructor Summary | |
---|---|
ListBucketingPrunerUtils()
|
Method Summary | |
---|---|
static Boolean |
andBoolOperand(Boolean o,
Boolean a)
And 2 Boolean operands in the context of pruning match Operand one|Operand another | And result unknown | T | unknown unknown | F | F unknown | unknown | unknown T | T | T T | F | F T | unknown | unknown F | T | F F | F | F F | unknown | F |
static boolean |
isListBucketingPart(Partition part)
check if the partition is list bucketing |
static Boolean |
notBoolOperand(Boolean input)
Not a Boolean operand in the context of pruning match Operand | Not T | F F | T unknown | unknown |
static Boolean |
orBoolOperand(Boolean o,
Boolean a)
or 2 Boolean operands in the context of pruning match Operand one|Operand another | or result unknown | T | T unknown | F | unknown unknown | unknown | unknown T | T | T T | F | T T | unknown | unknown F | T | T F | F | F F | unknown | unknown |
static boolean |
skipSkewedDirectory(Boolean bool)
Decide if pruner skips the skewed directory Input: if the skewed value matches the expression tree Ouput: if pruner should skip the directory represented by the skewed value If match result is unknown(null) or true, pruner doesn't skip the directory If match result is false, pruner skips the dir. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String HIVE_LIST_BUCKETING_DEFAULT_DIR_NAME
public static String HIVE_LIST_BUCKETING_DEFAULT_KEY
Constructor Detail |
---|
public ListBucketingPrunerUtils()
Method Detail |
---|
public static boolean skipSkewedDirectory(Boolean bool)
bool
- if the skewed value matches the expression tree
public static Boolean orBoolOperand(Boolean o, Boolean a)
public static Boolean andBoolOperand(Boolean o, Boolean a)
o
- one operanda
- another operand
public static Boolean notBoolOperand(Boolean input)
input
- match result
public static boolean isListBucketingPart(Partition part)
part
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |