Class ShortFieldSource
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.lucene.queries.function.valuesource.FieldCacheSource
-
- org.apache.lucene.queries.function.valuesource.ShortFieldSource
-
@Deprecated public class ShortFieldSource extends FieldCacheSource
Deprecated.Obtains short field values from theFieldCacheusinggetShorts()and makes those values available as other numeric types, casting as needed.
-
-
Constructor Summary
Constructors Constructor Description ShortFieldSource(String field)Deprecated.ShortFieldSource(String field, FieldCache.ShortParser parser)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringdescription()Deprecated.description of field, used in explain()booleanequals(Object o)Deprecated.FunctionValuesgetValues(Map context, AtomicReaderContext readerContext)Deprecated.Gets the values for this reader and the context that was previously passed to createWeight()inthashCode()Deprecated.-
Methods inherited from class org.apache.lucene.queries.function.valuesource.FieldCacheSource
getField, getFieldCache
-
Methods inherited from class org.apache.lucene.queries.function.ValueSource
createWeight, getSortField, newContext, toString
-
-
-
-
Constructor Detail
-
ShortFieldSource
public ShortFieldSource(String field)
Deprecated.
-
ShortFieldSource
public ShortFieldSource(String field, FieldCache.ShortParser parser)
Deprecated.
-
-
Method Detail
-
description
public String description()
Deprecated.Description copied from class:ValueSourcedescription of field, used in explain()- Overrides:
descriptionin classFieldCacheSource
-
getValues
public FunctionValues getValues(Map context, AtomicReaderContext readerContext) throws IOException
Deprecated.Description copied from class:ValueSourceGets the values for this reader and the context that was previously passed to createWeight()- Specified by:
getValuesin classValueSource- Throws:
IOException
-
equals
public boolean equals(Object o)
Deprecated.- Overrides:
equalsin classFieldCacheSource
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classFieldCacheSource
-
-