Class ByteFieldSource
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.lucene.queries.function.valuesource.FieldCacheSource
-
- org.apache.lucene.queries.function.valuesource.ByteFieldSource
-
@Deprecated public class ByteFieldSource extends FieldCacheSource
Deprecated.Obtains int field values from theFieldCacheusinggetInts()and makes those values available as other numeric types, casting as needed. *
-
-
Constructor Summary
Constructors Constructor Description ByteFieldSource(String field)Deprecated.ByteFieldSource(String field, FieldCache.ByteParser 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
-
ByteFieldSource
public ByteFieldSource(String field)
Deprecated.
-
ByteFieldSource
public ByteFieldSource(String field, FieldCache.ByteParser 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
-
-