Interface DatabaseMeasureBuilder.DatabaseMeasureComputation<C>

Type Parameters:
C - the type the the database context
All Superinterfaces:
Serializable
Enclosing interface:
DatabaseMeasureBuilder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DatabaseMeasureBuilder.DatabaseMeasureComputation<C> extends Serializable
A combining function.
Author:
ActiveViam
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(IArrayReader values, IWritableCell result, C databaseContext, IQueryCache cache)
    Maps the given values and writes it into the given result cell.
  • Method Details

    • apply

      void apply(IArrayReader values, IWritableCell result, C databaseContext, IQueryCache cache)
      Maps the given values and writes it into the given result cell.
      Parameters:
      values - the values of the underlying measures
      result - the cell where to write the result
      databaseContext - the context created from the IDatabaseVersion
      cache - an object to cache results within a query