|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SearchArgument.TruthValue>
org.apache.hadoop.hive.ql.io.sarg.SearchArgument.TruthValue
public static enum SearchArgument.TruthValue
The potential result sets of logical operations.
| Enum Constant Summary | |
|---|---|
NO
|
|
NO_NULL
|
|
NULL
|
|
YES
|
|
YES_NO
|
|
YES_NO_NULL
|
|
YES_NULL
|
|
| Method Summary | |
|---|---|
SearchArgument.TruthValue |
and(SearchArgument.TruthValue right)
Compute logical AND between the two values. |
boolean |
isNeeded()
Does the RecordReader need to include this set of records? |
SearchArgument.TruthValue |
not()
|
SearchArgument.TruthValue |
or(SearchArgument.TruthValue right)
Compute logical or between the two values. |
static SearchArgument.TruthValue |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SearchArgument.TruthValue[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SearchArgument.TruthValue YES
public static final SearchArgument.TruthValue NO
public static final SearchArgument.TruthValue NULL
public static final SearchArgument.TruthValue YES_NULL
public static final SearchArgument.TruthValue NO_NULL
public static final SearchArgument.TruthValue YES_NO
public static final SearchArgument.TruthValue YES_NO_NULL
| Method Detail |
|---|
public static SearchArgument.TruthValue[] values()
for (SearchArgument.TruthValue c : SearchArgument.TruthValue.values()) System.out.println(c);
public static SearchArgument.TruthValue valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic SearchArgument.TruthValue or(SearchArgument.TruthValue right)
right - the other argument or null
public SearchArgument.TruthValue and(SearchArgument.TruthValue right)
right - the other argument or null
public SearchArgument.TruthValue not()
public boolean isNeeded()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||