public static enum SolrQueryParser.MagicFieldName extends Enum<SolrQueryParser.MagicFieldName>
Modifier and Type | Method and Description |
---|---|
static SolrQueryParser.MagicFieldName |
get(String field) |
String |
toString() |
static SolrQueryParser.MagicFieldName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SolrQueryParser.MagicFieldName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolrQueryParser.MagicFieldName VAL
public static final SolrQueryParser.MagicFieldName QUERY
public static SolrQueryParser.MagicFieldName[] values()
for (SolrQueryParser.MagicFieldName c : SolrQueryParser.MagicFieldName.values()) System.out.println(c);
public static SolrQueryParser.MagicFieldName 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 toString()
toString
in class Enum<SolrQueryParser.MagicFieldName>
public static SolrQueryParser.MagicFieldName get(String field)