Class AggregationSimulator

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final KClass<out A> expression
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract KClass<out A> getExpression()
      Function1<DataRow, T> simulateExpression(A expression) Provides a Kotlin simulation of the given Expression to be applied to a DataRow.
      • Methods inherited from class rocks.frieler.kraftsql.testing.engine.ExpressionSimulator

        simulateAggregation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AggregationSimulator

        AggregationSimulator(String aggregationSQL)
    • Method Detail

      • simulateExpression

         Function1<DataRow, T> simulateExpression(A expression)

        Provides a Kotlin simulation of the given Expression to be applied to a DataRow.

        Returns:

        a function that simulates the Expression