PointsConfig@Deprecated
public class LegacyNumericConfig
extends java.lang.Object
LegacyNumericRangeQuerys.LegacyNumericRangeQuery,
NumberFormat| Modifier and Type | Field and Description |
|---|---|
private java.text.NumberFormat |
format
Deprecated.
|
private int |
precisionStep
Deprecated.
|
private FieldType.LegacyNumericType |
type
Deprecated.
|
| Constructor and Description |
|---|
LegacyNumericConfig(int precisionStep,
java.text.NumberFormat format,
FieldType.LegacyNumericType type)
Deprecated.
Constructs a
LegacyNumericConfig object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
java.text.NumberFormat |
getNumberFormat()
Deprecated.
Returns the
NumberFormat used to parse a String to
Number |
int |
getPrecisionStep()
Deprecated.
Returns the precision used to index the numeric values
|
FieldType.LegacyNumericType |
getType()
Deprecated.
Returns the numeric type used to index the numeric values
|
int |
hashCode()
Deprecated.
|
void |
setNumberFormat(java.text.NumberFormat format)
Deprecated.
Sets the
NumberFormat used to parse a String to
Number |
void |
setPrecisionStep(int precisionStep)
Deprecated.
Sets the precision used to index the numeric values
|
void |
setType(FieldType.LegacyNumericType type)
Deprecated.
Sets the numeric type used to index the numeric values
|
private int precisionStep
private java.text.NumberFormat format
private FieldType.LegacyNumericType type
public LegacyNumericConfig(int precisionStep,
java.text.NumberFormat format,
FieldType.LegacyNumericType type)
LegacyNumericConfig object.precisionStep - the precision used to index the numeric valuesformat - the NumberFormat used to parse a String to
Numbertype - the numeric type used to index the numeric valuessetPrecisionStep(int),
setNumberFormat(NumberFormat),
setType(org.apache.lucene.document.FieldType.LegacyNumericType)public int getPrecisionStep()
LegacyNumericRangeQuery.getPrecisionStep()public void setPrecisionStep(int precisionStep)
precisionStep - the precision used to index the numeric valuesLegacyNumericRangeQuery.getPrecisionStep()public java.text.NumberFormat getNumberFormat()
NumberFormat used to parse a String to
NumberNumberFormat used to parse a String to
Numberpublic FieldType.LegacyNumericType getType()
public void setType(FieldType.LegacyNumericType type)
type - the numeric type used to index the numeric valuespublic void setNumberFormat(java.text.NumberFormat format)
NumberFormat used to parse a String to
Numberformat - the NumberFormat used to parse a String to
Number, must not be nullpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object