public enum MetadataType extends Enum<MetadataType>
| Enum Constant and Description |
|---|
FILE_NAME |
GROUP_NAME |
ID |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
String |
fieldName() |
static MetadataType |
findMetadataType(String keyword) |
org.apache.lucene.document.Field.Store |
store() |
static MetadataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataType ID
public static final MetadataType TYPE
public static final MetadataType GROUP_NAME
public static final MetadataType FILE_NAME
public static MetadataType[] values()
for (MetadataType c : MetadataType.values()) System.out.println(c);
public static MetadataType 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 String fieldName()
public org.apache.lucene.document.Field.Store store()
public static MetadataType findMetadataType(String keyword)
Copyright © 2021. All rights reserved.