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

Packages that use ENumber
com.mysema.query.functions Optional function libraries 
com.mysema.query.hql Query implementations for HQL and JPAQL 
com.mysema.query.sql.oracle Oracle support for Querydsl SQL 
com.mysema.query.types Contains Querydsl grammar types 
com.mysema.query.types.custom Custom types are comparable to operations but contain the serialization templates instead of operator patterns. 
com.mysema.query.types.expr Expr encode the base type hierarchy and signatures of Querydsl expressions 
com.mysema.query.types.operation Operations represent typed operations with operator and arguments 
com.mysema.query.types.path Paths represent typed property paths, variables and list-map-array access 
 

Uses of ENumber in com.mysema.query.functions
 

Methods in com.mysema.query.functions that return ENumber
static ENumber<Double> MathFunctions.acos(Expr<Double> left)
           
static ENumber<Double> MathFunctions.asin(Expr<Double> left)
           
static ENumber<Double> MathFunctions.atan(Expr<Double> left)
           
static ENumber<Double> MathFunctions.cos(Expr<Double> left)
           
static ENumber<Double> MathFunctions.exp(Expr<Double> left)
           
static ENumber<Double> MathFunctions.log(Expr<Double> left)
           
static ENumber<Double> MathFunctions.log10(Expr<Double> left)
           
static ENumber<Double> MathFunctions.pow(Expr<Double> left, Expr<Double> right)
           
static ENumber<Double> MathFunctions.sin(Expr<Double> left)
           
static ENumber<Double> MathFunctions.tan(Expr<Double> left)
           
 

Uses of ENumber in com.mysema.query.hql
 

