Package org.apache.solr.common
Class EnumFieldValue
java.lang.Object
org.apache.solr.common.EnumFieldValue
- All Implemented Interfaces:
Serializable,Comparable<EnumFieldValue>
public final class EnumFieldValue
extends Object
implements Serializable, Comparable<EnumFieldValue>
Represents an Enum field value, which includes integer value (indicating the sort order) and
string (displayed) value. Note: this class has a natural ordering that is inconsistent with
equals
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EnumFieldValue
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
-
toInt
- Returns:
- integer value (indicating the sort order)
-
compareTo
- Specified by:
compareToin interfaceComparable<EnumFieldValue>
-