Interface TemplateExpression<T>

Type Parameters:
T - expression type
All Superinterfaces:
Expression<T>, Serializable
All Known Implementing Classes:
BooleanTemplate, ComparableTemplate, DateTemplate, DateTimeTemplate, DslTemplate, EnumTemplate, NullExpression, NumberTemplate, PredicateTemplate, SimpleTemplate, StringTemplate, TemplateExpressionImpl, TimeTemplate

public interface TemplateExpression<T> extends Expression<T>
TemplateExpression provides base types for custom expressions with integrated serialization templates
Author:
tiwe
  • Method Summary

    Modifier and Type
    Method
    Description
    getArg(int index)
    Get the argument with the given index
    List<?>
    Get the arguments of the custom expression
    Get the serialization template for this custom expression

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

    accept, getType
  • Method Details

    • getArg

      Object getArg(int index)
      Get the argument with the given index
      Parameters:
      index - zero based index of element
      Returns:
      element at index
    • getArgs

      List<?> getArgs()
      Get the arguments of the custom expression
      Returns:
      expression argument
    • getTemplate

      Template getTemplate()
      Get the serialization template for this custom expression
      Returns:
      template