Methods in com.mysema.query.hql that return ENumber
static
<D extends Number & Comparable<? super D>>
ENumber<?>
HQLGrammar.sum(Expr<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>>
ENumber<Double>
HQLGrammar.sumAsDouble(Expr<D> left)
           
static
<D extends Number & Comparable<? super D>>
ENumber<Long>
HQLGrammar.sumAsLong(Expr<D> left)
           
 

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

Subclasses of ENumber in com.mysema.query.sql.oracle
 class SumOver<A extends Number & Comparable<? super A>>
          SumOver is a fluent type for Oracle specific sum over / partition by / order by constructs
 

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

Uses of ENumber in com.mysema.query.types
 

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

Methods in com.mysema.query.types with parameters of type ENumber
<A extends Number & Comparable<?>>
CaseBuilder.Cases<A,ENumber<A>>
CaseBuilder.Initial.then(ENumber<A> expr)
           
<T extends Number & Comparable<?>>
CaseForEqBuilder.Cases<T,ENumber<T>>
CaseForEqBuilder.then(ENumber<T> then)
           
 

Uses of ENumber in com.mysema.query.types.custom
 

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

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

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

Subclasses of ENumber in com.mysema.query.types.expr
 class ENumberConst<D extends Number & Comparable<?>>
          ENumberConst represents numeric constants
 

Methods in com.mysema.query.types.expr that return ENumber
 ENumber<D> ENumber.abs()
          Get the absolute value of this expression
<N extends Number & Comparable<?>>
ENumber<D>
ENumberConst.add(Expr<N> right)
           
<N extends Number & Comparable<?>>
ENumber<D>
ENumber.add(Expr<N> right)
          Get the sum of this and right
<N extends Number & Comparable<N>>
ENumber<D>
ENumber.add(N right)
          Get the sum of this and right
 ENumber<D> ENumberConst.add(Number right)
           
 ENumber<Double> ENumber.avg()
          Get the average value of this expression (aggregation)
 ENumber<Byte> ENumberConst.byteValue()
           
 ENumber<Byte> ENumber.byteValue()
          Get the byte expression of this numeric expression
<A extends Number & Comparable<? super A>>
ENumber<A>
ENumber.castToNum(Class<A> type)
           
<A extends Number & Comparable<? super A>>
ENumber<A>
EComparableBase.castToNum(Class<A> type)
          Create a cast expression to the given numeric type
 ENumber<D> ENumber.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
 ENumber<Long> Expr.count()
          Get the count(this) expression
static ENumber<Long> Expr.countAll()
          Get the count(*) expression
 ENumber<Long> Expr.countDistinct()
          Get the count(distinct this) expression
static ENumber<Byte> ENumberConst.create(byte i)
           
static ENumber<Integer> ENumberConst.create(int i)
           
static ENumber<Long> ENumberConst.create(long i)
           
static ENumber<Short> ENumberConst.create(short i)
           
static
<T extends Number & Comparable<?>>
ENumber<T>
ENumberConst.create(T val)
          Factory method
 ENumber<Integer> EDateTimeConst.dayOfMonth()
           
 ENumber<Integer> EDateTime.dayOfMonth()
          Get a day of month expression (range 1-31)
 ENumber<Integer> EDateConst.dayOfMonth()
           
 ENumber<Integer> EDate.dayOfMonth()
          Get a day of month expression (range 1-31)
 ENumber<Integer> EDateTimeConst.dayOfWeek()
           
 ENumber<Integer> EDateTime.dayOfWeek()
          Get a day of week expression (range 1-7 / SUN-SAT) NOT supported in JDOQL and not in Derby
 ENumber<Integer> EDateConst.dayOfWeek()
           
 ENumber<Integer> EDate.dayOfWeek()
          Get a day of week expression (range 1-7 / SUN-SAT) NOT supported in JDOQL and not in Derby
 ENumber<Integer> EDateTimeConst.dayOfYear()
           
 ENumber<Integer> EDateTime.dayOfYear()
          Get a day of year expression (range 1-356) NOT supported in JDOQL and not in Derby
 ENumber<Integer> EDateConst.dayOfYear()
           
 ENumber<Integer> EDate.dayOfYear()
          Get a day of year expression (range 1-356) NOT supported in JDOQL and not in Derby
<N extends Number & Comparable<?>>
ENumber<Double>
ENumber.divide(Expr<N> right)
          Get the result of the operation this / right
<N extends Number & Comparable<?>>
ENumber<Double>
ENumber.divide(N right)
          Get the result of the operation this / right
 ENumber<Double> ENumberConst.doubleValue()
           
 ENumber<Double> ENumber.doubleValue()
          Get the double expression of this numeric expression
 ENumber<Float> ENumberConst.floatValue()
           
 ENumber<Float> ENumber.floatValue()
          Get the float expression of this numeric expression
 ENumber<D> ENumber.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.
 ENumber<Integer> ETimeConst.hour()
           
 ENumber<Integer> ETime.hour()
          Get a hours expression (range 0-23)
 ENumber<Integer> EDateTimeConst.hour()
           
 ENumber<Integer> EDateTime.hour()
          Get a hours expression (range 0-23)
 ENumber<Integer> EString.indexOf(Expr<String> str)
          Get the index of the given substring in this String
 ENumber<Integer> EString.indexOf(Expr<String> str, int i)
          Get the index of the given substring in this String, starting from the given index
 ENumber<Integer> EString.indexOf(String str)
          Get the index of the given substring in this String
 ENumber<Integer> EString.indexOf(String str, int i)
          Get the index of the given substring in this String, starting from the given index
 ENumber<Integer> ENumber.intValue()
          Get the int expression of this numeric expression
 ENumber<Long> EStringConst.length()
           
 ENumber<Long> EString.length()
          Return the length of this String
 ENumber<Long> ENumberConst.longValue()
           
 ENumber<Long> ENumber.longValue()
          Get the long expression of this numeric expression
 ENumber<D> ENumber.max()
          Get the maximum value of this expression (aggregation)
static
<A extends Number & Comparable<?>>
ENumber<A>
ENumber.max(Expr<A> left, Expr<A> right)
          Return the greater of the given values
 ENumber<Integer> ETimeConst.milliSecond()
           
 ENumber<Integer> ETime.milliSecond()
          Get a milliseconds expression (range 0-999) Is always 0 in HQL and JDOQL modules
 ENumber<Integer> EDateTimeConst.milliSecond()
           
 ENumber<Integer> EDateTime.milliSecond()
          Get a milliseconds expression (range 0-999) Is always 0 in HQL and JDOQL modules
 ENumber<D> ENumber.min()
          Get the minimum value of this expression (aggregation)
static
<A extends Number & Comparable<?>>
ENumber<A>
ENumber.min(Expr<A> left, Expr<A> right)
          Return the smaller of the given values
 ENumber<Integer> ETimeConst.minute()
           
 ENumber<Integer> ETime.minute()
          Get a minutes expression (range 0-59)
 ENumber<Integer> EDateTimeConst.minute()
           
 ENumber<Integer> EDateTime.minute()
          Get a minutes expression (range 0-59)
 ENumber<Integer> EDateTimeConst.month()
           
 ENumber<Integer> EDateTime.month()
          Get a month expression (range 1-12)
 ENumber<Integer> EDateConst.month()
           
 ENumber<Integer> EDate.month()
          Get a month expression (range 1-12)
<N extends Number & Comparable<?>>
ENumber<D>
ENumber.multiply(Expr<N> right)
          Get the result of the operation this * right
<N extends Number & Comparable<N>>
ENumber<D>
ENumber.multiply(N right)
          Get the result of the operation this * right
 ENumber<D> ENumber.negate()
          Get the negation of this expression
static ENumber<Double> ENumber.random()
          Returns the random expression
 ENumber<Integer> ENumber.round()
          Returns the closest int to the argument.
 ENumber<Integer> ETimeConst.second()
           
 ENumber<Integer> ETime.second()
          Get a seconds expression (range 0-59)
 ENumber<Integer> EDateTimeConst.second()
           
 ENumber<Integer> EDateTime.second()
          Get a seconds expression (range 0-59)
 ENumber<Short> ENumberConst.shortValue()
           
 ENumber<Short> ENumber.shortValue()
          Get the short expression of this numeric expression
 ENumber<Integer> EMapBase.size()
           
 ENumber<Integer> EMap.size()
          Get the size of the Map instance
 ENumber<Integer> ECollectionBase.size()
           
 ENumber<Integer> ECollection.size()
          Get an expression for this.size()
 ENumber<Integer> EArray.size()
           
 ENumber<Double> ENumber.sqrt()
          Get the square root of this numeric expressions
<N extends Number & Comparable<?>>
ENumber<D>
ENumberConst.subtract(Expr<N> right)
           
<N extends Number & Comparable<?>>
ENumber<D>
ENumber.subtract(Expr<N> right)
          Get the difference of this and right
<N extends Number & Comparable<?>>
ENumber<D>
ENumber.subtract(N right)
          Get the difference of this and right
 ENumber<D> ENumberConst.subtract(Number right)
           
 ENumber<D> ENumber.sum()
          Get the sum of this expression (aggregation)
 ENumber<Integer> EDateTimeConst.week()
           
 ENumber<Integer> EDateTime.week()
          Get a week expression NOT supported in JDOQL and not in Derby
 ENumber<Integer> EDateConst.week()
           
 ENumber<Integer> EDate.week()
          Get a week expression
 ENumber<Integer> EDateTimeConst.year()
           
 ENumber<Integer> EDateTime.year()
          Get a year expression
 ENumber<Integer> EDateConst.year()
           
 ENumber<Integer> EDate.year()
          Get a year expression
 ENumber<Integer> EDateTimeConst.yearMonth()
           
 ENumber<Integer> EDateTime.yearMonth()
          Get a year / month expression
 ENumber<Integer> EDateConst.yearMonth()
           
 ENumber<Integer> EDate.yearMonth()
          Get a year / month expression
 

Uses of ENumber in com.mysema.query.types.operation
 

Subclasses of ENumber in com.mysema.query.types.operation
 class ONumber<OpType extends Number,D extends Number & Comparable<?>>
          ONumber represents numeric operations
 

Fields in com.mysema.query.types.operation declared as ENumber
static ENumber<Long> Ops.AggOps.COUNT_ALL_AGG_EXPR
           
 

Methods in com.mysema.query.types.operation that return ENumber
 ENumber<D> ONumber.asExpr()
           
static
<O extends Number,D extends Number & Comparable<?>>
ENumber<D>
ONumber.create(Class<? extends D> type, Operator<O> op, Expr<?>... args)
          Factory method
 

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

Subclasses of ENumber in com.mysema.query.types.path
 class PNumber<D extends Number & Comparable<?>>
          PNumber represents numeric paths
 

Methods in com.mysema.query.types.path that return ENumber
 ENumber<D> PNumber.asExpr()
           
 ENumber<Integer> PArray.size()
          Create an expression for the array size
 



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