Uses of Class
com.mysema.query.types.expr.NumberExpression

Packages that use NumberExpression
com.mysema.query.jpa Query implementations for HQL and JPAQL 
com.mysema.query.sql.mssql SQL Server support 
com.mysema.query.sql.oracle Oracle support for Querydsl SQL 
com.mysema.query.support Various support classes 
com.mysema.query.types.expr Operations represent typed operations with operator and arguments 
com.mysema.query.types.path Paths represent typed property paths, variables and list-map-array access 
com.mysema.query.types.query Subquery implementations 
com.mysema.query.types.template Custom types are comparable to operations but contain the serialization templates instead of operator patterns. 
 

Uses of NumberExpression in com.mysema.query.jpa
 

Methods in com.mysema.query.jpa that return NumberExpression
static
<D extends Number & Comparable<? super D>>
NumberExpression<?>
JPQLGrammar.sum(Expression<D> left)
          SUM returns Long when applied to state-fields of integral types (other than BigInteger); Double when applied to state-fields of floating point types; BigInteger when applied to state-fields of type BigInteger; and BigDecimal when applied to state-fields of type BigDecimal.
static
<D extends Number & Comparable<? super D>>
NumberExpression<Double>
JPQLGrammar.sumAsDouble(Expression<D> left)
           
static
<D extends Number & Comparable<? super D>>
NumberExpression<Long>
JPQLGrammar.sumAsLong(Expression<D> left)
           
 

Uses of NumberExpression in com.mysema.query.sql.mssql
 

Fields in com.mysema.query.sql.mssql declared as NumberExpression
static NumberExpression<Long> SQLServerGrammar.rowNumber
           
 

Methods in com.mysema.query.sql.mssql that return NumberExpression
static
<D> NumberExpression<Integer>
SQLServerGrammar.datediff(DatePart datePart, D start, D end)
           
 NumberExpression<Long> RowNumber.getValue()
           
 

Uses of NumberExpression in com.mysema.query.sql.oracle
 

Fields in com.mysema.query.sql.oracle declared as NumberExpression
static NumberExpression<Integer> OracleGrammar.level
           
static NumberExpression<Integer> OracleGrammar.rownum
           
 

Methods in com.mysema.query.sql.oracle that return NumberExpression
 NumberExpression<A> SumOver.getValue()
           
 

Uses of NumberExpression in com.mysema.query.support
 

Methods in com.mysema.query.support that return NumberExpression
static
<T extends Number & Comparable<?>>
NumberExpression<T>
Expressions.numberOperation(Class<T> type, Operator<? super T> operator, Expression<?>... args)
           
static
<T extends Number & Comparable<?>>
NumberExpression<T>
Expressions.numberTemplate(Class<T> cl, String template, Expression<?>... args)
           
 

Methods in com.mysema.query.support with parameters of type NumberExpression
<RT extends Number & Comparable<?>>
NumberSubQuery<RT>
DetachableQuery.unique(NumberExpression<RT> projection)
           
<RT extends Number & Comparable<?>>
NumberSubQuery<RT>
DetachableAdapter.unique(NumberExpression<RT> projection)
           
<RT extends Number & Comparable<?>>
NumberSubQuery<RT>
DetachableMixin.unique(NumberExpression<RT> projection)
           
 

Uses of NumberExpression in com.mysema.query.types.expr
 

Subclasses of NumberExpression in com.mysema.query.types.expr
 class NumberOperation<T extends Number & Comparable<?>>
          NumberOperation represents numeric operations
 

Fields in com.mysema.query.types.expr declared as NumberExpression
static NumberExpression<Long> Wildcard.count
           
static NumberExpression<Integer> Wildcard.countAsInt
           
 

Methods in com.mysema.query.types.expr that return NumberExpression
 NumberExpression<T> NumberExpression.abs()
          Get the absolute value of this expression
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.acos(Expression<A> num)
           
<N extends Number & Comparable<?>>
NumberExpression<T>
NumberExpression.add(Expression<N> right)
          Get the sum of this and right
