Interface Operation<T>

Type Parameters:
T - expression type
All Superinterfaces:
Expression<T>, Serializable
All Known Implementing Classes:
BooleanOperation, ComparableOperation, DateOperation, DateTimeOperation, DslOperation, EnumOperation, NumberOperation, OperationImpl, PredicateOperation, SimpleOperation, StringOperation, TimeOperation

public interface Operation<T> extends Expression<T>
Operation represents an operation with operator and arguments
Author:
tiwe
  • Method Summary

    Modifier and Type
    Method
    Description
    getArg(int index)
    Get the argument with the given index
    @Unmodifiable List<Expression<?>>
    Get the arguments of this operation
    Get the operator symbol for this operation

    Methods inherited from interface com.querydsl.core.types.Expression

    accept, getType
  • Method Details

    • getArg

      Expression<?> getArg(int index)
      Get the argument with the given index
      Parameters:
      index - zero based index of expression
      Returns:
      expression at index
    • getArgs

      @Unmodifiable List<Expression<?>> getArgs()
      Get the arguments of this operation
      Returns:
      arguments
    • getOperator

      Operator getOperator()
      Get the operator symbol for this operation
      Returns:
      operator