public class AccountQueryExtensions
extends java.lang.Object
Account| Constructor and Description |
|---|
AccountQueryExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static com.querydsl.core.types.dsl.NumberExpression<java.math.BigDecimal> |
balance(com.querydsl.core.types.EntityPath<Account> account)
Returns the current balance expression for a given account
|
static com.querydsl.core.types.dsl.NumberExpression<java.math.BigDecimal> |
balance(com.querydsl.core.types.EntityPath<Account> account,
com.querydsl.core.types.Expression<java.util.Date> date)
Returns the balance expression for a given account at the given date
|
static com.querydsl.core.types.dsl.NumberExpression<java.math.BigDecimal> |
balanceSum(com.querydsl.core.types.EntityPath<Account> account,
com.querydsl.core.types.Expression<java.math.BigDecimal> balanceDiff,
com.querydsl.core.types.Expression<java.lang.String> timePoints,
com.querydsl.core.types.Expression<java.lang.Boolean> positive,
com.querydsl.core.types.Expression<java.math.BigDecimal> freebase)
Returns the balance sum for the account, calculated per day, either over positive or negative balances, applying
the given freebase
|
@QueryDelegate(value=Account.class) public static com.querydsl.core.types.dsl.NumberExpression<java.math.BigDecimal> balance(com.querydsl.core.types.EntityPath<Account> account)
@QueryDelegate(value=Account.class) public static com.querydsl.core.types.dsl.NumberExpression<java.math.BigDecimal> balance(com.querydsl.core.types.EntityPath<Account> account, com.querydsl.core.types.Expression<java.util.Date> date)
@QueryDelegate(value=Account.class) public static com.querydsl.core.types.dsl.NumberExpression<java.math.BigDecimal> balanceSum(com.querydsl.core.types.EntityPath<Account> account, com.querydsl.core.types.Expression<java.math.BigDecimal> balanceDiff, com.querydsl.core.types.Expression<java.lang.String> timePoints, com.querydsl.core.types.Expression<java.lang.Boolean> positive, com.querydsl.core.types.Expression<java.math.BigDecimal> freebase)