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(java.lang.String field)Deprecated.ShortFieldSource(java.lang.String field, FieldCache.ShortParser parser)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Stringdescription()Deprecated.description of field, used in explain()booleanequals(java.lang.Object o)Deprecated.FunctionValuesgetValues(java.util.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(java.lang.String field)
Deprecated.
-
ShortFieldSource
public ShortFieldSource(java.lang.String field, FieldCache.ShortParser parser)Deprecated.
-
-
Method Detail
-
description
public java.lang.String description()
Deprecated.Description copied from class:ValueSourcedescription of field, used in explain()- Overrides:
descriptionin classFieldCacheSource
-
getValues
public FunctionValues getValues(java.util.Map context, AtomicReaderContext readerContext) throws java.io.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:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equalsin classFieldCacheSource
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classFieldCacheSource
-
-