|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<DocumentFactory.FieldType>
it.unimi.dsi.mg4j.document.DocumentFactory.FieldType
public static enum DocumentFactory.FieldType
A field type.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||