Class StrFieldSource


  • public class StrFieldSource
    extends org.apache.lucene.queries.function.valuesource.FieldCacheSource
    • Field Summary

      • Fields inherited from class org.apache.lucene.queries.function.valuesource.FieldCacheSource

        field
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String description()  
      boolean equals​(Object o)  
      org.apache.lucene.queries.function.FunctionValues getValues​(Map context, org.apache.lucene.index.LeafReaderContext readerContext)  
      int hashCode()  
      • Methods inherited from class org.apache.lucene.queries.function.valuesource.FieldCacheSource

        getField
      • Methods inherited from class org.apache.lucene.queries.function.ValueSource

        asDoubleValuesSource, asLongValuesSource, createWeight, fromDoubleValuesSource, getSortField, newContext, toString
    • Constructor Detail

      • StrFieldSource

        public StrFieldSource​(String field)
    • Method Detail

      • description

        public String description()
        Overrides:
        description in class org.apache.lucene.queries.function.valuesource.FieldCacheSource
      • getValues

        public org.apache.lucene.queries.function.FunctionValues getValues​(Map context,
                                                                           org.apache.lucene.index.LeafReaderContext readerContext)
                                                                    throws IOException
        Specified by:
        getValues in class org.apache.lucene.queries.function.ValueSource
        Throws:
        IOException
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class org.apache.lucene.queries.function.valuesource.FieldCacheSource
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.apache.lucene.queries.function.valuesource.FieldCacheSource