protected static enum FilteredTermsEnum.AcceptStatus extends Enum<FilteredTermsEnum.AcceptStatus>
END
. The *_SEEK
values denote, that after handling the current term
the enum should call FilteredTermsEnum.nextSeekTerm(org.apache.lucene.util.BytesRef)
and step forward.FilteredTermsEnum.accept(BytesRef)
Enum Constant and Description |
---|
END
Reject the term and stop enumerating.
|
NO
Reject the term and position the enum at the next term.
|
NO_AND_SEEK
Reject the term and advance (
FilteredTermsEnum.nextSeekTerm(BytesRef) )
to the next term. |
YES
Accept the term and position the enum at the next term.
|
YES_AND_SEEK
Accept the term and advance (
FilteredTermsEnum.nextSeekTerm(BytesRef) )
to the next term. |
Modifier and Type | Method and Description |
---|---|
static FilteredTermsEnum.AcceptStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilteredTermsEnum.AcceptStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilteredTermsEnum.AcceptStatus YES
public static final FilteredTermsEnum.AcceptStatus YES_AND_SEEK
FilteredTermsEnum.nextSeekTerm(BytesRef)
)
to the next term.public static final FilteredTermsEnum.AcceptStatus NO
public static final FilteredTermsEnum.AcceptStatus NO_AND_SEEK
FilteredTermsEnum.nextSeekTerm(BytesRef)
)
to the next term.public static final FilteredTermsEnum.AcceptStatus END
public static FilteredTermsEnum.AcceptStatus[] values()
for (FilteredTermsEnum.AcceptStatus c : FilteredTermsEnum.AcceptStatus.values()) System.out.println(c);
public static FilteredTermsEnum.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.