<N extends Number & Comparable<N>>
NumberExpression<T>
NumberExpression.add(N right)
          Get the sum of this and right
 NumberExpression<T> NumberExpression.as(Path<T> alias)
           
 NumberExpression<T> NumberExpression.as(String alias)
           
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.asin(Expression<A> num)
           
 NumberExpression<?> Coalesce.asNumber()
           
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.atan(Expression<A> num)
           
 NumberExpression<Double> NumberExpression.avg()
          Get the average value of this expression (aggregation)
 NumberExpression<Byte> NumberExpression.byteValue()
          Get the byte expression of this numeric expression
<A extends Number & Comparable<? super A>>
NumberExpression<A>
ComparableExpressionBase.castToNum(Class<A> type)
          Create a cast expression to the given numeric type
<A extends Number & Comparable<? super A>>
NumberExpression<A>
NumberExpression.castToNum(Class<A> type)
           
 NumberExpression<T> NumberExpression.ceil()
          Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.cos(Expression<A> num)
           
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.cosh(Expression<A> num)
           
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.cot(Expression<A> num)
           
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.coth(Expression<A> num)
           
 NumberExpression<Long> SimpleExpression.count()
          Get the count(this) expression
 NumberExpression<Long> SimpleExpression.countDistinct()
          Get the count(distinct this) expression
static
<D extends Number & Comparable<?>>
NumberExpression<D>
NumberOperation.create(Class<? extends D> type, Operator<? super D> op, Expression<?>... args)
          Factory method
 NumberExpression<Integer> DateTimeExpression.dayOfMonth()
          Get a day of month expression (range 1-31)
 NumberExpression<Integer> DateExpression.dayOfMonth()
          Get a day of month expression (range 1-31)
 NumberExpression<Integer> DateTimeExpression.dayOfWeek()
          Get a day of week expression (range 1-7 / SUN-SAT)
 NumberExpression<Integer> DateExpression.dayOfWeek()
          Get a day of week expression (range 1-7 / SUN-SAT)
 NumberExpression<Integer> DateTimeExpression.dayOfYear()
          Get a day of year expression (range 1-356)
 NumberExpression<Integer> DateExpression.dayOfYear()
          Get a day of year expression (range 1-356)
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.degrees(Expression<A> num)
           
<N extends Number & Comparable<?>>
NumberExpression<Double>
NumberExpression.divide(Expression<N> right)
          Get the result of the operation this / right
<N extends Number & Comparable<?>>
NumberExpression<Double>
NumberExpression.divide(N right)
          Get the result of the operation this / right
 NumberExpression<Double> NumberExpression.doubleValue()
          Get the double expression of this numeric expression
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.exp(Expression<A> num)
           
 NumberExpression<Float> NumberExpression.floatValue()
          Get the float expression of this numeric expression
 NumberExpression<T> NumberExpression.floor()
          Returns the largest (closest to positive infinity) double value that is less than or equal to the argument and is equal to a mathematical integer.
 NumberExpression<Integer> DateTimeExpression.hour()
          Get a hours expression (range 0-23)
 NumberExpression<Integer> TimeExpression.hour()
          Get a hours expression (range 0-23)
 NumberExpression<Integer> StringExpression.indexOf(Expression<String> str)
          Get the index of the given substring in this String
 NumberExpression<Integer> StringExpression.indexOf(Expression<String> str, int i)
          Get the index of the given substring in this String, starting from the given index
 NumberExpression<Integer> StringExpression.indexOf(String str)
          Get the index of the given substring in this String
 NumberExpression<Integer> StringExpression.indexOf(String str, int i)
          Get the index of the given substring in this String, starting from the given index
 NumberExpression<Integer> NumberExpression.intValue()
          Get the int expression of this numeric expression
 NumberExpression<Integer> StringExpression.length()
          Return the length of this String
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.ln(Expression<A> num)
           
 NumberExpression<Integer> StringExpression.locate(Expression<String> str)
          Get the position of the given String in this String, the first position is 1
 NumberExpression<Integer> StringExpression.locate(Expression<String> str, NumberExpression<Integer> start)
          Get the position of the given String in this String, the first position is 1
 NumberExpression<Integer> StringExpression.locate(String str)
          Get the position of the given String in this String, the first position is 1
 NumberExpression<Integer> StringExpression.locate(String str, int start)
          Get the position of the given String in this String, the first position is 1
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.log(Expression<A> num, int base)
           
 NumberExpression<Long> NumberExpression.longValue()
          Get the long expression of this numeric expression
 NumberExpression<T> NumberExpression.max()
          Get the maximum value of this expression (aggregation)
