com.mysema.query.sql.mssql
Enum SQLServerTableHints

java.lang.Object
  extended by java.lang.Enum<SQLServerTableHints>
      extended by com.mysema.query.sql.mssql.SQLServerTableHints
All Implemented Interfaces:
Serializable, Comparable<SQLServerTableHints>

public enum SQLServerTableHints
extends Enum<SQLServerTableHints>

Author:
tiwe

Enum Constant Summary
FASTFIRSTROW
           
FORCESEEK
           
HOLDLOCK
           
NOEXPAND
           
NOLOCK
           
NOWAIT
           
PAGLOCK
           
READCOMMITTED
           
READCOMMITTEDLOCK
           
READPAST
           
READUNCOMMITTED
           
REPEATABLEREAD
           
ROWLOCK
           
SERIALIZABLE
           
TABLOCK
           
TABLOCKX
           
UPDLOCK
           
XLOCK
           
 
Method Summary
static SQLServerTableHints valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SQLServerTableHints[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOEXPAND

public static final SQLServerTableHints NOEXPAND

FASTFIRSTROW

public static final SQLServerTableHints FASTFIRSTROW

FORCESEEK

public static final SQLServerTableHints FORCESEEK

HOLDLOCK

public static final SQLServerTableHints HOLDLOCK

NOLOCK

public static final SQLServerTableHints NOLOCK

NOWAIT

public static final SQLServerTableHints NOWAIT

PAGLOCK

public static final SQLServerTableHints PAGLOCK

READCOMMITTED

public static final SQLServerTableHints READCOMMITTED

READCOMMITTEDLOCK

public static final SQLServerTableHints READCOMMITTEDLOCK

READPAST

public static final SQLServerTableHints READPAST

READUNCOMMITTED

public static final SQLServerTableHints READUNCOMMITTED

REPEATABLEREAD

public static final SQLServerTableHints REPEATABLEREAD

ROWLOCK

public static final SQLServerTableHints ROWLOCK

SERIALIZABLE

public static final SQLServerTableHints SERIALIZABLE

TABLOCK

public static final SQLServerTableHints TABLOCK

TABLOCKX

public static final SQLServerTableHints TABLOCKX

UPDLOCK

public static final SQLServerTableHints UPDLOCK

XLOCK

public static final SQLServerTableHints XLOCK
Method Detail

values

public static SQLServerTableHints[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SQLServerTableHints c : SQLServerTableHints.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SQLServerTableHints valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


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