Class CassandraOperationEvaluator

java.lang.Object
org.evomaster.client.java.controller.cassandra.calculator.CassandraOperationEvaluator

public class CassandraOperationEvaluator extends Object
Computes CQL-heuristics Truthness for a CqlQueryOperation against a candidate CassandraRow, i.e. how close the row comes to satisfying the query's WHERE-clause condition(s). Used to guide the search when EvoMaster generates data intended to make a given Cassandra query return non-empty results.
  • Constructor Details

    • CassandraOperationEvaluator

      public CassandraOperationEvaluator()
  • Method Details

    • evaluate

      public org.evomaster.client.java.distance.heuristics.Truthness evaluate(CqlQueryOperation op, CassandraRow candidateRow)
      Recursively evaluates a CqlQueryOperation against a row, dispatching to the appropriate comparison logic based on the operation's concrete type (AND, equals, greater/less-than variants, IN, CONTAINS, CONTAINS KEY). Returns FALSE_TRUTHNESS for operation types that are not recognised/supported.