|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IndexField> magoffin.matt.ma2.lucene.IndexField
public enum IndexField
An enumeration of Matte Lucene index fields.
Enum Constant Summary | |
---|---|
ADDRESS
An address. |
|
CITY
A city. |
|
COUNTRY
A country. |
|
CREATED_DATE
The index field for an item's creation date. |
|
CREATED_DATE_MONTH
The index field for an item's creation date, consisting of only year and month. |
|
DESCRIPTION
An item's description or comments. |
|
EMAIL
A person's email. |
|
GENERAL_TEXT
The index field (not stored) for tokenized free-form text. |
|
GIVEN_NAME
The given name of a person (first name). |
|
ITEM_DATE
The index field for an item's date (search date, i.e. |
|
ITEM_DATE_MONTH
The index field for an item's date consisting of only year and month. |
|
ITEM_DATE_TIME_ZONE
The time zone for the item date. |
|
ITEM_ID
The index field for an item's unique ID. |
|
ITEM_INDEX_KEY
An index key appropriate for this item. |
|
ITEM_NAME
The index field for an item's name. |
|
ITEM_OWNER
The owner of an item. |
|
MEDIA_HEIGHT
The height of an item. |
|
MEDIA_MIME
The MIME type of an item. |
|
MEDIA_RATING
The user media ratings. |
|
MEDIA_SHARED_ALBUM_KEY
A shared album key for an item (so can tell if item is shared). |
|
MEDIA_SHARED_ALBUM_NAME
A shared album name for an item. |
|
MEDIA_SHARED_FLAG
A flag indicating the item is part of some shared album. |
|
MEDIA_WIDTH
The width of an item. |
|
METADATA
Metadata. |
|
MODIFIED_DATE
An item's modified date. |
|
PHONE
A phone number. |
|
POSTAL_CODE
The postal code of an address. |
|
STATE
A state or province. |
|
SURNAME
The surname of a person (last, family name). |
|
TAG
A tag. |
|
USER_LOGIN
The login name for a user login. |
Method Summary | |
---|---|
static IndexField |
fromFieldName(java.lang.String field)
Get an IndexField from a Lucene field name. |
java.lang.String |
getFieldName()
Get a Lucene field name for this enum. |
static IndexField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IndexField[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IndexField ITEM_ID
public static final IndexField ITEM_OWNER
public static final IndexField ITEM_DATE
public static final IndexField ITEM_DATE_MONTH
public static final IndexField ITEM_DATE_TIME_ZONE
public static final IndexField ITEM_NAME
public static final IndexField ITEM_INDEX_KEY
public static final IndexField MEDIA_SHARED_ALBUM_KEY
public static final IndexField MEDIA_SHARED_ALBUM_NAME
public static final IndexField MEDIA_SHARED_FLAG
public static final IndexField CREATED_DATE
public static final IndexField CREATED_DATE_MONTH
public static final IndexField DESCRIPTION
public static final IndexField MODIFIED_DATE
public static final IndexField GENERAL_TEXT
public static final IndexField GIVEN_NAME
public static final IndexField MEDIA_HEIGHT
public static final IndexField MEDIA_MIME
public static final IndexField MEDIA_RATING
public static final IndexField MEDIA_WIDTH
public static final IndexField METADATA
public static final IndexField SURNAME
public static final IndexField TAG
public static final IndexField EMAIL
public static final IndexField PHONE
public static final IndexField ADDRESS
public static final IndexField CITY
public static final IndexField STATE
public static final IndexField POSTAL_CODE
public static final IndexField COUNTRY
public static final IndexField USER_LOGIN
Method Detail |
---|
public static final IndexField[] values()
for(IndexField c : IndexField.values()) System.out.println(c);
public static IndexField valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.String getFieldName()
fromFieldName(String)
public static IndexField fromFieldName(java.lang.String field)
field
- field name
java.lang.IllegalArgumentException
- if the field name is not supportedgetFieldName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |