Enum Constant and Description |
---|
bool |
coordinate |
date |
location |
num_double |
num_float |
num_integer |
num_long |
string |
text_en_splitting_tight |
text_general |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
multivalExt |
private java.lang.String |
printName |
private java.lang.String |
singlevalExt |
Modifier and Type | Method and Description |
---|---|
boolean |
appropriateName(SchemaDeclaration collectionSchema) |
java.lang.String |
printName() |
static SolrType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SolrType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolrType string
public static final SolrType text_general
public static final SolrType text_en_splitting_tight
public static final SolrType location
public static final SolrType date
public static final SolrType bool
public static final SolrType num_integer
public static final SolrType num_long
public static final SolrType num_float
public static final SolrType num_double
public static final SolrType coordinate
private java.lang.String printName
private java.lang.String singlevalExt
private java.lang.String multivalExt
public static SolrType[] values()
for (SolrType c : SolrType.values()) System.out.println(c);
public static SolrType 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String printName()
public boolean appropriateName(SchemaDeclaration collectionSchema)