static
<A extends Number & Comparable<?>>
NumberExpression<A>
MathExpressions.max(Expression<A> left, Expression<A> right)
          Return the greater of the given values
static
<A extends Number & Comparable<?>>
NumberExpression<A>
NumberExpression.max(Expression<A> left, Expression<A> right)
          Return the greater of the given values
 NumberExpression<Integer> DateTimeExpression.milliSecond()
          Get a milliseconds expression (range 0-999)
 NumberExpression<Integer> TimeExpression.milliSecond()
          Get a milliseconds expression (range 0-999)
 NumberExpression<T> NumberExpression.min()
          Get the minimum value of this expression (aggregation)
static
<A extends Number & Comparable<?>>
NumberExpression<A>
MathExpressions.min(Expression<A> left, Expression<A> right)
          Return the smaller of the given values
static
<A extends Number & Comparable<?>>
NumberExpression<A>
NumberExpression.min(Expression<A> left, Expression<A> right)
          Return the smaller of the given values
 NumberExpression<Integer> DateTimeExpression.minute()
          Get a minutes expression (range 0-59)
 NumberExpression<Integer> TimeExpression.minute()
          Get a minutes expression (range 0-59)
 NumberExpression<T> NumberExpression.mod(Expression<T> num)
           
 NumberExpression<T> NumberExpression.mod(T num)
           
 NumberExpression<Integer> DateTimeExpression.month()
          Get a month expression (range 1-12 / JAN-DEC)
 NumberExpression<Integer> DateExpression.month()
          Get a month expression (range 1-12 / JAN-DEC)
<N extends Number & Comparable<?>>
NumberExpression<T>
NumberExpression.multiply(Expression<N> right)
          Get the result of the operation this * right
<N extends Number & Comparable<N>>
NumberExpression<T>
NumberExpression.multiply(N right)
          Get the result of the operation this * right
 NumberExpression<T> NumberOperation.negate()
           
 NumberExpression<T> NumberExpression.negate()
          Get the negation of this expression
 NumberExpression<Integer> EnumExpression.ordinal()
           
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.power(Expression<A> num, int exponent)
           
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.radians(Expression<A> num)
           
static NumberExpression<Double> MathExpressions.random()
          Returns the random expression
static NumberExpression<Double> NumberExpression.random()
          Returns the random expression
 NumberExpression<Integer> NumberExpression.round()
          Returns the closest int to the argument.
 NumberExpression<Integer> DateTimeExpression.second()
          Get a seconds expression (range 0-59)
 NumberExpression<Integer> TimeExpression.second()
          Get a seconds expression (range 0-59)
 NumberExpression<Short> NumberExpression.shortValue()
          Get the short expression of this numeric expression
static
<A extends Number & Comparable<?>>
NumberExpression<Integer>
MathExpressions.sign(Expression<A> num)
           
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.sin(Expression<A> num)
           
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.sinh(Expression<A> num)
           
 NumberExpression<Integer> CollectionExpressionBase.size()
           
 NumberExpression<Integer> MapExpressionBase.size()
           
 NumberExpression<Integer> ArrayExpression.size()
          Get the size of the array
 NumberExpression<Double> NumberExpression.sqrt()
          Get the square root of this numeric expressions
<N extends Number & Comparable<?>>
NumberExpression<T>
NumberExpression.subtract(Expression<N> right)
          Get the difference of this and right
<N extends Number & Comparable<?>>
NumberExpression<T>
NumberExpression.subtract(N right)
          Get the difference of this and right
 NumberExpression<T> NumberExpression.sum()
          Get the sum of this expression (aggregation)
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.tan(Expression<A> num)
           
