Class ShortFieldSource


  • @Deprecated
    public class ShortFieldSource
    extends FieldCacheSource
    Deprecated.
    Obtains short field values from the FieldCache using getShorts() and makes those values available as other numeric types, casting as needed.
    • Constructor Detail

      • ShortFieldSource

        public ShortFieldSource​(java.lang.String field)
        Deprecated.
      • ShortFieldSource

        public ShortFieldSource​(java.lang.String field,
                                FieldCache.ShortParser 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 class FieldCacheSource
      • 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 class ValueSource
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class FieldCacheSource