Class AccountQueryExtensions
- java.lang.Object
-
- org.cyclos.entities.utils.queryextensions.AccountQueryExtensions
-
-
Constructor Summary
Constructors Constructor Description AccountQueryExtensions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.querydsl.core.types.dsl.NumberExpression<BigDecimal>balance(com.querydsl.core.types.EntityPath<Account> account)Returns the current balance expression for a given accountstatic com.querydsl.core.types.dsl.NumberExpression<BigDecimal>balance(com.querydsl.core.types.EntityPath<Account> account, com.querydsl.core.types.Expression<Date> date)Returns the balance expression for a given account at the given datestatic com.querydsl.core.types.dsl.NumberExpression<BigDecimal>balanceSum(com.querydsl.core.types.EntityPath<Account> account, com.querydsl.core.types.Expression<BigDecimal> balanceDiff, com.querydsl.core.types.Expression<String> timePoints, com.querydsl.core.types.Expression<Boolean> positive, com.querydsl.core.types.Expression<BigDecimal> freebase)Returns the balance sum for the account, calculated per day, either over positive or negative balances, applying the given freebase
-
-
-
Method Detail
-
balance
@QueryDelegate(Account.class) public static com.querydsl.core.types.dsl.NumberExpression<BigDecimal> balance(com.querydsl.core.types.EntityPath<Account> account)
Returns the current balance expression for a given account
-
balance
@QueryDelegate(Account.class) public static com.querydsl.core.types.dsl.NumberExpression<BigDecimal> balance(com.querydsl.core.types.EntityPath<Account> account, com.querydsl.core.types.Expression<Date> date)
Returns the balance expression for a given account at the given date
-
balanceSum
@QueryDelegate(Account.class) public static com.querydsl.core.types.dsl.NumberExpression<BigDecimal> balanceSum(com.querydsl.core.types.EntityPath<Account> account, com.querydsl.core.types.Expression<BigDecimal> balanceDiff, com.querydsl.core.types.Expression<String> timePoints, com.querydsl.core.types.Expression<Boolean> positive, com.querydsl.core.types.Expression<BigDecimal> freebase)
Returns the balance sum for the account, calculated per day, either over positive or negative balances, applying the given freebase
-
-