Class Field.NumberField

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

public static class Field.NumberField extends Field
  • Constructor Details

    • NumberField

      public NumberField(String fieldName)
  • 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