Class FloatPayloadValueSource


  • public class FloatPayloadValueSource
    extends org.apache.lucene.queries.function.ValueSource
    • Constructor Summary

      Constructors 
      Constructor Description
      FloatPayloadValueSource​(String field, String val, String indexedField, org.apache.lucene.util.BytesRef indexedBytes, org.apache.lucene.queries.payloads.PayloadDecoder decoder, org.apache.lucene.queries.payloads.PayloadFunction payloadFunction, org.apache.lucene.queries.function.ValueSource defaultValueSource)  
    • Field Detail

      • field

        protected final String field
      • val

        protected final String val
      • indexedField

        protected final String indexedField
      • indexedBytes

        protected final org.apache.lucene.util.BytesRef indexedBytes
      • decoder

        protected final org.apache.lucene.queries.payloads.PayloadDecoder decoder
      • payloadFunction

        protected final org.apache.lucene.queries.payloads.PayloadFunction payloadFunction
      • defaultValueSource

        protected final org.apache.lucene.queries.function.ValueSource defaultValueSource
    • Constructor Detail

      • FloatPayloadValueSource

        public FloatPayloadValueSource​(String field,
                                       String val,
                                       String indexedField,
                                       org.apache.lucene.util.BytesRef indexedBytes,
                                       org.apache.lucene.queries.payloads.PayloadDecoder decoder,
                                       org.apache.lucene.queries.payloads.PayloadFunction payloadFunction,
                                       org.apache.lucene.queries.function.ValueSource defaultValueSource)
    • Method Detail

      • getValues

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

        public String description()
        Specified by:
        description in class org.apache.lucene.queries.function.ValueSource
      • equals

        public boolean equals​(Object o)
        Specified by:
        equals in class org.apache.lucene.queries.function.ValueSource
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class org.apache.lucene.queries.function.ValueSource