static
<A extends Number & Comparable<?>>
NumberExpression<Double>
MathExpressions.tanh(Expression<A> num)
           
 NumberExpression<Integer> DateTimeExpression.week()
          Get a week expression
 NumberExpression<Integer> DateExpression.week()
          Get a week expression
 NumberExpression<Integer> DateTimeExpression.year()
          Get a year expression
 NumberExpression<Integer> DateExpression.year()
          Get a year expression
 NumberExpression<Integer> DateTimeExpression.yearMonth()
          Get a year / month expression
 NumberExpression<Integer> DateExpression.yearMonth()
          Get a year / month expression
 

Methods in com.mysema.query.types.expr that return types with arguments of type NumberExpression
<A extends Number & Comparable<?>>
CaseBuilder.Cases<A,NumberExpression<A>>
CaseBuilder.Initial.then(A num)
           
<A extends Number & Comparable<?>>
CaseBuilder.Cases<A,NumberExpression<A>>
CaseBuilder.Initial.then(NumberExpression<A> expr)
           
<T extends Number & Comparable<?>>
CaseForEqBuilder.Cases<T,NumberExpression<T>>
CaseForEqBuilder.then(NumberExpression<T> then)
           
<T extends Number & Comparable<?>>
CaseForEqBuilder.Cases<T,NumberExpression<T>>
CaseForEqBuilder.then(T then)
           
<T extends Number & Comparable<?>>
CaseForEqBuilder.Cases<T,NumberExpression<T>>
CaseForEqBuilder.thenNumber(Expression<T> then)
           
 

Methods in com.mysema.query.types.expr with parameters of type NumberExpression
 NumberExpression<Integer> StringExpression.locate(Expression<String> str, NumberExpression<Integer> start)
          Get the position of the given String in this String, the first position is 1
static StringExpression StringExpressions.lpad(Expression<String> in, NumberExpression<Integer> length, char c)
           
static StringExpression StringExpressions.rpad(Expression<String> in, NumberExpression<Integer> length, char c)
           
<A extends Number & Comparable<?>>
CaseBuilder.Cases<A,NumberExpression<A>>
CaseBuilder.Initial.then(NumberExpression<A> expr)
           
<T extends Number & Comparable<?>>
CaseForEqBuilder.Cases<T,NumberExpression<T>>
CaseForEqBuilder.then(NumberExpression<T> then)
           
 

Uses of NumberExpression in com.mysema.query.types.path
 

Subclasses of NumberExpression in com.mysema.query.types.path
 class NumberPath<T extends Number & Comparable<?>>
          NumberPath represents numeric paths
 

Methods in com.mysema.query.types.path that return NumberExpression
 NumberExpression<Integer> ArrayPath.size()
          Create an expression for the array size
 

Uses of NumberExpression in com.mysema.query.types.query
 

Subclasses of NumberExpression in com.mysema.query.types.query
 class NumberSubQuery<T extends Number & Comparable<?>>
          Number typed single result subquery
 

Methods in com.mysema.query.types.query that return NumberExpression
 NumberExpression<Long> ListSubQuery.count()
           
 NumberExpression<Long> ListSubQuery.countDistinct()
           
 

Methods in com.mysema.query.types.query with parameters of type NumberExpression
<RT extends Number & Comparable<?>>
NumberSubQuery<RT>
Detachable.unique(NumberExpression<RT> projection)
          Create a subquery expression for the given projection
 

Uses of NumberExpression in com.mysema.query.types.template
 

Subclasses of NumberExpression in com.mysema.query.types.template
 class NumberTemplate<T extends Number & Comparable<?>>
          NumberTemplate defines custom numeric expressions
 

Fields in com.mysema.query.types.template declared as NumberExpression
static NumberExpression<Integer> NumberTemplate.ONE
           
static NumberExpression<Integer> NumberTemplate.THREE
           
static NumberExpression<Integer> NumberTemplate.TWO
           
static NumberExpression<Integer> NumberTemplate.ZERO
           
 

Methods in com.mysema.query.types.template that return NumberExpression
static
<T extends Number & Comparable<?>>
NumberExpression<T>
NumberTemplate.create(Class<T> type, String template, Expression<?>... args)
           
static
<T extends Number & Comparable<?>>
NumberExpression<T>
NumberTemplate.create(Class<T> type, Template template, Expression<?>... args)
           
 



Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.