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

java.lang.Object
  extended by com.mysema.query.types.MutableExpressionBase<A>
      extended by com.mysema.query.sql.oracle.SumOver<A>
All Implemented Interfaces:
Expression<A>, Serializable

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

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

SumOver doesn't provide the full interface for number expressions. To get an immutable copy with the full expressiveness of Number expressions, call getValue().

Author:
tiwe
See Also:
Serialized Form

Constructor Summary
SumOver(Expression<A> expr)
           
 
Method Summary
<R,C> R
accept(Visitor<R,C> v, C context)
          Accept the visitor with the given context
 boolean equals(Object o)
           
 NumberExpression<A> getValue()
           
 SumOver<A> orderBy(Expression<?>... orderBy)
           
 SumOver<A> partition(Expression<?> partitionBy)
           
 
Methods inherited from class com.mysema.query.types.MutableExpressionBase
getType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SumOver

public SumOver(Expression<A> expr)
Method Detail

getValue

public NumberExpression<A> getValue()

accept

public <R,C> R accept(Visitor<R,C> v,
                      C context)
Description copied from interface: Expression
Accept the visitor with the given context

Type Parameters:
R - return type
C - context type
Parameters:
v - visitor
context - context of visit
Returns:

equals

public boolean equals(Object o)
Overrides:
equals in class Object

orderBy

public SumOver<A> orderBy(Expression<?>... orderBy)

partition

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


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