Visits a comparison and returns a VectaraComparisonResult. The
comparison's value is checked for type and the comparator is formatted.
Throws an error if the value type is not supported.
Parameters
comparison: Comparison
The comparison to visit.
Returns String
A VectaraComparisonResult.
visitOperation
visitOperation(operation): String
Visits an operation and returns a VectaraOperationResult. The
operation's arguments are visited and the operator is formatted.
Parameters
operation: Operation
The operation to visit.
Returns String
A VectaraOperationResult.
visitStructuredQuery
visitStructuredQuery(query): unknown
Visits a structured query and returns a VectaraStructuredQueryResult.
If the query has a filter, it is visited.
Visits a comparison and returns a VectaraComparisonResult. The comparison's value is checked for type and the comparator is formatted. Throws an error if the value type is not supported.