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(java.lang.String field)Deprecated.ByteFieldSource(java.lang.String field, FieldCache.ByteParser 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
-
ByteFieldSource
public ByteFieldSource(java.lang.String field)
Deprecated.
-
ByteFieldSource
public ByteFieldSource(java.lang.String field, FieldCache.ByteParser 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
-
-