public static enum DocumentFactory.FieldType extends Enum<DocumentFactory.FieldType>
| Enum Constant and Description |
|---|
DATE
A date (experimental).
|
INT
A long integer between -262 (inclusive) and 262 (exclusive).
|
TEXT
The most basic type: indexable text.
|
VIRTUAL
A virtual field: an
ObjectList of Scan.VirtualDocumentFragments. |
| Modifier and Type | Method and Description |
|---|---|
static DocumentFactory.FieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentFactory.FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentFactory.FieldType TEXT
public static final DocumentFactory.FieldType VIRTUAL
ObjectList of Scan.VirtualDocumentFragments.public static final DocumentFactory.FieldType INT
public static final DocumentFactory.FieldType DATE
public static DocumentFactory.FieldType[] values()
for (DocumentFactory.FieldType c : DocumentFactory.FieldType.values()) System.out.println(c);
public static DocumentFactory.FieldType 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 null