Interface QueryOperand

All Known Implementing Classes:
QueryOperand.Param, QueryOperand.Prop

public interface QueryOperand
An interface representing an operand in a database query.

This interface provides a way to represent different types of operands that can be used in database queries, such as parameters and property references. It follows the visitor pattern to allow operations on these operands without modifying their structure.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A parameter operand that contains both a property type and an input parameter.
    static final class 
    A property operand that references an entity property.
    static interface 
    A visitor interface for QueryOperand implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Accepts a visitor to perform operations on this operand.
    Returns the entity property type associated with this operand.
  • Method Details

    • getEntityPropertyType

      EntityPropertyType<?,?> getEntityPropertyType()
      Returns the entity property type associated with this operand.
      Returns:
      the entity property type
    • accept

      void accept(QueryOperand.Visitor visitor)
      Accepts a visitor to perform operations on this operand.
      Parameters:
      visitor - the visitor to accept