public static enum FilterSpans.AcceptStatus extends Enum<FilterSpans.AcceptStatus>
FilterSpans.accept(Spans)
that indicates
whether a candidate match should be accepted, rejected, or rejected
and move on to the next document.Enum Constant and Description |
---|
NO
Indicates the match should be rejected
|
NO_MORE_IN_CURRENT_DOC
Indicates the match should be rejected, and the enumeration may continue
with the next document.
|
YES
Indicates the match should be accepted
|
Modifier and Type | Method and Description |
---|---|
static FilterSpans.AcceptStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterSpans.AcceptStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterSpans.AcceptStatus YES
public static final FilterSpans.AcceptStatus NO
public static final FilterSpans.AcceptStatus NO_MORE_IN_CURRENT_DOC
public static FilterSpans.AcceptStatus[] values()
for (FilterSpans.AcceptStatus c : FilterSpans.AcceptStatus.values()) System.out.println(c);
public static FilterSpans.AcceptStatus 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 nullCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.