Module litebridge.orm
Package org.litebridge.orm.expression
Class AbstractTODelegateExpressionSpec<T>
java.lang.Object
org.litebridge.orm.expression.AbstractAliasable
org.litebridge.orm.expression.AbstractColumnExpressionSpec
org.litebridge.orm.expression.AbstractTODelegateExpressionSpec<T>
- All Implemented Interfaces:
Aliasable,ColumnExpressionSpec,DelegateExpressionSpec,ExpressionSpec,TypeOverride<T>,TypeOverrideExpressionSpec<T>
- Direct Known Subclasses:
AvgSpec,MaxSpec,MinSpec,NumberTODelegateExpressionSpec
public abstract sealed class AbstractTODelegateExpressionSpec<T>
extends AbstractColumnExpressionSpec
implements DelegateExpressionSpec, TypeOverrideExpressionSpec<T>
permits NumberTODelegateExpressionSpec, AvgSpec<T>, MaxSpec<T>, MinSpec<T>
-
Field Summary
FieldsFields inherited from class org.litebridge.orm.expression.AbstractColumnExpressionSpec
tableAliasFields inherited from class org.litebridge.orm.expression.AbstractAliasable
alias -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTODelegateExpressionSpec(ColumnExpressionSpec target, Class<T> returnType) Creates a newAbstractTODelegateExpressionSpecinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()Gets the return type override of the query result.voidsetTableAlias(@Nullable String tableAlias) target()Gets the target nested expression.toString()Methods inherited from class org.litebridge.orm.expression.AbstractColumnExpressionSpec
as, getTableAliasMethods inherited from class org.litebridge.orm.expression.AbstractAliasable
getAlias, setAliasMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.litebridge.orm.expression.ColumnExpressionSpec
getTableAliasMethods inherited from interface org.litebridge.orm.expression.DelegateExpressionSpec
getColumn, setColumn
-
Field Details
-
target
-
returnType
-
-
Constructor Details
-
AbstractTODelegateExpressionSpec
Creates a newAbstractTODelegateExpressionSpecinstance.- Parameters:
target- The target nested expressionreturnType- The return type of the expression result.
-
-
Method Details
-
target
Description copied from interface:DelegateExpressionSpecGets the target nested expression.- Specified by:
targetin interfaceDelegateExpressionSpec- Returns:
- the target nested expression.
-
setTableAlias
- Specified by:
setTableAliasin interfaceColumnExpressionSpec- Overrides:
setTableAliasin classAbstractColumnExpressionSpec
-
returnType
Description copied from interface:TypeOverrideGets the return type override of the query result.- Specified by:
returnTypein interfaceTypeOverride<T>- Returns:
- the type of the result.
-
equals
- Overrides:
equalsin classAbstractAliasable
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAliasable
-
toString
-