Class Field.NumberField

java.lang.Object
org.apache.maven.search.request.Field
org.apache.maven.search.request.Field.NumberField
Enclosing class:
Field

public static class Field.NumberField extends Field
  • Constructor Details

    • NumberField

      public NumberField(String fieldName, boolean searchable)
  • Method Details

    • getFieldValue

      public Number getFieldValue(Map<Field,Object> record)
      Description copied from class: Field
      Returns the value of the field from given record instance, or null if field not present in record. See subclasses for proper return types.
      Specified by:
      getFieldValue in class Field