com.mysema.query.sql.mssql
Class RowNumber

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

public class RowNumber
extends SimpleExpression<Long>

RowNumber supports row_number constructs for MS SQL Server

Author:
tiwe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.expr.SimpleExpression
primitive
 
Fields inherited from class com.mysema.query.types.ExpressionBase
type
 
Constructor Summary
RowNumber()
           
 
Method Summary
<R,C> R
accept(Visitor<R,C> v, C context)
          Accept the visitor with the given context
 RowNumber as(NumberPath<Long> target)
           
 boolean equals(Object o)
           
 int hashCode()
           
 RowNumber orderBy(ComparableExpression<?>... order)
           
 RowNumber orderBy(OrderSpecifier<?>... order)
           
 RowNumber partitionBy(Expression<?>... exprs)
           
 
Methods inherited from class com.mysema.query.types.expr.SimpleExpression
as, as, count, countDistinct, eq, eq, in, in, in, isNotNull, isNull, ne, ne, notIn, notIn, notIn, when, when
 
Methods inherited from class com.mysema.query.types.ExpressionBase
getType, 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

Returns:

orderBy

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

orderBy

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

partitionBy

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

as

public RowNumber as(NumberPath<Long> target)

hashCode

public int hashCode()
Overrides:
hashCode in class SimpleExpression<Long>

equals

public boolean equals(Object o)
Specified by:
equals in class SimpleExpression<Long>


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