Class CassandraOperationEvaluator
java.lang.Object
org.evomaster.client.java.controller.cassandra.calculator.CassandraOperationEvaluator
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.evomaster.client.java.distance.heuristics.Truthnessevaluate(CqlQueryOperation op, CassandraRow candidateRow) Recursively evaluates aCqlQueryOperationagainst 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).
-
Constructor Details
-
CassandraOperationEvaluator
public CassandraOperationEvaluator()
-
-
Method Details
-
evaluate
public org.evomaster.client.java.distance.heuristics.Truthness evaluate(CqlQueryOperation op, CassandraRow candidateRow) Recursively evaluates aCqlQueryOperationagainst 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). ReturnsFALSE_TRUTHNESSfor operation types that are not recognised/supported.
-