|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SchemaFieldType> com.atlassian.confluence.plugins.contentproperty.index.schema.SchemaFieldType
public enum SchemaFieldType
Set of supported index field types.
Enum Constant Summary | |
---|---|
DATE
Indexed, not stored, not tokenized. |
|
NUMBER
Indexed, not stored, tokenized, 64-bit double numeric type. |
|
STRING
Indexed, not stored, not tokenized. |
|
TEXT
Indexed, not stored, tokenized. |
Method Summary | |
---|---|
com.atlassian.fugue.Option<org.apache.lucene.index.IndexableField> |
createFrom(String fieldName,
org.codehaus.jackson.JsonNode jsonNode)
|
static SchemaFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SchemaFieldType[] |
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 SchemaFieldType STRING
StringField.TYPE_NOT_STORED
for details.
public static final SchemaFieldType TEXT
TextField.TYPE_NOT_STORED
for details.
public static final SchemaFieldType NUMBER
DoubleField.TYPE_NOT_STORED
for details.
public static final SchemaFieldType DATE
StringField.TYPE_NOT_STORED
for details.
Method Detail |
---|
public static SchemaFieldType[] values()
for (SchemaFieldType c : SchemaFieldType.values()) System.out.println(c);
public static SchemaFieldType 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 nullpublic com.atlassian.fugue.Option<org.apache.lucene.index.IndexableField> createFrom(String fieldName, org.codehaus.jackson.JsonNode jsonNode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |