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 theFieldCache
usinggetInts()
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.String
description()
Deprecated.description of field, used in explain()boolean
equals(java.lang.Object o)
Deprecated.FunctionValues
getValues(java.util.Map context, AtomicReaderContext readerContext)
Deprecated.Gets the values for this reader and the context that was previously passed to createWeight()int
hashCode()
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:ValueSource
description of field, used in explain()- Overrides:
description
in classFieldCacheSource
-
getValues
public FunctionValues getValues(java.util.Map context, AtomicReaderContext readerContext) throws java.io.IOException
Deprecated.Description copied from class:ValueSource
Gets the values for this reader and the context that was previously passed to createWeight()- Specified by:
getValues
in classValueSource
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classFieldCacheSource
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classFieldCacheSource
-
-