com.mysema.query.sql.mssql
Class RowNumber

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

public class RowNumber
extends Object
implements Expression<Long>

RowNumber supports row_number constructs for MS SQL Server

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)
           
 Class<? extends Long> getType()
          Get the java type for this expression
 int hashCode()
           
 RowNumber orderBy(ComparableExpression<?>... order)
           
 RowNumber orderBy(OrderSpecifier<?>... order)
           
 RowNumber partitionBy(Expression<?>... exprs)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowNumber

public RowNumber()
Method Detail

accept

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

Specified by:
accept in interface Expression<Long>
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)

getType

public Class<? extends Long> getType()
Description copied from interface: Expression
Get the java type for this expression

Specified by:
getType in interface Expression<Long>
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


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