com.mysema.query.sql.mssql
Class RowNumber

java.lang.Object
  extended by com.mysema.query.types.MutableExpressionBase<Long>
      extended by com.mysema.query.sql.mssql.RowNumber
All Implemented Interfaces:
Expression<Long>, Serializable

public class RowNumber
extends MutableExpressionBase<Long>

RowNumber supports row_number constructs for MS SQL Server

RowNumber 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
RowNumber()
           
 
Method Summary
<R,C> R
accept(Visitor<R,C> v, C context)
          Accept the visitor with the given context
 RowNumber as(Expression<Long> target)
           
 boolean equals(Object o)
           
 NumberExpression<Long> getValue()
           
 RowNumber orderBy(ComparableExpression<?>... order)
           
 RowNumber orderBy(OrderSpecifier<?>... order)
           
 RowNumber partitionBy(Expression<?>... exprs)
           
 
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

RowNumber

public RowNumber()
Method Detail

getValue

public NumberExpression<Long> 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:

orderBy

public RowNumber orderBy(OrderSpecifier<?>... order)

orderBy

public RowNumber orderBy(ComparableExpression<?>... order)

partitionBy

public RowNumber partitionBy(Expression<?>... exprs)

as

public RowNumber as(Expression<Long> target)

equals

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


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