Class SimplifyTask

  • All Implemented Interfaces:
    java.lang.Comparable<SimplifyTask>

    class SimplifyTask
    extends java.lang.Object
    implements java.lang.Comparable<SimplifyTask>
    Tracks rex nodes used in RexProgramFuzzyTest to identify the ones which take most time to simplify.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long duration  
      org.apache.calcite.rex.RexNode node  
      org.apache.calcite.rex.RexNode result  
      long seed  
    • Constructor Summary

      Constructors 
      Constructor Description
      SimplifyTask​(org.apache.calcite.rex.RexNode node, long seed, org.apache.calcite.rex.RexNode result, long duration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(SimplifyTask o)  
      • Methods inherited from class java.lang.Object

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

      • node

        public final org.apache.calcite.rex.RexNode node
      • seed

        public final long seed
      • result

        public final org.apache.calcite.rex.RexNode result
      • duration

        public final long duration
    • Constructor Detail

      • SimplifyTask

        SimplifyTask​(org.apache.calcite.rex.RexNode node,
                     long seed,
                     org.apache.calcite.rex.RexNode result,
                     long duration)
    • Method Detail

      • compareTo

        public int compareTo​(SimplifyTask o)
        Specified by:
        compareTo in interface java.lang.Comparable<SimplifyTask>