Package com.querydsl.core.types.dsl
Class DslTemplate<T>
java.lang.Object
com.querydsl.core.types.dsl.DslExpression<T>
com.querydsl.core.types.dsl.DslTemplate<T>
- Type Parameters:
T- expression type
- All Implemented Interfaces:
Expression<T>,TemplateExpression<T>,Serializable
DslTemplate defines custom simple expressions- Author:
- tiwe
- See Also:
-
Field Summary
Fields inherited from class com.querydsl.core.types.dsl.DslExpression
hashCode, mixin -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDslTemplate(Class<? extends T> type, Template template, List<?> args) -
Method Summary
Methods inherited from class com.querydsl.core.types.dsl.DslExpression
as, as, equals, getType, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.querydsl.core.types.Expression
getType
-
Constructor Details
-
DslTemplate
-
-
Method Details
-
accept
Description copied from interface:ExpressionAccept the visitor with the given context- Specified by:
acceptin interfaceExpression<T>- Type Parameters:
R- return typeC- context type- Parameters:
v- visitorcontext- context of visit- Returns:
- result of visit
-
getArg
Description copied from interface:TemplateExpressionGet the argument with the given index- Specified by:
getArgin interfaceTemplateExpression<T>- Parameters:
index- zero based index of element- Returns:
- element at index
-
getArgs
Description copied from interface:TemplateExpressionGet the arguments of the custom expression- Specified by:
getArgsin interfaceTemplateExpression<T>- Returns:
- expression argument
-
getTemplate
Description copied from interface:TemplateExpressionGet the serialization template for this custom expression- Specified by:
getTemplatein interfaceTemplateExpression<T>- Returns:
- template
-