com.mysema.query.sql.oracle
Class SumOver<A extends Number & Comparable<? super A>>

java.lang.Object
  extended by com.mysema.query.types.expr.Expr<D>
      extended by com.mysema.query.types.expr.EComparableBase<D>
          extended by com.mysema.query.types.expr.ENumber<A>
              extended by com.mysema.query.sql.oracle.SumOver<A>
All Implemented Interfaces:
Serializable

public class SumOver<A extends Number & Comparable<? super A>>
extends ENumber<A>

SumOver is a fluent type for Oracle specific sum over / partition by / order by constructs

Version:
$Id$
Author:
tiwe
See Also:
Serialized Form

Constructor Summary
SumOver(Expr<A> expr)
           
 
Method Summary
 void accept(Visitor v)
           
 List<Expr<?>> getOrderBy()
           
 Expr<?> getPartitionBy()
           
 Expr<A> getTarget()
           
 SumOver<A> order(Expr<?>... orderBy)
           
 SumOver<A> partition(Expr<?> partitionBy)
           
 
Methods inherited from class com.mysema.query.types.expr.ENumber
abs, add, add, avg, between, between, byteValue, castToNum, ceil, divide, divide, doubleValue, floatValue, floor, goe, goe, gt, gt, intValue, loe, loe, longValue, lt, lt, max, max, min, min, multiply, multiply, negate, notBetween, notBetween, random, round, shortValue, sqrt, subtract, subtract, sum
 
Methods inherited from class com.mysema.query.types.expr.EComparableBase
asc, desc, stringValue
 
Methods inherited from class com.mysema.query.types.expr.Expr
count, countAll, countDistinct, eq, eq, getType, hashCode, in, in, in, ne, ne, notIn, notIn, notIn, toString, when, when
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SumOver

public SumOver(Expr<A> expr)
Method Detail

partition

public SumOver<A> partition(Expr<?> partitionBy)

order

public SumOver<A> order(Expr<?>... orderBy)

getTarget

public Expr<A> getTarget()

getPartitionBy

public Expr<?> getPartitionBy()

getOrderBy

public List<Expr<?>> getOrderBy()

accept

public void accept(Visitor v)
Specified by:
accept in class Expr<A extends Number & Comparable<? super A>>


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