public enum TextIndexHint extends Enum<TextIndexHint>
| Enum Constant and Description |
|---|
EXACT_MATCH
Index this property for exact match searches.
|
FULL_TEXT
Tokenize this property and index it for full text search.
|
| Modifier and Type | Field and Description |
|---|---|
static Set<TextIndexHint> |
ALL
The set of indexing hints that trigger all available indexes for
a Text property.
|
static Set<TextIndexHint> |
NONE
Use this to prevent indexing of this Text property.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<TextIndexHint> |
parse(String str) |
static byte |
toBits(Collection<TextIndexHint> hints) |
static byte |
toBits(TextIndexHint... indexHints) |
static Set<TextIndexHint> |
toSet(byte indexHint) |
static TextIndexHint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextIndexHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextIndexHint FULL_TEXT
public static final TextIndexHint EXACT_MATCH
public static final Set<TextIndexHint> NONE
public static final Set<TextIndexHint> ALL
public static TextIndexHint[] values()
for (TextIndexHint c : TextIndexHint.values()) System.out.println(c);
public static TextIndexHint 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 static byte toBits(TextIndexHint... indexHints)
public static byte toBits(Collection<TextIndexHint> hints)
public static Set<TextIndexHint> toSet(byte indexHint)
public static Set<TextIndexHint> parse(String str)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.