public static enum FieldDefinition.Type extends Enum<FieldDefinition.Type>
| Enum Constant and Description |
|---|
BYTES |
INT |
LONG |
SOLR_FIELD |
STRING |
TEXT |
TOKENS |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.SortField.Type |
getLuceneSortFieldType() |
RangePQuery.Type |
getRangeTermType() |
static FieldDefinition.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldDefinition.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldDefinition.Type TOKENS
public static final FieldDefinition.Type STRING
public static final FieldDefinition.Type BYTES
public static final FieldDefinition.Type INT
public static final FieldDefinition.Type LONG
public static final FieldDefinition.Type TEXT
public static final FieldDefinition.Type SOLR_FIELD
public static FieldDefinition.Type[] values()
for (FieldDefinition.Type c : FieldDefinition.Type.values()) System.out.println(c);
public static FieldDefinition.Type 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 org.apache.lucene.search.SortField.Type getLuceneSortFieldType()
public RangePQuery.Type getRangeTermType()
Copyright © 2013. All Rights Reserved.