Class NumberPropertyBase

All Implemented Interfaces:
JsonpSerializable
Direct Known Subclasses:
ByteNumberProperty, DoubleNumberProperty, FloatNumberProperty, HalfFloatNumberProperty, IntegerNumberProperty, LongNumberProperty, ScaledFloatNumberProperty, ShortNumberProperty, UnsignedLongNumberProperty

public abstract class NumberPropertyBase extends DocValuesPropertyBase
See Also:
  • Constructor Details

  • Method Details

    • boost

      @Nullable public final Double boost()
      API name: boost
    • coerce

      @Nullable public final Boolean coerce()
      API name: coerce
    • ignoreMalformed

      @Nullable public final Boolean ignoreMalformed()
      API name: ignore_malformed
    • index

      @Nullable public final Boolean index()
      API name: index
    • onScriptError

      @Nullable public final OnScriptError onScriptError()
      API name: on_script_error
    • script

      @Nullable public final Script script()
      API name: script
    • timeSeriesMetric

      @Nullable public final TimeSeriesMetricType timeSeriesMetric()
      For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.

      API name: time_series_metric

    • timeSeriesDimension

      @Nullable public final Boolean timeSeriesDimension()
      For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.

      API name: time_series_dimension

    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Overrides:
      serializeInternal in class DocValuesPropertyBase
    • setupNumberPropertyBaseDeserializer

      protected static <BuilderT extends NumberPropertyBase.AbstractBuilder<BuilderT>> void setupNumberPropertyBaseDeserializer(ObjectDeserializer<BuilderT> op)