Class AggregateDataEnvelope

java.lang.Object
org.h2.expression.aggregate.AggregateData
org.h2.expression.aggregate.AggregateDataEnvelope

final class AggregateDataEnvelope extends AggregateData
Data stored while calculating an aggregate.
  • Field Details

    • envelope

      private double[] envelope
  • Constructor Details

    • AggregateDataEnvelope

      AggregateDataEnvelope()
  • Method Details

    • getGeometryColumnIndex

      static Index getGeometryColumnIndex(Expression on)
      Get the index (if any) for the column specified in the geometry aggregate.
      Parameters:
      on - the expression (usually a column expression)
      Returns:
      the index, or null
    • add

      void add(SessionLocal session, Value v)
      Description copied from class: AggregateData
      Add a value to this aggregate.
      Specified by:
      add in class AggregateData
      Parameters:
      session - the session
      v - the value
    • getValue

      Value getValue(SessionLocal session)
      Description copied from class: AggregateData
      Get the aggregate result.
      Specified by:
      getValue in class AggregateData
      Parameters:
      session - the session
      Returns:
      the value