public static enum SearchArgument.TruthValue extends Enum<SearchArgument.TruthValue>
Enum Constant and Description |
---|
NO |
NO_NULL |
NULL |
YES |
YES_NO |
YES_NO_NULL |
YES_NULL |
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic SearchArgument.TruthValue or(SearchArgument.TruthValue right)
right
- the other argument or nullpublic SearchArgument.TruthValue and(SearchArgument.TruthValue right)
right
- the other argument or nullpublic SearchArgument.TruthValue not()
public boolean isNeeded()
Copyright © 2016 The Apache Software Foundation. All rights reserved.