Record Class AggregateMetricDoubleBlockBuilder.AggregateMetricDoubleLiteral

java.lang.Object
java.lang.Record
org.elasticsearch.compute.data.AggregateMetricDoubleBlockBuilder.AggregateMetricDoubleLiteral
All Implemented Interfaces:
Comparable<AggregateMetricDoubleBlockBuilder.AggregateMetricDoubleLiteral>, GenericNamedWriteable, NamedWriteable, VersionedNamedWriteable, Writeable
Enclosing class:
AggregateMetricDoubleBlockBuilder

public static record AggregateMetricDoubleBlockBuilder.AggregateMetricDoubleLiteral(Double min, Double max, Double sum, Integer count) extends Record implements GenericNamedWriteable, Comparable<AggregateMetricDoubleBlockBuilder.AggregateMetricDoubleLiteral>
Literal to represent AggregateMetricDouble and primarily used for testing and during folding. For all other purposes it is preferred to use the individual builders over the literal for generating blocks when possible.
  • Field Details

  • Constructor Details

    • AggregateMetricDoubleLiteral

      public AggregateMetricDoubleLiteral(Double min, Double max, Double sum, Integer count)
      Creates an instance of a AggregateMetricDoubleLiteral record class.
      Parameters:
      min - the value for the min record component
      max - the value for the max record component
      sum - the value for the sum record component
      count - the value for the count record component
    • AggregateMetricDoubleLiteral

      public AggregateMetricDoubleLiteral(StreamInput input) throws IOException
      Throws:
      IOException
  • Method Details