Class DoubleFieldMapping

java.lang.Object
com.atlassian.confluence.plugins.index.api.mapping.AbstractFieldMapping
com.atlassian.confluence.plugins.index.api.mapping.DoubleFieldMapping
All Implemented Interfaces:
FieldMapping

public class DoubleFieldMapping extends AbstractFieldMapping
Field mapping for double-precision floating point numbers
Since:
8.6
  • Constructor Details

  • Method Details

    • createField

      public FieldDescriptor createField(double value)
      Create a field for the current mapping with the given value
      Parameters:
      value -
      Returns:
      the newly created field
    • builder

      public static DoubleFieldMapping.Builder builder(String name)
    • accept

      public <T> T accept(FieldMappingVisitor<T> visitor)
      Description copied from interface: FieldMapping
      Applies the supplied visitor to this field mapping with its respective callback.
      Parameters:
      visitor - The visitor to dispatch
      Returns:
      The value that is returned by the supplied visitor