public enum LuceneFunction extends Enum<LuceneFunction>
Enum Constant and Description |
---|
FIELD
A normal lucene field match.
|
LOWER
Match as if the field was converted to lower case.
|
UPPER
Match as if the field was converted to upper case.
|
Modifier and Type | Method and Description |
---|---|
static LuceneFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LuceneFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LuceneFunction UPPER
public static final LuceneFunction LOWER
public static final LuceneFunction FIELD
public static LuceneFunction[] values()
for (LuceneFunction c : LuceneFunction.values()) System.out.println(c);
public static LuceneFunction 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 © 2005–2020 Alfresco Software. All rights reserved.