public interface

OperandVisitor

com.atlassian.query.operand.OperandVisitor<R>
Known Indirect Subclasses

Class Overview

A visitor that the caller to perform operations on Operands.

Summary

Public Methods
R visit(SingleValueOperand singleValueOperand)
The method called when visiting an SingleValueOperand.
R visit(FunctionOperand function)
The method called when visiting a FunctionOperand.
R visit(MultiValueOperand multiValue)
The method called when visiting an MultiValueOperand.
R visit(EmptyOperand empty)
The method called when visiting an EmptyOperand.

Public Methods

public R visit (SingleValueOperand singleValueOperand)

The method called when visiting an SingleValueOperand.

Parameters
singleValueOperand the operand being visited.
Returns
  • the value to return from the operand visit.

public R visit (FunctionOperand function)

The method called when visiting a FunctionOperand.

Parameters
function the operand being visited.
Returns
  • the value to return from the operand visit.

public R visit (MultiValueOperand multiValue)

The method called when visiting an MultiValueOperand.

Parameters
multiValue the operand being visited.
Returns
  • the value to return from the operand visit.

public R visit (EmptyOperand empty)

The method called when visiting an EmptyOperand.

Parameters
empty the operand being visited.
Returns
  • the value to return from the operand visit.